oh, right, i meant within SqlContext alone, schemaRDD from text file with a
case class
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/How-to-direct-insert-vaules-into-SparkSQL-tables-tp11851p12100.html
Sent from the Apache Spark User List mailing list
.registerAsTable("people")
>
> could be an idea.
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/How-to-direct-insert-vaules-into-SparkSQL-tables-tp11851p11882.html
> Sent from
no, spark sql can not insert or update textfile yet, can only insert into
parquet files
but,
people.union(new_people).registerAsTable("people")
could be an idea.
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/How-to-direct-insert-vaules-int