Sqoop import as OrC file

前端 未结 4 2048
野趣味
野趣味 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:27

    Sqoop import supports only below formats.

    --as-avrodatafile   Imports data to Avro Data Files
    
    --as-sequencefile   Imports data to SequenceFiles
    
    --as-textfile   Imports data as plain text (default)
    
    --as-parquetfile    Imports data as parquet file (from sqoop 1.4.6 version)
    

提交回复
热议问题