You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "walterddr (via GitHub)" <gi...@apache.org> on 2023/04/25 17:19:25 UTC
[GitHub] [pinot] walterddr commented on issue #10688: [multistage] Pinot connection doesn't handle join routing parsing
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: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org