Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-50847

Deny ApplyCharTypePadding from applying on specific In expressions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • SQL

    Description

      `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`).

      Attachments

        Issue Links

          Activity

            People

              mihailoale-db Mihailo Aleksic
              mihailoale-db Mihailo Aleksic
              Wenchen Fan Wenchen Fan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: