Support Ordering on UserDefinedType

2015-11-03 Thread Ionized
TypeUtils.getInterpretedOrdering currently only supports AtomicType and StructType. Is it possible to add support for UserDefinedType as well? - Paul

Spark SQL registerAsTable requires a Java Class?

2014-07-08 Thread Ionized
The Java API requires a Java Class to register as table. // Apply a schema to an RDD of JavaBeans and register it as a table.JavaSchemaRDD schemaPeople = sqlCtx.applySchema(people, Person.class);schemaPeople.registerAsTable(people); If instead of JavaRDDPerson I had JavaRDDList (along with the

Re: Spark SQL registerAsTable requires a Java Class?

2014-07-08 Thread Ionized
for the next release (1.1) JIRA: SPARK-2179 https://issues.apache.org/jira/browse/SPARK-2179 On Mon, Jul 7, 2014 at 11:48 PM, Ionized ioni...@gmail.com wrote: The Java API requires a Java Class to register as table. // Apply a schema to an RDD of JavaBeans and register