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

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

                Author: ASF GitHub Bot
            Created on: 18/May/21 14:23
            Start Date: 18/May/21 14:23
    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_r634434118



##########
File path: 
iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveIcebergStorageHandlerWithEngine.java
##########
@@ -514,6 +519,75 @@ public void testInsertOverwritePartitionedTable() throws 
IOException {
     HiveIcebergTestUtils.validateData(table, expected, 0);
   }
 
+  @Test
+  public void testCTASFromHiveTable() {
+    Assume.assumeTrue("CTAS target table is supported only for HiveCatalog 
tables",
+        testTableType == TestTables.TestTableType.HIVE_CATALOG);

Review comment:
       Nothing in principle, we could use CTAS with other catalogs as well. For 
some reason it was more difficult to create the table from the serDe for other 
catalogs because some properties like location/warehouseLocation were missing. 
And I also thought that we wouldn't really want to create tables outside of the 
HiveCatalog anyway. But I can take another look for sure. 




-- 
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: 598599)
    Time Spent: 2h  (was: 1h 50m)

> 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
>  Remaining Estimate: 0h
>




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

Reply via email to