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 (Commented) (JIRA)" <ji...@apache.org> on 2011/11/15 23:23:52 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13150840#comment-13150840 ] 

Carl Steinbach commented on HIVE-727:
-------------------------------------

+1. Will commit if tests pass.
                
> 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