[
https://issues.apache.org/jira/browse/CALCITE-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15219640#comment-15219640
]
Julian Hyde commented on CALCITE-1168:
--------------------------------------
Read the SQL standard at
http://jtc1sc32.org/doc/N1951-2000/32N1964T-text_for_ballot-FCD_9075-2.pdf.
Without the {{TABLE}} keyword we'd clash with {{DESCRIBE <SQL statement name>}}.
Maybe {{TABLE}} could be optional, and without it, we'd look for a table only
if the named statement did not exist. (And it wouldn't because at present we
don't support named statements.)
> Add descibe statement functionality
> -----------------------------------
>
> Key: CALCITE-1168
> URL: https://issues.apache.org/jira/browse/CALCITE-1168
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: Arina Ielchiieva
> Assignee: Julian Hyde
>
> Add DESCRIBE
> statement so it can support the following:
> {noformat}
> DESCRIBE [SCHEMA | DATABASE] name;
> DESCRIBE table_name;
> {noformat}
> Example, [usage in MySql|http://dev.mysql.com/doc/refman/5.7/en/explain.html]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)