Skip to contents

Get the absolute path of a file added through spark.addFile.

Usage

spark.getSparkFiles(fileName)

Arguments

fileName

The name of the file added through spark.addFile

Value

the absolute path of a file added through spark.addFile.

Note

spark.getSparkFiles since 2.1.0

Examples

if (FALSE) { # \dontrun{
spark.getSparkFiles("myfile")
} # }