The implementation of SparkSQL is currently incomplete. You may try it out with HiveContext instead of SQLContext.
On 9/11/14, 1:21 PM, "jamborta" <jambo...@gmail.com> wrote: >Hi, > >I am trying to create a new table from a select query as follows: > >CREATE TABLE IF NOT EXISTS new_table ROW FORMAT DELIMITED FIELDS >TERMINATED >BY ',' LINES TERMINATED BY '\n' STORED AS TEXTFILE LOCATION >'/user/test/new_table' AS select * from table > >this works in Hive, but in Spark SQL (1.0.2) I am getting "Unsupported >language features in query" error. > >Could you suggest why I am getting this? > >thanks, > > > > >-- >View this message in context: >http://apache-spark-user-list.1001560.n3.nabble.com/spark-sql-create-new-t >able-as-select-from-table-tp14006.html >Sent from the Apache Spark User List mailing list archive at Nabble.com. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscr...@spark.apache.org >For additional commands, e-mail: user-h...@spark.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org