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

Mihailo Aleksic updated SPARK-50847:
------------------------------------
    Description: java.lang.ClassCastException

> Deny ApplyCharTypePadding from applying on specific In expressions
> ------------------------------------------------------------------
>
>                 Key: SPARK-50847
>                 URL: https://issues.apache.org/jira/browse/SPARK-50847
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.0.0
>         Environment: `ApplyCharTypePadding` rule shouldn't be applied to `In` 
> expressions where elements of the `In.list` are not `StringType`s and in this 
> task we fix it. This will lead to throwing the 
> `DATATYPE_MISMATCH.DATA_DIFF_TYPES` instead of an internal one 
> (`java.lang.ClassCastException`).
>            Reporter: Mihailo Aleksic
>            Priority: Major
>             Fix For: 4.1.0
>
>
> java.lang.ClassCastException



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

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

Reply via email to