[ 
https://issues.apache.org/jira/browse/SPARK-55811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mihailo Aleksic updated SPARK-55811:
------------------------------------
    Description: 
{code:java}
SELECT 1L UNION SELECT 1
{code}

fails with CANNOT_MERGE_INCOMPATIBLE_DATA_TYPE when 
spark.sql.planChangeLog.level is set to info because we call Union.output too 
early (before type coercion is performed). I propose to fix it by catching 

  was:
{code:java}
SELECT 1L UNION SELECT 1
{code}

fails with CANNOT_MERGE_INCOMPATIBLE_DATA_TYPE when 
spark.sql.planChangeLog.level is set to info because we call Union.output too 
early (before type coercion is performed).


> Catch NonFatal instead of UnresolvedException when calling 
> nodeWithOutputColumnsString
> --------------------------------------------------------------------------------------
>
>                 Key: SPARK-55811
>                 URL: https://issues.apache.org/jira/browse/SPARK-55811
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.1.1
>            Reporter: Mihailo Aleksic
>            Priority: Major
>
> {code:java}
> SELECT 1L UNION SELECT 1
> {code}
> fails with CANNOT_MERGE_INCOMPATIBLE_DATA_TYPE when 
> spark.sql.planChangeLog.level is set to info because we call Union.output too 
> early (before type coercion is performed). I propose to fix it by catching 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to