This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 6ae0abb64289 [SPARK-43259][SQL][FOLLOWUP] Regenerate 
`sql-error-conditions.md` to recover `SparkThrowableSuite`
6ae0abb64289 is described below

commit 6ae0abb64289c2124b2a2dd4043d010a06a14465
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Thu Feb 22 17:26:32 2024 -0800

    [SPARK-43259][SQL][FOLLOWUP] Regenerate `sql-error-conditions.md` to 
recover `SparkThrowableSuite`
    
    ### What changes were proposed in this pull request?
    
    This is a follow-up of #45095
    
    ### Why are the changes needed?
    
    To recover the broken `master` branch.
    - https://github.com/apache/spark/actions/runs/8008631301/job/21875499011
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    I manually verified like the following.
    ```
    [info] SparkThrowableSuite:
    [info] - No duplicate error classes (23 milliseconds)
    [info] - Error classes are correctly formatted (37 milliseconds)
    [info] - SQLSTATE is mandatory (1 millisecond)
    [info] - Error category and error state / SQLSTATE invariants (21 
milliseconds)
    [info] - Message invariants (6 milliseconds)
    [info] - Message format invariants (9 milliseconds)
    [info] - Error classes match with document (54 milliseconds)
    [info] - Round trip (23 milliseconds)
    [info] - Error class names should contain only capital letters, numbers and 
underscores (5 milliseconds)
    [info] - Check if error class is missing (14 milliseconds)
    [info] - Check if message parameters match message format (2 milliseconds)
    [info] - Error message is formatted (0 milliseconds)
    [info] - Error message does not do substitution on values (0 milliseconds)
    [info] - Try catching legacy SparkError (1 millisecond)
    [info] - Try catching SparkError with error class (1 millisecond)
    [info] - Try catching internal SparkError (1 millisecond)
    [info] - Get message in the specified format (3 milliseconds)
    [info] - overwrite error classes (47 milliseconds)
    [info] - prohibit dots in error class names (15 milliseconds)
    [info] Run completed in 1 second, 90 milliseconds.
    [info] Total number of tests run: 19
    [info] Suites: completed 1, aborted 0
    [info] Tests: succeeded 19, failed 0, canceled 0, ignored 0, pending 0
    [info] All tests passed.
    [success] Total time: 7 s, completed Feb 22, 2024, 5:22:24 PM
    ```
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #45226 from dongjoon-hyun/SPARK-43259.
    
    Authored-by: Dongjoon Hyun <dh...@apple.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 docs/sql-error-conditions.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/sql-error-conditions.md b/docs/sql-error-conditions.md
index 0745de995799..bb982a77fca0 100644
--- a/docs/sql-error-conditions.md
+++ b/docs/sql-error-conditions.md
@@ -1148,7 +1148,7 @@ Please increase executor memory using the 
--executor-memory option or "`<config>
 
 [SQLSTATE: 
42001](sql-error-conditions-sqlstates.html#class-42-syntax-error-or-access-rule-violation)
 
-Found an invalid expression encoder. Expects an instance of 
`ExpressionEncoder` but got `<encoderType>`. For more information consult 
'`<docroot>`/api/java/index.html?org/apache/spark/sql/Encoder.html'.
+Found an invalid expression encoder. Expects an instance of ExpressionEncoder 
but got `<encoderType>`. For more information consult 
'`<docroot>`/api/java/index.html?org/apache/spark/sql/Encoder.html'.
 
 ### INVALID_EXTRACT_BASE_FIELD_TYPE
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to