deniskuzZ commented on code in PR #5216:
URL: https://github.com/apache/hive/pull/5216#discussion_r1614712409
##########
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:
##########
@@ -13130,6 +13083,9 @@ void analyzeInternal(ASTNode ast,
Supplier<PlannerContext> pcf) throws SemanticE
if (!genResolvedParseTree(ast, plannerCtx)) {
return;
}
+ if
(tablesFromReadEntities(inputs).stream().anyMatch(AcidUtils::isTransactionalTable))
{
Review Comment:
was needed for `select count(*)` queries:
````
stats_part2.q,acid_no_buckets.q,acid_stats3.q,acid_stats4.q
````
--
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]