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

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

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


##########
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:
   MetaStoreUtils.isNonNativeTable() uses Table object as argument and I needed 
a util method with Properties of table since Table object is created at a later 
stage and properties are available before table creation in CTAS.
   





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

    Worklog Id:     (was: 769079)
    Time Spent: 40m  (was: 0.5h)

> 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: 40m
>  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