cloud-fan commented on a change in pull request #29357:
URL: https://github.com/apache/spark/pull/29357#discussion_r466159423



##########
File path: 
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetInteroperabilitySuite.scala
##########
@@ -165,7 +165,7 @@ class ParquetInteroperabilitySuite extends 
ParquetCompatibilityTest with SharedS
               // the assumption on column stats, and also the end-to-end 
behavior.
 
               val hadoopConf = spark.sessionState.newHadoopConf()
-              val fs = FileSystem.get(hadoopConf)
+              val fs = new 
Path(tableDir.getAbsolutePath).getFileSystem(hadoopConf)

Review comment:
       Ideally we should not change the actual code when we just want to add a 
style check. But this is test and I think it's safe.




----------------------------------------------------------------
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to