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

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

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


##########
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java:
##########
@@ -347,7 +347,13 @@ public static boolean isNonNativeTable(Table table) {
     if (table == null || table.getParameters() == null) {
       return false;
     }
-    return 
(table.getParameters().get(hive_metastoreConstants.META_TABLE_STORAGE) != null);
+    return isNonNativeTable(table.getParameters());
+  }
+
+  public static boolean isNonNativeTable(Map<String, String> tblProps) {
+    return tblProps.get(
+            
org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.META_TABLE_STORAGE)
+            != null;

Review Comment:
   I have missed that.
   Sorry.





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

    Worklog Id:     (was: 775049)
    Time Spent: 6h 40m  (was: 6.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: 6h 40m
>  Remaining Estimate: 0h
>
> CTAS on transactional tables currently does a copy from staging location to 
> table location. This can be avoided by using Direct Insert semantics. Added 
> support for suffixed table locations as well.



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

Reply via email to