LuciferYang opened a new pull request, #53933:
URL: https://github.com/apache/spark/pull/53933

   ### What changes were proposed in this pull request?
   Similar to https://github.com/apache/spark/pull/53910, this pr pins the 
pandas version to 2.3.3.
   
   
   ### Why are the changes needed?
   To  restore SQL tests for maven daily test.
   - https://github.com/apache/spark/actions/runs/21249870076/job/61148348328
   
   ```
   - udf/postgreSQL/udf-case.sql - Scalar Pandas UDF *** FAILED ***
     udf/postgreSQL/udf-case.sql - Scalar Pandas UDF
     Python: 3.11 Pandas: 3.0.0 PyArrow: 23.0.0
     Expected Some("struct<Two:string,i:int,f:double,i:int,j:int>"), but got 
Some("struct<>") Schema did not match for query #30
     SELECT '' AS `Two`, *
       FROM CASE_TBL a, CASE2_TBL b
       WHERE udf(COALESCE(f,b.i) = 2): -- !query
     SELECT '' AS `Two`, *
       FROM CASE_TBL a, CASE2_TBL b
       WHERE udf(COALESCE(f,b.i) = 2)
     -- !query schema
     struct<>
     -- !query output
     org.apache.spark.SparkRuntimeException
     {
       "errorClass" : "CAST_INVALID_INPUT",
       "sqlState" : "22018",
       "messageParameters" : {
         "ansiConfig" : "\"spark.sql.ansi.enabled\"",
         "expression" : "'nan'",
         "sourceType" : "\"STRING\"",
         "targetType" : "\"BOOLEAN\""
       },
       "queryContext" : [ {
         "objectType" : "",
         "objectName" : "",
         "startIndex" : 62,
         "stopIndex" : 85,
         "fragment" : "udf(COALESCE(f,b.i) = 2)"
       } ]
     } (SQLQueryTestSuite.scala:681)
   ```
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   monitor maven daily test after pr merged
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to