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

Fix support for StructTypes with collations

    XMLWordPrintableJSON

Details

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

    Description

      While adding expression walker it was noticed that StructType support is broken. One problem is that `CollationsTypeCasts` is doing a cast in all BinaryExpressions which includes ExtractValue. Consequently, we are unable to extract value if we do a cast there, as ExtractValue only supports nonNullLiterals as extracting keys.

      Attachments

        Issue Links

          Activity

            People

              mihailo.milosevic Mihailo Milosevic
              mihailo.milosevic Mihailo Milosevic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: