HIVE-29397: Apply masking to TestBeeLineDriver qtest goldens when overwrite enabled#6609
Conversation
…rwrite enabled Mask output before overwriteResults in CoreBeeLineDriver, matching QTestUtil.checkCliDriverResults().
|
That ticket seems already assigned to @thomasrebele We shouldn't be picking up tickets like that, unless we confirm the assignee isn't planning to work on it |
Hi @ayushtkn thanks for flagging this. Yesterday I was checking with @thomasrebele for the open Hive Jira's to be worked on, he suggested HIVE-29397(along with a few others) as a good candidate for me to try. Happy to double-check with him or adjust if needed. Thanks! |
|
If you have confirmed with him, that fair enough |
|
|
I confirm that I have no current plans to work on HIVE-29397. I thought that I'll look into it when I had created the ticket, but then I got busy with other tickets. Sorry for the inconvenience. Thank you, @cyanzheng2926, for picking it up! |



What changes were proposed in this pull request?
Moved
qOutProcessor.maskPatterns()underCoreBeeLineDriver.runTest()outside of theif (!overwrite)path so it runsbefore both the compare and overwrite paths, matching
QTestUtil.checkCliDriverResults().Why are the changes needed?
Previously masking only run when
test.output.overwrite=false. With-Dtest.output.overwrite=true, unmasked output was generated to.q.out, causing normal test runs to fail after masking was applied.Does this PR introduce any user-facing change?
No.
How was this patch tested?
Reproduced and tested as in the Jira description for HIVE-29397 with
desc_table_formatted.q: