Github user vdiravka commented on a diff in the pull request: https://github.com/apache/drill/pull/549#discussion_r72522582 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/parser/DrillCompoundIdentifier.java --- @@ -69,31 +70,38 @@ public void addIndex(int index, SqlParserPos pos){ } } - public SqlNode getAsSqlNode(){ - if(ids.size() == 1){ + public SqlNode getAsSqlNode(Set<DrillCompoundIdentifier> fullSchemasSet) { --- End diff -- I agree that this current bracketless Syntax for support complex queries and converting of original sqlNode from calcite must be improve in future but not sure how it is possible now. I think a new approach could be after resolving [CALCITE-1208](https://issues.apache.org/jira/browse/CALCITE-1208) I added TODO for this.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---