[ 
https://issues.apache.org/jira/browse/HIVE-26217?focusedWorklogId=769070&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-769070
 ]

ASF GitHub Bot logged work on HIVE-26217:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/May/22 13:41
            Start Date: 11/May/22 13:41
    Worklog Time Spent: 10m 
      Work Description: deniskuzZ commented on code in PR #3281:
URL: https://github.com/apache/hive/pull/3281#discussion_r870317389


##########
ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java:
##########
@@ -2876,6 +2876,12 @@ private static boolean isLockableTable(Table t) {
     }
   }
 
+  public static boolean isNonNativeTable(Map<String, String> tblProps) {

Review Comment:
   same function is already available: MetaStoreUtils.isNonNativeTable(), can't 
we use it? 





Issue Time Tracking
-------------------

    Worklog Id:     (was: 769070)
    Time Spent: 20m  (was: 10m)

> Make CTAS use Direct Insert Semantics
> -------------------------------------
>
>                 Key: HIVE-26217
>                 URL: https://issues.apache.org/jira/browse/HIVE-26217
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Sourabh Badhya
>            Assignee: Sourabh Badhya
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> CTAS currently does a copy from staging location to table location. This can 
> be avoided by using Direct Insert semantics. However the table location must 
> be suffixed with the transaction identifier so that if the data is not 
> committed then this location will not be used by other tables.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to