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

DataFrame.inputFiles() not Available

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.5
    • Fix Version/s: 3.1.0
    • Component/s: PySpark
    • Labels:
      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

            • Assignee:
              rakson Rakesh Raushan
              Reporter:
              FelixKJose Felix Kizhakkel Jose
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: