Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0
Description
Judging by
Hive.loadTable(Path loadPath, String tableName, LoadFileType loadFileType, boolean isSrcLocal, boolean isSkewedStoreAsSubdir, boolean isAcid, boolean hasFollowingStatsTask, Long txnId, int stmtId, boolean isMmTable)
LOAD DATA with OVERWRITE will delete all existing data then write new data into the table. This logic makes sense for non-acid tables but for Acid/MM it should work like INSERT OVERWRITE statement and write new data to base_n/. This way the lock manager can be used to either get an X lock for IOW and thus block all readers or let it run with SemiShared and let readers continue and make the system more concurrent.
Attachments
Attachments
Issue Links
- is related to
-
HIVE-17856 MM tables - IOW is not ACID compliant
- Closed
-
HIVE-17361 Support LOAD DATA for transactional tables
- Closed
- links to