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

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

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

 ##########
 File path: 
exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestInfoSchema.java
 ##########
 @@ -183,6 +183,16 @@ public void describeTable() throws Exception{
         .go();
   }
 
+  @Test
+  public void describeTableWithTableKeyword() throws Exception {
+    testBuilder()
+        .sqlQuery("DESCRIBE TABLE CATALOGS")
+        .unOrdered()
+        .optionSettingQueriesForTestQuery("USE INFORMATION_SCHEMA")
 
 Review comment:
   right, will add same option for the baseline query.
 
----------------------------------------------------------------
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:
[email protected]


> 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