walterddr commented on issue #10688:
URL: https://github.com/apache/pinot/issues/10688#issuecomment-1522148787
solution:
instead of making `Connection.resolveTableName` call into
```
private static String resolveTableName(String query) {
try {
return
CalciteSqlCompiler.compileToBrokerRequest(query).querySource.tableName;
...
```
we should switch to
```
SqlNode sqlNode = CalciteSqlParser.extractSqlNodeAndOptions(query);
return CalciteSqlParser.extractTableNamesFromNode(sqlNode);
```
--
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]