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

   ### What changes were proposed in this pull request?
   https://github.com/apache/spark/pull/41458 updated `numeric.sql.out` but not 
update `numeric.sql.out.java21`, this pr updated `numeric.sql.out.java21` for 
Java 21.
   
   
   ### Why are the changes needed?
   Fix golden file for Java 21.
   
   https://github.com/apache/spark/actions/runs/5362442727/jobs/9729315685
   
   ```
   2023-06-24T04:54:07.6401972Z [info] - 
postgreSQL/numeric.sql *** FAILED *** (1 minute, 4 seconds)
   2023-06-24T04:54:07.6403269Z [info]   
postgreSQL/numeric.sql
   2023-06-24T04:54:07.6404580Z [info]   Expected 
"...OLUMN_ARITY_MISMATCH[",
   2023-06-24T04:54:07.6405125Z [info]     
"sqlState" : "21S01",
   2023-06-24T04:54:07.6405768Z [info]     
"messageParameters" : {
   2023-06-24T04:54:07.6406338Z [info]       
"dataColumns" : "'id', 'id', 'val', 'val', '(val * val)'",
   2023-06-24T04:54:07.6412205Z [info]       
"reason" : "too many data columns",
   2023-06-24T04:54:07.6415614Z [info]       
"tableColumns" : "'id1', 'id2', 'result']",
   2023-06-24T04:54:07.6418983Z [info]       
"tableName" :...", but got 
"...OLUMN_ARITY_MISMATCH[.TOO_MANY_DATA_COLUMNS",
   2023-06-24T04:54:07.6584005Z [info]     
"sqlState" : "21S01",
   2023-06-24T04:54:07.6584598Z [info]     
"messageParameters" : {
   2023-06-24T04:54:07.6585164Z [info]       
"dataColumns" : "`id`, `id`, `val`, `val`, `(val * val)`",
   2023-06-24T04:54:07.6585707Z [info]       
"tableColumns" : "`id1`, `id2`, `result`]",
   2023-06-24T04:54:07.6586483Z [info]       
"tableName" :..." Result did not match for query #474
   2023-06-24T04:54:07.6595826Z [info]   INSERT 
INTO num_result SELECT t1.id, t2.id, t1.val, t2.val, t1.val * t2.val
   2023-06-24T04:54:07.6604080Z [info]       FROM 
num_data t1, num_data t2 (SQLQueryTestSuite.scala:848)
   2023-06-24T04:54:07.6617182Z [info]   
org.scalatest.exceptions.TestFailedException:
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   - Pass GitHub Actions
   - Manual checked using Java 21


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