Answers for "pyspark check if s3 path exists"

0

pyspark check if s3 path exists

fs = sc._jvm.org.apache.hadoop.fs.FileSystem.get(sc._jsc.hadoopConfiguration())
fs.exists(sc._jvm.org.apache.hadoop.fs.Path("path/to/SUCCESS.txt"))
Posted by: Guest on June-18-2020

Code answers related to "pyspark check if s3 path exists"

Browse Popular Code Answers by Language