[ 
https://issues.apache.org/jira/browse/HIVE-11964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14908520#comment-14908520
 ] 

Laljo John Pullokkaran commented on HIVE-11964:
-----------------------------------------------

[~ctang.ma] Please see the comments on RB

> 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
>         Attachments: HIVE-11964.patch
>
>
> 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