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

kabhwan 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 e32fb5efd337 [SPARK-51814][SS][PYTHON][FOLLOWUP][MINOR] Add missing 
type handling for PythonEvalType.toString
e32fb5efd337 is described below

commit e32fb5efd337c0f65bac82260b1aa3d279a9d774
Author: Jungtaek Lim <kabhwan.opensou...@gmail.com>
AuthorDate: Mon Apr 28 10:59:55 2025 +0900

    [SPARK-51814][SS][PYTHON][FOLLOWUP][MINOR] Add missing type handling for 
PythonEvalType.toString
    
    ### What changes were proposed in this pull request?
    
    This PR adds missing type handling for PythonEvalType.toString.
    
    ### Why are the changes needed?
    
    Just completeness's sake. This isn't based on actual observed failure.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Existing UTs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #50736 from HeartSaVioR/SPARK-51814-followup-2.
    
    Authored-by: Jungtaek Lim <kabhwan.opensou...@gmail.com>
    Signed-off-by: Jungtaek Lim <kabhwan.opensou...@gmail.com>
---
 core/src/main/scala/org/apache/spark/api/python/PythonRunner.scala | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/core/src/main/scala/org/apache/spark/api/python/PythonRunner.scala 
b/core/src/main/scala/org/apache/spark/api/python/PythonRunner.scala
index 24aa2ed66e5c..043734aff71f 100644
--- a/core/src/main/scala/org/apache/spark/api/python/PythonRunner.scala
+++ b/core/src/main/scala/org/apache/spark/api/python/PythonRunner.scala
@@ -90,6 +90,9 @@ private[spark] object PythonEvalType {
     case SQL_TRANSFORM_WITH_STATE_PANDAS_UDF => 
"SQL_TRANSFORM_WITH_STATE_PANDAS_UDF"
     case SQL_TRANSFORM_WITH_STATE_PANDAS_INIT_STATE_UDF =>
       "SQL_TRANSFORM_WITH_STATE_PANDAS_INIT_STATE_UDF"
+    case SQL_TRANSFORM_WITH_STATE_PYTHON_ROW_UDF => 
"SQL_TRANSFORM_WITH_STATE_PYTHON_ROW_UDF"
+    case SQL_TRANSFORM_WITH_STATE_PYTHON_ROW_INIT_STATE_UDF =>
+      "SQL_TRANSFORM_WITH_STATE_PYTHON_ROW_INIT_STATE_UDF"
   }
 }
 


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

Reply via email to