java.sql.SQLException: Unsupported type -101

2015-12-25 Thread Madabhattula Rajesh Kumar
Hi I'm not able to read "Oracle Table - TIMESTAMP(6) WITH TIME ZONE datatype" column using Spark SQL. I'm getting below exception. Please let me know how to resolve this issue. *Exception :-* Exception in thread "main" java.sql.SQLException

RE: What is "java.sql.SQLException: Unsupported type -101"?

2015-07-17 Thread Sambit Tripathy (RBEI/EDS1)
Does this mean there is a possible mismatch of jdbc driver with oracle? From: Ted Yu [mailto:yuzhih...@gmail.com] Sent: Friday, July 17, 2015 2:09 PM To: Sambit Tripathy (RBEI/EDS1) Cc: user@spark.apache.org Subject: Re: What is "java.sql.SQLException: Unsupported type -101"?

Re: What is "java.sql.SQLException: Unsupported type -101"?

2015-07-17 Thread Ted Yu
ext.load("jdbc", Map( "url" -> > "jdbc:oracle:thin:USER/p...@host.com:1517:sid", "dbtable" -> > "USER.TABLE","driver" -> "oracle.jdbc.OracleDriver")) > > and got the error below > > java.sql.SQLExcept

What is "java.sql.SQLException: Unsupported type -101"?

2015-07-17 Thread Sambit Tripathy (RBEI/EDS1)
Hi, I was trying to get a oracle table using JDBC datasource val jdbcDF = sqlContext.load("jdbc", Map( "url" -> "jdbc:oracle:thin:USER/p...@host.com:1517:sid", "dbtable" -> "USER.TABLE","driver" -> "oracle.jdbc.OracleD