DB Tsai created SPARK-60659:
-------------------------------
Summary: Support day-time interval inputs in the Rust Spark
Connect client
Key: SPARK-60659
URL: https://issues.apache.org/jira/browse/SPARK-60659
Project: Spark
Issue Type: Improvement
Components: Connect
Affects Versions: connect-rust-4.3.0
Reporter: DB Tsai
Fix For: connect-rust-4.3.0
SPARK-60607 adds result decoding of Arrow Duration(Microsecond) into Rust
Value::DayTimeInterval and Python datetime.timedelta. Input support is
intentionally deferred, as discussed in
https://github.com/apache/spark-connect-rust/pull/110.
Implement core create_dataframe Arrow Duration(Microsecond) builders and Python
timedelta conversion, including exact signed microsecond arithmetic and checked
overflow into i64. Cover inferred and explicit interval schemas, null-first
rows, nested structs/lists/maps, and createDataFrame(df.collect(), df.schema)
round trips. Coordinate inference and Arrow input changes with PRs #109 and
#113 rather than extending first-row inference in SPARK-60607.
Validate Rust and Python inputs against a real Spark Connect server, including
negative intervals, nulls, and boundary/overflow cases.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]