Re: [Spark SQL] Problems creating a table in specified schema/database

2015-04-29 Thread Michael Armbrust
No, sorry this is not supported. Support for more than one database is lacking in several areas (though mostly works for hive tables). I'd like to fix this in Spark 1.5. On Tue, Apr 28, 2015 at 1:54 AM, James Aley james.a...@swiftkey.com wrote: Hey all, I'm trying to create tables from

[Spark SQL] Problems creating a table in specified schema/database

2015-04-28 Thread James Aley
Hey all, I'm trying to create tables from existing Parquet data in different schemata. The following isn't working for me: CREATE DATABASE foo; CREATE TABLE foo.bar USING com.databricks.spark.avro OPTIONS (path '...'); -- Error: org.apache.spark.sql.AnalysisException: cannot recognize input