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

Refactor DataSourceScanExec so its sameResult call does not compare strings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • SQL
    • None

    Description

      Currently, RowDataSourceScanExec and FileSourceScanExec rely on a "metadata" string map to implement equality comparison, since the RDDs they depend on cannot be directly compared. This has resulted in a number of correctness bugs around exchange reuse, e.g. SPARK-17673 and SPARK-16818.

      To make these comparisons less brittle, we should refactor these classes to compare constructor parameters directly instead of relying on the metadata map.

      Attachments

        Activity

          People

            cloud_fan Wenchen Fan
            ekhliang Eric Liang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: