This is not an issue with all tables created in Spark 2.1, though I'm not sure why some work and some do not. I have found that a table created as such
sql("create table test stored as parquet as select 1") in Spark 2.1 cannot be read in previous versions of Spark. Michael > On Nov 29, 2016, at 5:15 PM, Michael Allman <mich...@videoamp.com> wrote: > > Hello, > > When I try to read from a Hive table created by Spark 2.1 in Spark 2.0 or > earlier, I get an error: > > java.lang.ClassNotFoundException: Failed to load class for data source: hive. > > Is there a way to get previous versions of Spark to read tables written with > Spark 2.1? > > Cheers, > > Michael --------------------------------------------------------------------- To unsubscribe e-mail: dev-unsubscr...@spark.apache.org