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

Unify getting data schema without partition columns in FileSourceStrategy

    XMLWordPrintableJSON

Details

    Description

      In FileSourceStrategy, the schema of the data excluding partition columns is computed 2 times in a slightly different way:

       

      val dataColumnsWithoutPartitionCols = dataColumns.filterNot(partitionSet.contains) 

      vs 

      val readDataColumns = dataColumns
        .filterNot(partitionColumns.contains) 

      Attachments

        Issue Links

          Activity

            People

              johanl-db Johan Lasperas
              johanl-db Johan Lasperas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: