[ https://issues.apache.org/jira/browse/HIVE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170228#comment-13170228 ]
Hudson commented on HIVE-727: ----------------------------- Integrated in Hive-trunk-h0.21 #1148 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1148/]) HIVE-727. Hive Server getSchema() returns wrong schema for 'Explain' queries (Prasad Mujumdar via cws) cws : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1214636 Files : * /hive/trunk/jdbc/src/test/org/apache/hadoop/hive/jdbc/TestJdbcDriver.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/Task.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/ExplainSemanticAnalyzer.java > 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 > Components: JDBC > Reporter: Eric Hwang > Assignee: Prasad Mujumdar > Fix For: 0.9.0 > > Attachments: HIVE-727.patch, HIVE-727.patch.1, 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