I realized my mistake of not using hiveContext. So that error is gone but now I am getting this error:
====================== FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.IllegalArgumentException: Unknown field info: binary -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/persist-table-schema-in-spark-sql-tp16297p16386.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
