This is on the roadmap 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 <[email protected]> wrote:

> 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 JavaRDD<Person> I had JavaRDD<List> (along with the
> knowledge of column names and types that go along with the List) and wanted
> to write a general-purpose registerAsTable, is there any other way besides
> using ASM and dynamically creating Java Classes?
>

Reply via email to