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

   ### What changes were proposed in this pull request?
   
   Regenerate the `pa.Array.from_pandas` type-scalar golden files so the 
`int64:standard` / `Int64:standard` -> `timestamp[us]` cells render `temporal 
overflow` instead of `ERR@OverflowError`. Golden files only; no code change.
   
   ### Why are the changes needed?
   
   The type-scalar golden (SPARK-58765, #57996) was generated before 
SPARK-58766 (#58000) taught `GoldenFileTestMixin._scalar_str` to render 
out-of-Python-range temporal scalars as `temporal overflow` rather than letting 
the per-scalar `str(...)` raise `OverflowError`. #58000 landed on master one 
commit before #57996 merged, so #57996's golden merged stale against the new 
renderer: those two cells still expect `ERR@OverflowError`, and 
`PyArrowArrayFromPandasTypeScalarTests` fails on current master. The test is 
registered under the `pyspark-core` module, so this red is visible to the 
scheduled Python builds and to any PR whose CI runs that module.
   
   ### Does this PR introduce any user-facing change?
   
   No (test-only).
   
   ### How was this patch tested?
   
   Regenerated with `SPARK_GENERATE_GOLDEN_FILES=1`; the diff is exactly the 
two `timestamp[us]` cells (safe and unsafe goldens). Swept pyarrow 18-25 x 
pandas 2/3: 16/16 pass.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Opus 4.8)
   


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