Eugene Koifman created HIVE-20654:
-------------------------------------

             Summary: remove masking of "Masked writeid"
                 Key: HIVE-20654
                 URL: https://issues.apache.org/jira/browse/HIVE-20654
             Project: Hive
          Issue Type: Improvement
          Components: Test, Transactions
    Affects Versions: 3.0.0
            Reporter: Eugene Koifman


{{QOutProcessor}} has
{noformat}
    ppm.add(new 
PatternReplacementPair(Pattern.compile("\\{\"writeid\":[1-9][0-9]*,\"bucketid\":"),
        "{\"writeid\":### Masked writeid ###,\"bucketid\":"));
{noformat}

which causes something like 
{noformat}
{"writeid":### Masked writeid ###,"bucketid":536870912,"rowid":0}       2
{"writeid":### Masked writeid ###,"bucketid":536870912,"rowid":1}       3
{noformat}

in the {{*.q.out}} file.  For example, {{acid_meta_columns_decode.q}}

This was needed when the {{ROW__ID}} contained global transaction ID which
changed depending on which tests were ran previously.  Since 3.0, {{ROW__ID}} 
uses per table writeId which is stable and is safe to put in the .out file



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

Reply via email to