hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11964) RelOptHiveTable.hiveColStatsMap might contain mismatched column stats
Date Fri, 25 Sep 2015 20:16:04 GMT

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

Chaoyu Tang commented on HIVE-11964:
------------------------------------

Hi [~jpullokkaran] Thanks for reviewing the code. I answered your questions on RB. Please
take a look and let me know if those make sense.

> 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)

Mime
View raw message