[
https://issues.apache.org/jira/browse/HIVE-25276?focusedWorklogId=614973&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-614973
]
ASF GitHub Bot logged work on HIVE-25276:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Jun/21 12:52
Start Date: 25/Jun/21 12:52
Worklog Time Spent: 10m
Work Description: marton-bod commented on a change in pull request #2419:
URL: https://github.com/apache/hive/pull/2419#discussion_r658739899
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/parse/ColumnStatsAutoGatherContext.java
##########
@@ -71,13 +71,21 @@
private Context origCtx;
public ColumnStatsAutoGatherContext(SemanticAnalyzer sa, HiveConf conf,
- Operator<? extends OperatorDesc> op, Table tbl, Map<String, String>
partSpec,
+ Operator<? extends OperatorDesc> op, Table origTbl, Map<String, String>
partSpec,
boolean isInsertInto, Context ctx) throws SemanticException {
super();
this.sa = sa;
this.conf = conf;
this.op = op;
- this.tbl = tbl;
+ try {
+ this.tbl = origTbl.copy();
+ } catch (HiveException he) {
+ throw new SemanticException(he);
+ }
+ if (tbl.getStorageHandler().alwaysUnpartitioned()) {
Review comment:
Can the storage handler be null?
--
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 614973)
Time Spent: 1h 10m (was: 1h)
> 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: 1h 10m
> Remaining Estimate: 0h
>
> During inserts we should have calculate the column statistics
--
This message was sent by Atlassian Jira
(v8.3.4#803005)