Github user arina-ielchiieva commented on a diff in the pull request:

    https://github.com/apache/drill/pull/436#discussion_r70434670
  
    --- Diff: 
exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestInfoSchema.java ---
    @@ -351,4 +359,51 @@ public void showFilesWithDefaultSchema() throws 
Exception{
         test("USE dfs_test.`default`");
         test("SHOW FILES FROM `/tmp`");
       }
    +
    +  @Test
    +  public void describeSchemaSyntax() throws Exception {
    +    test("describe schema dfs_test");
    +    test("describe schema dfs_test.`default`");
    +    test("describe database dfs_test.`default`");
    +  }
    +
    +  @Test
    +  public void describeSchemaOutputForDefaultWorkspace() throws Exception {
    +    String properties = 
Resources.toString(Resources.getResource("describe_schema_output.json"), 
Charsets.UTF_8).replace("\r", "");
    +    testBuilder()
    +        .sqlQuery("describe schema dfs_test")
    +        .unOrdered()
    +        .baselineColumns("schema", "properties")
    +        .baselineValues("dfs_test", properties)
    --- End diff --
    
    Test has been re-written to verify only stable parts.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to