You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Chaoyu Tang (JIRA)" <ji...@apache.org> on 2015/09/25 19:53:04 UTC
[jira] [Created] (HIVE-11964) RelOptHiveTable.hiveColStatsMap might
contain mismatched column stats
Chaoyu Tang created HIVE-11964:
----------------------------------
Summary: RelOptHiveTable.hiveColStatsMap might contain mismatched column stats
Key: HIVE-11964
URL: https://issues.apache.org/jira/browse/HIVE-11964
Project: Hive
Issue Type: Bug
Components: Query Planning, Statistics
Affects Versions: 1.2.1
Reporter: Chaoyu Tang
Assignee: Chaoyu Tang
RelOptHiveTable.hiveColStatsMap might contain mismatched stats since it was built by assuming the stats returned from
==
hiveColStats =StatsUtils.getTableColumnStats(hiveTblMetadata, hiveNonPartitionCols, nonPartColNamesThatRqrStats);
or
HiveMetaStoreClient.getTableColumnStatistics(dbName, tableName, colNames)
==
have the same order of the requested columns. But actually the order is non-deterministic. therefore the returned stats should be re-ordered before it is put in hiveColStatsMap.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)