[ Web Proxy ]
URL:
Viewing: https://spark.apache.org/docs/latest/api/python/reference/api/../api/pyspark.SparkFiles.html [Back]  [Original]

pyspark.SparkFiles — PySpark 4.2.0 documentation Skip to main content
Search the docs ...:

pyspark.SparkFiles#

class pyspark.SparkFiles[source]#

Resolves paths to files added through SparkContext.addFile().

SparkFiles contains only classmethods; users should not create SparkFiles instances.

Methods

get(filename)

Get the absolute path of a file added through SparkContext.addFile() or SparkContext.addPyFile().

getRootDirectory()

Get the root directory that contains files added through SparkContext.addFile() or SparkContext.addPyFile().


Web Proxy Viewer  |  New URL  |  Original Page