abstractdog commented on code in PR #4626:
URL: https://github.com/apache/hive/pull/4626#discussion_r1308366682
##########
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/QueryCompactor.java:
##########
@@ -97,6 +97,7 @@ void runCompactionQueries(HiveConf conf, String tmpTableName,
StorageDescriptor
Util.overrideConfProps(conf, compactionInfo, tblProperties);
String user = compactionInfo.runAs;
SessionState sessionState = DriverUtils.setUpSessionState(conf, user,
true);
+ sessionState.setCompactionSession(true);
Review Comment:
okay, I think as the second occurrence (so the one after the compaction) of
the query below:
```
select * from masking_test_n_compact;
```
returns the masked result in the qtest, the proper behavior is kind of
confirmed
so it's fine I think, are you fine with this @kasakrisz ?
--
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]