[ https://issues.apache.org/jira/browse/HIVE-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085299#comment-13085299 ]
jirapos...@reviews.apache.org commented on HIVE-2334: ----------------------------------------------------- ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/1300/ ----------------------------------------------------------- (Updated 2011-08-15 20:12:23.939812) Review request for hive and Carl Steinbach. Changes ------- Updated diff now that HIVE-2171 has been committed. Removes inclusion of mockito, which was handled in the other JIRA. Otherwise, no changes. Summary ------- Commands that don't return a schema cause NPE when print headers is on. This addresses bug HIVE-2334. https://issues.apache.org/jira/browse/HIVE-2334 Diffs (updated) ----- cli/build.xml c174b22 cli/ivy.xml f272b91 cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java a2976b5 cli/src/test/org/apache/hadoop/hive/cli/TestCliDriverMethods.java PRE-CREATION ql/src/test/queries/clientpositive/print_header.q 96380ab ql/src/test/results/clientpositive/print_header.q.out e3946d7 Diff: https://reviews.apache.org/r/1300/diff Testing ------- New unit tests (both positive and negative) and verification on manual cluster. Thanks, Jakob > DESCRIBE TABLE causes NPE when hive.cli.print.header=true > --------------------------------------------------------- > > Key: HIVE-2334 > URL: https://issues.apache.org/jira/browse/HIVE-2334 > Project: Hive > Issue Type: Bug > Components: CLI > Affects Versions: 0.7.1 > Reporter: Carl Steinbach > Assignee: Jakob Homan > Attachments: HIVE-2334-2.patch, HIVE-2334-3.patch, h2334.patch > > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira