Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.4.7
-
None
-
None
Description
Performing an incremental import on an existing table in Hive will corrupt that table if the import is performed with a different file format (for example textfile) than existing files in the table (for example parquet). Rather than corrupting the table, sqoop could check the file format and throw an error if the formats aren't the same.
This happens when you manually provide flags
--incremental append --check-column [somecolumn] --last-value [somevalue]