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

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

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



##########
File path: 
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergSerDe.java
##########
@@ -151,7 +152,23 @@ public void initialize(@Nullable Configuration 
configuration, Properties serDePr
   private void createTableForCTAS(Configuration configuration, Properties 
serDeProperties) {
     serDeProperties.setProperty(TableProperties.ENGINE_HIVE_ENABLED, "true");
     serDeProperties.setProperty(InputFormatConfig.TABLE_SCHEMA, 
SchemaParser.toJson(tableSchema));
+
+    // build partition spec, if any
+    if (serDeProperties.getProperty(serdeConstants.LIST_PARTITION_COLUMNS) != 
null) {
+      String[] partCols = 
serDeProperties.getProperty(serdeConstants.LIST_PARTITION_COLUMNS).split(",");

Review comment:
       That's a good question. Elsewhere in the code when parsing the list of 
columns from the props, they do the same thing and simply split the list by `,` 
 - but I guess that's no guarantee by itself. I'll try to find out what 
restrictions there are for column naming.




-- 
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: 602872)
    Time Spent: 3h 20m  (was: 3h 10m)

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




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

Reply via email to