We have a lot of Json logs, and want to build our Hive data warehouse. It's easy to get the Json logs into spark schemaRDD, and there is a saveAsTable method for schemaRDD but it only works for schemaRDDs created from HiveContext, not from regular SQLContext. It throws out exception when I try to saveAsTable with a schemaRDD created from Json file. Is there a way to force it 'bind' with HiveContext and save it into Hive? I don't see there is any obvious reason that cannot be done. I know there is options like saveAsParquetFile for data persistence, but we really want to take advantage of Hive.