DB Tsai created SPARK-62194:
-------------------------------
Summary: Window native Spark Connect result fetches and recover
host-stop cleanup
Key: SPARK-62194
URL: https://issues.apache.org/jira/browse/SPARK-62194
Project: Spark
Issue Type: Improvement
Components: Connect
Affects Versions: connect-rust-4.4.0
Reporter: DB Tsai
Submitting every partition allows a paused Spark Connect client to leave the
entire result buffered on the driver. Host SparkContext shutdown can also
strand cleanup, while configuration changes between preparation and fetching
need consistent guards and error handling.
Use ordered partition admission within one SQL execution and session scope,
with a strict concurrency bound and an approximate per-query IPC byte target.
Preserve executor-produced IPC and the producer/JNI API. Retry host-stop
cancellation and drain without replaying partial teardown, preserve the host
SparkEnv, roll back unsupported cleanup configuration mutations, test prepared
Arrow configuration consistency, preserve executor Arrow error identity and
reject operation-task reuse.
Whole partitions can exceed the byte target, and there is no aggregate heap
quota. No final-patch latency or GC improvement is claimed. See the PR for the
pinned-runtime validation and its limitations.
PR: https://github.com/apache/spark-connect-rust/pull/904
This pull request and its description were written by OpenAI Codex.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]