You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Serge Rielau (Jira)" <ji...@apache.org> on 2023/08/16 22:56:00 UTC

[jira] [Created] (SPARK-44838) Enhance raise_error() to exploit the new error framework

Serge Rielau created SPARK-44838:
------------------------------------

             Summary: Enhance raise_error() to exploit the new error framework
                 Key: SPARK-44838
                 URL: https://issues.apache.org/jira/browse/SPARK-44838
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 3.5.0
            Reporter: Serge Rielau


raise_error() and assert_true() do not presently utilize the new error framework.
We want to generalize raise_error() to take an error class, sqlstate and message parameters as arguments to compose a well-formed error condition.
The existing assert_true(0 and raise_error() versions should return an error class 



--
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