We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a599e43 commit 0b84c2dCopy full SHA for 0b84c2d
sql/core/src/main/scala/org/apache/spark/sql/api/java/JavaSQLContext.scala
@@ -87,7 +87,7 @@ class JavaSQLContext(sparkContext: JavaSparkContext) {
87
* Loads a parquet file, returning the result as a [[JavaSchemaRDD]].
88
*/
89
def parquetFile(path: String): JavaSchemaRDD =
90
- new JavaSchemaRDD(sqlContext, ParquetRelation("ParquetFile", path))
+ new JavaSchemaRDD(sqlContext, ParquetRelation(path))
91
92
93
/**
0 commit comments