veghlaci05 commented on code in PR #4626:
URL: https://github.com/apache/hive/pull/4626#discussion_r1307081468
##########
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:
##########
@@ -12488,8 +12489,9 @@ private void walkASTMarkTABREF(TableMask tableMask,
ASTNode ast, Set<String> cte
if (needRewritePrivObjs != null && !needRewritePrivObjs.isEmpty()) {
for (HivePrivilegeObject privObj : needRewritePrivObjs) {
MaskAndFilterInfo info = basicInfos.get(privObj);
- // First we check whether entity actually needs masking or filtering
- if (tableMask.needsMaskingOrFiltering(privObj)) {
+ // First we check whether entity actually needs masking or filtering.
Query based Compaction related queries are
Review Comment:
Sorry, I don't get your point. The new session variable is added in
QueryCompactor (in Worker), and this code also executes for every query. So
regardless how the compaction was initiated the session variable will be there,
and this code block will execute.
Could you please explain it a bit more?
--
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]