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

DataFrame.inputFiles() not Available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.5
    • 3.1.0
    • PySpark
    • None

    Description

      I have been trying to list inputFiles that compose my DataSet by using PySpark 

      spark_session.read
      .format(sourceFileFormat)
      .load(S3A_FILESYSTEM_PREFIX + bucket + File.separator + sourceFolderPrefix)
      .inputFiles();

      but I get an exception saying inputFiles attribute not present. But I was able to get this functionality with Spark Java. 

      So is this something missing in PySpark?

      Attachments

        Activity

          People

            rakson Rakesh Raushan
            FelixKJose Felix Kizhakkel Jose
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: