Dejan Krakovic created SPARK-61300:
--------------------------------------

             Summary: Report set operation errors for uncomparable types 
consistently in both analyzers
                 Key: SPARK-61300
                 URL: https://issues.apache.org/jira/browse/SPARK-61300
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 5.0.0
            Reporter: Dejan Krakovic


Follow-up of SPARK-60386 (https://github.com/apache/spark/pull/59640).

For a set operation over several columns of uncomparable types (MAP, VARIANT, 
FILE), the fixed-point analyzer reports the first type it checks across all 
columns, while the single-pass OperatorWithUncomparableTypeValidator checks 
each column for every type in turn, so the two analyzers can report different 
errors for the same query. Check one type at a time over all columns in both 
analyzers, for all these types.

Review thread: https://github.com/apache/spark/pull/59640#discussion_r4353281791




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to