[BUILD FIX] Fix compilation of Spark SQL Java API.

The JavaAPI and the Parquet improvements PRs didn't conflict, but broke the build.

Author: Michael Armbrust <michael@databricks.com>

Closes #316 from marmbrus/hotFixJavaApi and squashes the following commits:

0b84c2d [Michael Armbrust] Fix compilation of Spark SQL Java API.
This commit is contained in:
Michael Armbrust 2014-04-03 16:12:08 -07:00 committed by Matei Zaharia
parent a599e43d6e
commit d94826be6d

View file

@ -87,7 +87,7 @@ class JavaSQLContext(sparkContext: JavaSparkContext) {
* Loads a parquet file, returning the result as a [[JavaSchemaRDD]].
*/
def parquetFile(path: String): JavaSchemaRDD =
new JavaSchemaRDD(sqlContext, ParquetRelation("ParquetFile", path))
new JavaSchemaRDD(sqlContext, ParquetRelation(path))
/**