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

   ### What changes were proposed in this pull request?
   
   This PR proposes to revert back the behavior of idle progress for 
StreamingQuery API from 
[SPARK-43183](https://issues.apache.org/jira/browse/SPARK-43183), to avoid 
breakage of tests from 3rd party data sources.
   
   ### Why are the changes needed?
   
   We indicated that the behavioral change from SPARK-43183 broke many tests in 
3rd party data sources.
   (Short summary of SPARK-43183: we changed the behavior of idle progress to 
only provide idle event callback, instead of making progress update callback as 
well as adding progress for StreamingQuery API to provide as recent 
progresses/last progress.)
   
   The main rationale of SPARK-43183 was to avoid making progress update 
callback for idle event, which had been confused users. That is more about 
streaming query listener, and not necessarily had to change the behavior of 
StreamingQuery API as well.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, but the user-facing change is technically reduced before this PR, as we 
revert back the behavioral change partially from SPARK-43183, which wasn't 
released yet. 
   
   ### How was this patch tested?
   
   Modified tests. Also manually ran 3rd party data source tests which were 
broken with Spark 3.5.0 RC which succeeded with this change.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.


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