walterddr commented on code in PR #10505:
URL: https://github.com/apache/pinot/pull/10505#discussion_r1152684916
##########
pinot-common/src/main/java/org/apache/pinot/sql/parsers/CalciteSqlParser.java:
##########
@@ -174,6 +174,9 @@ public static List<String>
extractTableNamesFromNode(SqlNode sqlNode) {
}
tableNames.addAll(extractTableNamesFromNode(((SqlWith) sqlNode).body));
tableNames.removeAll(aliases);
+ } else if (sqlNode instanceof SqlExplain) {
+ SqlExplain explain = (SqlExplain) sqlNode;
+ tableNames.addAll(extractTableNamesFromNode(explain.getExplicandum()));
Review Comment:
This was never added previously. how come this become a problem after the
broker tenant changes?
--
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]