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)

Reply via email to