[
https://issues.apache.org/jira/browse/SPARK-48574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihailo Milosevic updated SPARK-48574:
--------------------------------------
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.
> Add 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
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]