Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Hive 3 will introduce a switch (HIVE-18294) to create eligible tables as ACID by default. This will probably result in increased usage of ACID tables and the need to support importing into ACID tables with Sqoop.
Currently the only table format supporting full ACID tables is ORC.
The easiest and most effective way to support importing into these tables would be to write out files as ORC and keep using LOAD DATA as we do for all other Hive tables (supported since HIVE-17361).
Workaround could be to create table as textfile (as before) and then CTAS from that. This would push the responsibility of creating ORC format to Hive. However it would result in writing every record twice; in text format and in ORC.
Note that ORC is only necessary for full ACID tables. Insert-only (aka. micromanaged) ACID tables can use arbitrary file format.
Supporting full ACID tables would also be the first step in making "lastmodified" incremental imports work with Hive.
Attachments
Issue Links
- blocks
-
SQOOP-3305 Upgrade to Hadoop 3, Hive 3, and HBase 2
- Patch Available
- is duplicated by
-
SQOOP-2878 Sqoop import into Hive transactional tables
- Resolved
- links to