Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-17585

PySpark SparkContext.addFile supports adding files recursively

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.1.0
    • PySpark, Spark Core
    • None

    Description

      Users would like to add a directory as dependency in some cases, they can use SparkContext.addFile with argument recursive=true to recursively add all files under the directory by using Scala. But Python users can only add file not directory, we should also make it supported.

      Attachments

        Issue Links

          Activity

            People

              yanboliang Yanbo Liang
              yanboliang Yanbo Liang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: