[
https://issues.apache.org/jira/browse/HIVE-18528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vaibhav Gumashta reassigned HIVE-18528:
---------------------------------------
Assignee: Vaibhav Gumashta
> Stats: In the bitvector codepath, when extrapolating column stats for String
> type columnStringColumnStatsAggregator uses the min value instead of max
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-18528
> URL: https://issues.apache.org/jira/browse/HIVE-18528
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 3.0.0
> Reporter: Vaibhav Gumashta
> Assignee: Vaibhav Gumashta
> Priority: Major
>
> This line:
> [https://github.com/apache/hive/blob/456a65180dcb84f69f26b4c9b9265165ad16dfe4/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/columnstats/aggr/StringColumnStatsAggregator.java#L181]
> Should be:
> aggregateData.setAvgColLen(Math.max(aggregateData.getAvgColLen(),
> newData.getAvgColLen()));
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)