Skip to content

[SPARK-46722][CONNECT] Add a test regarding to backward compatibility check for StreamingQueryListener in Spark Connect (Scala/PySpark)#44736

Closed
HeartSaVioR wants to merge 4 commits intoapache:masterfrom
HeartSaVioR:SPARK-46722
Closed

[SPARK-46722][CONNECT] Add a test regarding to backward compatibility check for StreamingQueryListener in Spark Connect (Scala/PySpark)#44736
HeartSaVioR wants to merge 4 commits intoapache:masterfrom
HeartSaVioR:SPARK-46722

Conversation

@HeartSaVioR
Copy link
Contributor

What changes were proposed in this pull request?

This PR proposes to add a functionality to perform backward compatibility check for StreamingQueryListener in Spark Connect (both Scala and PySpark), specifically implementing onQueryIdle or not.

Why are the changes needed?

We missed to add backward compatibility test when introducing onQueryIdle, and it led to an issue in PySpark (https://issues.apache.org/jira/browse/SPARK-45631). We added the compatibility test in PySpark but didn't add it in Spark Connect.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Modified UTs.

Was this patch authored or co-authored using generative AI tooling?

No.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just an indentation change, with receiving test_listener from outside of the method.

@HeartSaVioR
Copy link
Contributor Author

cc. @zsxwing @viirya @anishshri-db @HyukjinKwon Please take a look. Thanks!

@HeartSaVioR
Copy link
Contributor Author

Thanks! Merging to master.

Copy link
Member

@viirya viirya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants