Member since
07-02-2019
1
Post
0
Kudos Received
0
Solutions
07-02-2019
04:51 PM
I imported Oracle table using Hcatalog to import as ORC with below Syntax. In every run it appends data instead of overwrite. Is this any options to avoid this append ? sqoop import \ --connect "jdbc:oracle:thin:@${ORACLE_TNS_STRING}" \ --username $USER \ --password $PASSWD \ --table tab1 \ --hcatalog-database hive_db \ --hcatalog-table hive_table \ --hcatalog-storage-stanza "stored as orc tblproperties ("orc.compress"="SNAPPY")" \ --m 1
... View more
Labels:
- Labels:
-
Apache Sqoop