SourabhBadhya commented on code in PR #4748:
URL: https://github.com/apache/hive/pull/4748#discussion_r1350428195
##########
ql/src/java/org/apache/hadoop/hive/ql/parse/UpdateDeleteSemanticAnalyzer.java:
##########
@@ -271,6 +280,9 @@ private void reparseAndSuperAnalyze(ASTNode tree, Table
mTable, ASTNode tabNameN
rewrittenCtx.setEnableUnparse(false);
analyzeRewrittenTree(rewrittenTree, rewrittenCtx);
+ // Check if metadata delete is possible and convert the tasks to metadata
delete.
+ checkAndPerformStorageMetadataUpdate(mTable, storageHandler);
Review Comment:
This cant be done before rewrite since optimizer is not invoked if we dont
rewrite the query. If optimizer is not invoked then the filter is not generated.
--
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]