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

Steve Yeom commented on HIVE-19916:
-----------------------------------

I think I did not clearly mentioned. Sorry Sergey. 

The current or original patch gets conf version writeId list. 
In other words, it uses already taken global transaction snspshot before 
starting query optimization and get writeIdList based 
on the transaction snapshot like the case of MV and cache result invalidation. 
The same way!

If needed, I can provide more details.

Thank you Sergey for your great help!


> master-txnstats branch - integrate with HIVE-19382
> --------------------------------------------------
>
>                 Key: HIVE-19916
>                 URL: https://issues.apache.org/jira/browse/HIVE-19916
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Sergey Shelukhin
>            Assignee: Steve Yeom
>            Priority: Major
>
> There's some code in original txn stats patch that may go to metastore to get 
> write Ids. This code should not go to metastore, it should fail instead. 
> HIVE-19382 should ensure that we have correct IDs already present during 
> optimizer - they are using by e.g. materialized view optimizer, so they 
> should be there; if they are not present, some integration might be needed so 
> that txn stats optimizations also have access to those write Ids.
> cc [~jcamachorodriguez]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to