Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-20654

remove masking of "Masked writeid"

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: Test, Transactions
    • Labels:
      None
    • Target Version/s:

      Description

      QOutProcessor has

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

      which causes something like

      {"writeid":### Masked writeid ###,"bucketid":536870912,"rowid":0}	2
      {"writeid":### Masked writeid ###,"bucketid":536870912,"rowid":1}	3
      

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ekoifman Eugene Koifman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: