Sqoop import as OrC file

前端 未结 4 2046
野趣味
野趣味 2021-01-19 01:01

Is there any option in sqoop to import data from RDMS and store it as ORC file format in HDFS?

Alternatives tried: imported as text format and used a temp table to r

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-19 01:30

    In current version of sqoop available, it is not possible to import data from RDBS to HDFS in ORC format in a single shoot command. This is something known issue in sqoop. Reference link for this issue raised: https://issues.apache.org/jira/browse/SQOOP-2192

    I think the only alternative available for now, is the same as you mentioned. I also came across the similar use case, and have used the alternative two step approach.

提交回复
热议问题