You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (Updated) (JIRA)" <ji...@apache.org> on 2011/11/18 05:01:53 UTC

[jira] [Updated] (HIVE-727) Hive Server getSchema() returns wrong schema for "Explain" queries

     [ https://issues.apache.org/jira/browse/HIVE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-727:
--------------------------------

    Status: Open  (was: Patch Available)

@Prasad: TestJdbcDriver.testExplainStmt fails for me. It's possible that the patch just needs to be refreshed. Please take a look. Thanks!
                
> Hive Server getSchema() returns wrong schema for "Explain" queries
> ------------------------------------------------------------------
>
>                 Key: HIVE-727
>                 URL: https://issues.apache.org/jira/browse/HIVE-727
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Eric Hwang
>            Assignee: Prasad Mujumdar
>         Attachments: Hive-727.patch
>
>
> The Hive Server's getSchema() function will return a schema with zero fields when executing an "Explain..." query. A quick fix might be to set the default schema to be exactly one column of type string.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira