You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2014/12/16 06:20:14 UTC
[jira] [Commented] (CALCITE-356) Does not support query of the form
SELECT `schema`.`table`.* FROM `schema`.table`
[ https://issues.apache.org/jira/browse/CALCITE-356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14247780#comment-14247780 ]
Julian Hyde commented on CALCITE-356:
-------------------------------------
Note that schema-qualified table names were illegal in SQL-92, but became legal in SQL:1999. (SQL:2003 Part 2 Section 6.6 Syntax Rule 8.b.vi.)
> Does not support query of the form SELECT `schema`.`table`.* FROM `schema`.table`
> ---------------------------------------------------------------------------------
>
> Key: CALCITE-356
> URL: https://issues.apache.org/jira/browse/CALCITE-356
> Project: Calcite
> Issue Type: Bug
> Reporter: Julian Hyde
> Assignee: Julian Hyde
> Priority: Minor
>
> See https://issues.apache.org/jira/browse/DRILL-1196.
> Query of the form Select `schema`.`table`.* from `schema`.table` returns an error from the parser. This affects loading data to TIBCO Spotfire BI tool.
> {code}
> SELECT `hive43.default`.`bella_table`.* FROM `hive43.default`.`bella_table`;
> SqlParseException:[ Encountered ". *" at line 1, column 39.
> Was expecting one of:
> "FROM" ...
> "," ...
> "AS" ...
> <IDENTIFIER> ...
> <QUOTED_IDENTIFIER> ...
> <BACK_QUOTED_IDENTIFIER> ...
> <BRACKET_QUOTED_IDENTIFIER> ...
> <UNICODE_QUOTED_IDENTIFIER> ...
> "NOT" ...
> "IN" ...
> "BETWEEN" ...
> "LIKE" ...
> "SIMILAR" ...
> "=" ...
> ">" ...
> "<" ...
> "<=" ...
> ">=" ...
> "<>" ...
> "+" ...
> "-" ...
> "*" ...
> "/" ...
> "||" ...
> "AND" ...
> "OR" ...
> "IS" ...
> "MEMBER" ...
> "SUBMULTISET" ...
> "MULTISET" ...
> "[" ...
> "." <IDENTIFIER> ...
> "." <QUOTED_IDENTIFIER> ...
> "." <BACK_QUOTED_IDENTIFIER> ...
> "." <BRACKET_QUOTED_IDENTIFIER> ...
> "." <UNICODE_QUOTED_IDENTIFIER> ...
> "(" ...
> ]"
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)