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

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

                Author: ASF GitHub Bot
            Created on: 18/May/21 15:16
            Start Date: 18/May/21 15:16
    Worklog Time Spent: 10m 
      Work Description: marton-bod commented on a change in pull request #2243:
URL: https://github.com/apache/hive/pull/2243#discussion_r634486478



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/parse/TaskCompiler.java
##########
@@ -134,6 +135,16 @@ public void compile(final ParseContext pCtx,
     boolean isCStats = pCtx.getQueryProperties().isAnalyzeRewrite();
     int outerQueryLimit = pCtx.getQueryProperties().getOuterQueryLimit();
 
+    boolean directInsertCtas = false;
+    if (pCtx.getCreateTable() != null && 
pCtx.getCreateTable().getStorageHandler() != null) {
+      try {
+        directInsertCtas =
+            HiveUtils.getStorageHandler(conf, 
pCtx.getCreateTable().getStorageHandler()).directInsertCTAS();
+      } catch (HiveException e) {

Review comment:
       We get it in case of a `ClassNotFoundException` is thrown inside 
`HiveUtils.getStorageHandler`. That would happen if the storage handler class 
is not available on the classpath




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

    Worklog Id:     (was: 598630)
    Time Spent: 2h 50m  (was: 2h 40m)

> Implement CTAS for Iceberg
> --------------------------
>
>                 Key: HIVE-25034
>                 URL: https://issues.apache.org/jira/browse/HIVE-25034
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Marton Bod
>            Assignee: Marton Bod
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>




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

Reply via email to