[ 
https://issues.apache.org/jira/browse/DRILL-7167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16817931#comment-16817931
 ] 

ASF GitHub Bot commented on DRILL-7167:
---------------------------------------

arina-ielchiieva commented on pull request #1747: DRILL-7167: Implemented 
DESCRIBE TABLE statement
URL: https://github.com/apache/drill/pull/1747#discussion_r275337618
 
 

 ##########
 File path: 
exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestInfoSchema.java
 ##########
 @@ -235,6 +276,16 @@ public void describeTableWithColumnName() throws 
Exception{
         .go();
   }
 
+  @Test
+  public void describeTableWithColumnNameAndTableKeyword() throws Exception{
+    testBuilder()
+        .sqlQuery("DESCRIBE TABLE `TABLES` TABLE_CATALOG")
+        .unOrdered()
+        .optionSettingQueriesForTestQuery("USE INFORMATION_SCHEMA")
 
 Review comment:
   Same here.
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> DESCRIBE TABLE statement is not implemented 
> --------------------------------------------
>
>                 Key: DRILL-7167
>                 URL: https://issues.apache.org/jira/browse/DRILL-7167
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.16.0
>            Reporter: Dmytriy Grinchenko
>            Assignee: Dmytriy Grinchenko
>            Priority: Major
>              Labels: doc-impacting
>             Fix For: 1.17.0
>
>
> DESCRIBE dfs.tmp.`table` - works fineĀ 
> DESCRIBE TABLE dfs.tmp.`table` - fails with error:
> {code:java}
> Error: PARSE ERROR: org.apache.calcite.sql.SqlBasicCall cannot be cast to 
> org.apache.calcite.sql.SqlIdentifier
> {code}
> DESCRIBE TABLE should work the same as DESCRIBE;



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to