You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2018/11/01 20:50:00 UTC

[jira] [Created] (HIVE-20856) ValidReaderWriteIdList() is not valid in most places

Eugene Koifman created HIVE-20856:
-------------------------------------

             Summary: ValidReaderWriteIdList() is not valid in most places
                 Key: HIVE-20856
                 URL: https://issues.apache.org/jira/browse/HIVE-20856
             Project: Hive
          Issue Type: Bug
          Components: Transactions
    Affects Versions: 3.0.0
            Reporter: Eugene Koifman


Most of the time it's something like this:
{code:java}
String txnString = conf.get(ValidWriteIdList.VALID_WRITEIDS_KEY);
this.validWriteIdList = (txnString == null) ? 
       new ValidReaderWriteIdList() : new ValidReaderWriteIdList(txnString);
{code}

but ValidReaderWriteIdList() (no arg c'tor) creates a write ID list that considers every base/delta valid - this unlikely to be the correct for a general read of acid data.



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