gengliangwang commented on a change in pull request #24393: [SPARK-27490][SQL]
File source V2: return correct result for Dataset.inputFiles()
URL: https://github.com/apache/spark/pull/24393#discussion_r276323310
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/DataFrameSuite.scala
##########
@@ -770,13 +770,13 @@ class DataFrameSuite extends QueryTest with
SharedSQLContext {
val parquetDF = spark.read.parquet(parquetDir)
assert(parquetDF.inputFiles.nonEmpty)
- val jsonDir = new File(dir, "json").getCanonicalPath
- df.write.json(jsonDir)
- val jsonDF = spark.read.json(jsonDir)
- assert(parquetDF.inputFiles.nonEmpty)
+ val csvDir = new File(dir, "csv").getCanonicalPath
Review comment:
> BTW why we change from json to csv?
Because Json V2 PR is still in review...:)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]