HyukjinKwon opened a new pull request, #746:
URL: https://github.com/apache/spark-connect-rust/pull/746

   ### What changes were proposed in this pull request?
   
   Fixes for what a review of the last 200 commits found outside ML, so that 
the Python client behaves as PySpark 4.3.0:
   - Types: JSON type strings parse with PySpark's prefix patterns, and 
`null`/`calendarinterval` fail as there. `CalendarIntervalType` pickles as 
`"interval"`. A type hashes as `hash(str(self))`. A server UDT column keeps its 
`sqlType` in `df.schema.json()`.
   - Columns: the `when` of a CASE WHEN gets no origin, and `between`, 
`getItem`, `asc` and `desc` send the origins of PySpark's dunders. 
`alias`/`name` take bytes and raise protobuf's TypeError for other values. 
Copies keep a Column's attributes.
   - `TableArg` checks its state before its columns and can be copied. 
GroupedData, Catalog and WindowSpec copies keep their attributes. UDF and UDTF 
calls raise AssertionError for literal arguments, and UDTFs no longer have a 
`name`.
   - Rust core: the doc and a test of an abort after the future ended. The live 
core integration test runs in CI and checks a conf value.
   - CI: a guard that a workflow runs every Python e2e file, plus docs and 
wheel path filters.
   - Docs: deep plans, call-time conversions, `TableArg` pickle, the key order 
of `getMessageParameters()`, char/varchar errors, stale names.
   
   ### Why are the changes needed?
   
   They are differences from PySpark and gaps in CI that the review found.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, the Python client matches PySpark in the cases above.
   
   ### How was this patch tested?
   
   Three new offline test files, a new e2e test and a new runtime test. The CI 
offline, e2e and Rust suites pass locally against Spark 4.3.0.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 5.5
   
   This pull request and its description were written by Isaac.
   


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