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

Kent Yao resolved SPARK-48574.
------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 46997
[https://github.com/apache/spark/pull/46997]

> Fix support for StructTypes with collations
> -------------------------------------------
>
>                 Key: SPARK-48574
>                 URL: https://issues.apache.org/jira/browse/SPARK-48574
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Mihailo Milosevic
>            Assignee: Mihailo Milosevic
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> 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.



--
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