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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to