Max Gekk created SPARK-45060:
--------------------------------
Summary: to_char() fails with an internal error on NULL format
Key: SPARK-45060
URL: https://issues.apache.org/jira/browse/SPARK-45060
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 4.0.0
Reporter: Max Gekk
Assignee: Max Gekk
The example below demonstrates the issue:
{code:sql}
spark-sql (default)> SELECT to_char(x'537061726b2053514c', CAST(NULL AS
STRING));
[INTERNAL_ERROR] The Spark SQL phase analysis failed with an internal error.
You hit a bug in Spark or the Spark plugins you use. Please, report this bug to
the corresponding communities or vendors, and provide the full stack trace.
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]