[jira] [Assigned] (SPARK-38225) Complete input validation of function to_binary

2022-02-15 Thread Apache Spark (Jira)


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

Apache Spark reassigned SPARK-38225:


Assignee: (was: Apache Spark)

> Complete input validation of function to_binary
> ---
>
> Key: SPARK-38225
> URL: https://issues.apache.org/jira/browse/SPARK-38225
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 3.3.0
>Reporter: Xinrong Meng
>Priority: Major
>
> Currently, function to_binary doesn't deal with the non-string {{format}} 
> parameter properly.
> For example, {{spark.sql("select to_binary('abc', 1)")}} raises casting 
> error, rather than hint that encoding format is unsupported.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-38225) Complete input validation of function to_binary

2022-02-15 Thread Apache Spark (Jira)


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

Apache Spark reassigned SPARK-38225:


Assignee: Apache Spark

> Complete input validation of function to_binary
> ---
>
> Key: SPARK-38225
> URL: https://issues.apache.org/jira/browse/SPARK-38225
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 3.3.0
>Reporter: Xinrong Meng
>Assignee: Apache Spark
>Priority: Major
>
> Currently, function to_binary doesn't deal with the non-string {{format}} 
> parameter properly.
> For example, {{spark.sql("select to_binary('abc', 1)")}} raises casting 
> error, rather than hint that encoding format is unsupported.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org