hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Mujumdar" <pras...@cloudera.com>
Subject Re: Review Request: Hive-727 : Add a schema for explain statement resultset
Date Wed, 14 Dec 2011 23:21:30 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2517/
-----------------------------------------------------------

(Updated 2011-12-14 23:21:30.477384)


Review request for hive and Carl Steinbach.


Changes
-------

Rebased the patch and reran the TestJdbcDriver test.


Summary
-------

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.


This addresses bug Hive-727.
    https://issues.apache.org/jira/browse/Hive-727


Diffs (updated)
-----

  jdbc/src/test/org/apache/hadoop/hive/jdbc/TestJdbcDriver.java 4972754 
  ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java 7e5f645 
  ql/src/java/org/apache/hadoop/hive/ql/exec/Task.java a4e59ca 
  ql/src/java/org/apache/hadoop/hive/ql/parse/ExplainSemanticAnalyzer.java 9dc6f87 

Diff: https://reviews.apache.org/r/2517/diff


Testing
-------

Added  a new test case in TestJdbcDriver to run  explain statement and verify resultset metadata



Thanks,

Prasad


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message