[ https://issues.apache.org/jira/browse/HIVE-25276?focusedWorklogId=615147&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-615147 ]
ASF GitHub Bot logged work on HIVE-25276: ----------------------------------------- Author: ASF GitHub Bot Created on: 25/Jun/21 18:52 Start Date: 25/Jun/21 18:52 Worklog Time Spent: 10m Work Description: pvary commented on a change in pull request #2419: URL: https://github.com/apache/hive/pull/2419#discussion_r658972546 ########## File path: ql/src/java/org/apache/hadoop/hive/ql/ddl/table/create/CreateTableDesc.java ########## @@ -804,9 +801,18 @@ public Table toTable(HiveConf conf) throws HiveException { } } - if (getCols() != null) { - tbl.setFields(getCols()); + Optional<List<FieldSchema>> cols = Optional.of(getCols()); + Optional<List<FieldSchema>> partCols = Optional.of(getPartCols()); + + if (storageHandler !=null && storageHandler.alwaysUnpartitioned()) { Review comment: Done -- 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. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 615147) Time Spent: 2.5h (was: 2h 20m) > Enable automatic statistics generation for Iceberg tables > --------------------------------------------------------- > > Key: HIVE-25276 > URL: https://issues.apache.org/jira/browse/HIVE-25276 > Project: Hive > Issue Type: Improvement > Reporter: Peter Vary > Assignee: Peter Vary > Priority: Major > Labels: pull-request-available > Time Spent: 2.5h > Remaining Estimate: 0h > > During inserts we should have calculate the column statistics -- This message was sent by Atlassian Jira (v8.3.4#803005)