[ 
https://issues.apache.org/jira/browse/HIVE-23140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17076783#comment-17076783
 ] 

Rajesh Balamohan commented on HIVE-23140:
-----------------------------------------

"Insert overwrite/into" follows 
https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java#L1506.
 Yes tried out the "CTAS and insert into/overwrite" cases and it works fine; 
When the same file name is present, it creates "000000_0_copy_1" correctly.

> Optimise file move in CTAS 
> ---------------------------
>
>                 Key: HIVE-23140
>                 URL: https://issues.apache.org/jira/browse/HIVE-23140
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>            Reporter: Rajesh Balamohan
>            Assignee: Rajesh Balamohan
>            Priority: Minor
>         Attachments: HIVE-23140.1.patch
>
>
> FileSinkOperator can be optimized to run file move operation (/_tmp.-ext --> 
> /-ext-) in parallel fashion. Currently it invokes 
> {{Utilities.moveSpecifiedFileStatus}} and renames in sequential mode causing 
> delays in cloud storage. FS rename can be used (S3A internally has parallel 
> rename operation). 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to