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

Mihailo Milosevic updated SPARK-47972:
--------------------------------------
    Description: 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.

> 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
>            Priority: Major
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to