[
https://issues.apache.org/jira/browse/SPARK-45060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Max Gekk resolved SPARK-45060.
------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 42781
[https://github.com/apache/spark/pull/42781]
> 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
> Priority: Major
> Fix For: 4.0.0
>
>
> 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]