hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Mujumdar (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-727) Hive Server getSchema() returns wrong schema for "Explain" queries
Date Thu, 20 Oct 2011 23:00:12 GMT

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

Prasad Mujumdar updated HIVE-727:
---------------------------------

    Status: Patch Available  (was: Open)

Added a method to get result schema from a Task. The ExplainSemanticAnalyzer invokes this
to get the schema for explain statement which is a single string column. 
                
> 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
>         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

        

Mime
View raw message