You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2022/11/17 13:48:00 UTC

[jira] [Created] (SPARK-41174) Propagate an error class to users for invalid `format` of `to_binary()`

Max Gekk created SPARK-41174:
--------------------------------

             Summary: Propagate an error class to users for invalid `format` of `to_binary()`
                 Key: SPARK-41174
                 URL: https://issues.apache.org/jira/browse/SPARK-41174
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.4.0
            Reporter: Max Gekk


See https://github.com/apache/spark/blob/fabea7101ea55db991590ca2fbe1d4dfd25e5b28/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala#L2626

The example demonstrates the issue;

{code}
select to_binary('abc', 1)
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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