Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
Presently for CTAS with external tables, there are two renames, operations, one from tmp to _ext and then from _ext to actual target.
In case of object stores, the renames lead to actual copy. Avoid renaming by avoiding rename from tmp to _ext, but by creating a list of files to be copied in that directly, which can be consumed in the move task, to copy directly from tmp to actual target.
Attachments
Issue Links
- causes
-
HIVE-26382 Stats generation fails during CTAS for external partitioned table.
- Resolved
-
HIVE-27536 Merge task must be invoked after optimisation for external CTAS queries
- Closed
- links to