[ https://issues.apache.org/jira/browse/HIVE-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144450#comment-13144450 ]
Hudson commented on HIVE-1690: ------------------------------ Integrated in Hive-trunk-h0.21 #1059 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1059/]) HIVE-1690. HivePreparedStatement.executeImmediate(String sql) is breaking the exception stack (Ashutosh Chauhan via jvs) jvs : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1197698 Files : * /hive/trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HivePreparedStatement.java > HivePreparedStatement.executeImmediate(String sql) is breaking the exception > stack > ---------------------------------------------------------------------------------- > > Key: HIVE-1690 > URL: https://issues.apache.org/jira/browse/HIVE-1690 > Project: Hive > Issue Type: Improvement > Components: JDBC > Reporter: Eli Griv > Assignee: Ashutosh Chauhan > Priority: Minor > Fix For: 0.9.0 > > Attachments: hive-1690.patch > > > in HivePreparedStatement.executeImmediate(String sql), the exception stack is > broken, so it's impossible to know which method throwed "Method not > supported" > FIX : > HivePreparedStatement.java > L166 > - throw new SQLException(e.getMessage(), e.getSQLState(), e.getErrorCode()); > + throw new SQLException(e.getMessage(), e.getSQLState(), e.getErrorCode(), > e); > L168 > - throw new SQLException(ex.toString(), "08S01"); > + throw new SQLException(ex.toString(), "08S01", ex); -- 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