[
https://issues.apache.org/jira/browse/SPARK-47972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan resolved SPARK-47972.
---------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 46474
[https://github.com/apache/spark/pull/46474]
> Restrict CAST expression for collations
> ---------------------------------------
>
> Key: SPARK-47972
> URL: https://issues.apache.org/jira/browse/SPARK-47972
> 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
>
>
> Current state of code allows for calls like CAST(1 AS STRING COLLATE
> UNICODE). We want to restrict CAST expression to only be able to cast to
> default collation string, and to only allow COLLATE expression to produce
> explicitly collated strings.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]