You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2016/09/01 05:49:21 UTC

[jira] [Created] (SPARK-17355) Work around exception thrown by HiveResultSetMetaData.isSigned

Josh Rosen created SPARK-17355:
----------------------------------

             Summary: Work around exception thrown by HiveResultSetMetaData.isSigned
                 Key: SPARK-17355
                 URL: https://issues.apache.org/jira/browse/SPARK-17355
             Project: Spark
          Issue Type: Bug
          Components: SQL
            Reporter: Josh Rosen
            Assignee: Josh Rosen


Attempting to use Spark SQL's JDBC data source against the Hive ThriftServer results in a {{java.sql.SQLException: Method not supported}} exception from {{org.apache.hive.jdbc.HiveResultSetMetaData.isSigned}}. Here are two user reports of this issue:

- https://stackoverflow.com/questions/34067686/spark-1-5-1-not-working-with-hive-jdbc-1-2-0
- https://stackoverflow.com/questions/32195946/method-not-supported-in-spark

I have filed HIVE-14684 to attempt to fix this in Hive by implementing the {{isSigned}} method, but in the meantime / for compatibility with older JDBC drivers I think we should add special-case error handling to work around this bug.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org