Max Gekk created SPARK-45079:
--------------------------------

             Summary: percentile_approx() fails with an internal error on NULL 
accuracy
                 Key: SPARK-45079
                 URL: https://issues.apache.org/jira/browse/SPARK-45079
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 4.0.0
            Reporter: Max Gekk
            Assignee: Max Gekk
             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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to