[
https://issues.apache.org/jira/browse/SPARK-61098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
DB Tsai updated SPARK-61098:
----------------------------
Fix Version/s: connect-rust-4.3.0
> Deliver streaming query start callbacks before returning the query
> ------------------------------------------------------------------
>
> Key: SPARK-61098
> URL: https://issues.apache.org/jira/browse/SPARK-61098
> Project: Spark
> Issue Type: Bug
> Components: Connect
> Affects Versions: connect-rust-4.3.0
> Reporter: DB Tsai
> Priority: Major
> Fix For: connect-rust-4.3.0
>
>
> DataStreamWriter.start() reads the query ID and name from
> WriteStreamOperationStartResult but ignores query_started_event_json. The
> listener dispatcher accepts only progress, idle and termination events.
> Consequently a registered onQueryStarted callback is never called. Official
> PySpark dispatches this callback synchronously before start() returns.
> Deliver the start event exactly once to the session listeners and preserve
> callback error behavior, with regression coverage.
> Observed by source inspection of public apache/spark-connect-rust master
> 83d74462ec41012993176cf3af99017576688eb8. Runtime regression tests will
> accompany the fix.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]