You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Mihailo Aleksic (Jira)" <ji...@apache.org> on 2025/01/16 11:08:00 UTC

[jira] [Created] (SPARK-50847) Deny ApplyCharTypePadding from applying on specific In expressions

Mihailo Aleksic created SPARK-50847:
---------------------------------------

             Summary: 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
             Fix For: 4.1.0






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

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