[ https://issues.apache.org/jira/browse/HIVE-18751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16409278#comment-16409278 ]
Sankar Hariappan commented on HIVE-18751: ----------------------------------------- [~ekoifman], In fact, the test *TestAcidOnTez.testGetSplitsLocks* covers this get_splits UDF case and ensures the config is set properly else it throw IOException. But, this test case is still failing with NPE due to some other bug which is there for long time. > ACID table scan through get_splits UDF doesn't receive ValidWriteIdList > configuration. > -------------------------------------------------------------------------------------- > > Key: HIVE-18751 > URL: https://issues.apache.org/jira/browse/HIVE-18751 > Project: Hive > Issue Type: Sub-task > Components: Transactions > Affects Versions: 3.0.0 > Reporter: Sankar Hariappan > Assignee: Sankar Hariappan > Priority: Major > Labels: ACID, UDF, pull-request-available > Fix For: 3.0.0 > > Attachments: HIVE-18751.01.patch > > > Per table write ID (HIVE-18192) have replaced global transaction ID with > write ID to version data files in ACID/MM tables, > To ensure snapshot isolation, need to generate ValidWriteIdList for the given > txn/table and use it when scan the ACID/MM tables. > In case of get_splits UDF which runs on ACID table scan query won't receive > it properly through configuration (hive.txn.tables.valid.writeids) and hence > throws exception. > TestAcidOnTez.testGetSplitsLocks is the test failing for the same. Need to > fix it. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)