[
https://issues.apache.org/jira/browse/HIVE-19975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16526615#comment-16526615
]
Steve Yeom commented on HIVE-19975:
-----------------------------------
[~sershe] I think a quick verification may be that
with your check please run stats_part.q. It will show whether it works or not.
But my code changes are based on debugger sessions so it should work (I mean
multiple inserts).
Also if a method like get_partitions_statistics_req does not propagate txnId
and write id list then either of the two:
1. it is not used by StatsOptimizer in case SELECT.
2. it is not used in the execution patch for a SELECT.
> Checking writeIdList per table may not check the commit level of a partition
> on a partitioned table
> ---------------------------------------------------------------------------------------------------
>
> Key: HIVE-19975
> URL: https://issues.apache.org/jira/browse/HIVE-19975
> Project: Hive
> Issue Type: Sub-task
> Components: Transactions
> Affects Versions: 4.0.0
> Reporter: Steve Yeom
> Assignee: Sergey Shelukhin
> Priority: Major
> Fix For: 4.0.0
>
>
> writeIdList is per table entity but stats for a partitioned table are per
> partition.
> I.e., each record in PARTITIONS has an independent stats.
> So if we check the validity of a partition's stats, we need to check in the
> context of
> a partiton.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)