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

remove masking of "Masked writeid"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • Test, Transactions
    • None

    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

              Unassigned Unassigned
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: