zabetak commented on a change in pull request #2735:
URL: https://github.com/apache/hive/pull/2735#discussion_r734852845
##########
File path:
itests/util/src/main/java/org/apache/hadoop/hive/ql/QOutProcessor.java
##########
@@ -370,15 +372,16 @@ public void addPatternWithMaskComment(String patternStr,
String maskComment) {
patternsWithMaskComments.add(toPatternPair(patternStr, maskComment));
}
- public void initMasks(File qf, String query) {
+ public void initMasks(String query) {
+ queryMasks.clear();
if (matches(PATTERN_MASK_STATS, query)) {
- qMaskStatsQuerySet.add(qf.getName());
+ queryMasks.add(Mask.STATS);
Review comment:
Good idea. I adopted your proposal. Check:
https://github.com/apache/hive/pull/2735/commits/2bfa4dd9dd6ecb363bd4c90744eaa17c3cdd8778
and
https://github.com/apache/hive/pull/2735/commits/049bfe978bb71a0010c18708f146d291d90da862
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]