Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Incomplete
-
1.4.0
-
None
-
MacOSX 10.10.3, Postgres 9.3.5, Spark 1.4 hadoop 2.6,
Using Scala version 2.10.4 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_40)
spark-shell --driver-class-path ./postgresql-9.3-1103.jdbc41.jar
Description
Loading a table with a text[] column via sqlContext causes an error.
sqlContext.load("jdbc", Map("url" -> "jdbc:postgresql://localhost/my_db", "dbtable" -> "table"))
Table has a column:
my_col | text[] |
Stacktrace: https://gist.github.com/8b163bf5fdc2aea7dbb6.git
Same occurs in pyspark shell.
Loading another table without text array column works allright.
Attachments
Issue Links
- is duplicated by
-
SPARK-14536 NPE in JDBCRDD when array column contains nulls (postgresql)
- Resolved