Re: StructType for oracle.sql.STRUCT

2015-11-28 Thread andy petrella
Warf... such an heavy tasks man! I'd love to follow your work on that (I've a long XP in geospatial too), is there a repo available already for that? The hard part will be to support all descendant types I guess (line, mutlilines, and so on), then creating the spatial operators. The only project

StructType for oracle.sql.STRUCT

2015-11-28 Thread Pieter Minnaar
Hi, I need to read Oracle Spatial SDO_GEOMETRY tables into Spark. I need to know how to create a StructField to use in the schema definition for the Oracle geometry columns. In the standard JDBC the values are read as oracle.sql.STRUCT types. How can I get the same values in Spark SQL? Regards,