Eric Liang created SPARK-17701:
----------------------------------

             Summary: Refactor DataSourceScanExec so its sameResult call does 
not compare strings
                 Key: SPARK-17701
                 URL: https://issues.apache.org/jira/browse/SPARK-17701
             Project: Spark
          Issue Type: Improvement
            Reporter: Eric Liang


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to