Skip to content

[SPARK-54664][CONNECT] Clean up the code related to listenerCache from connect.StreamingQueryManager#53420

Closed
LuciferYang wants to merge 4 commits intoapache:masterfrom
LuciferYang:StreamingQueryManager
Closed

[SPARK-54664][CONNECT] Clean up the code related to listenerCache from connect.StreamingQueryManager#53420
LuciferYang wants to merge 4 commits intoapache:masterfrom
LuciferYang:StreamingQueryManager

Conversation

@LuciferYang
Copy link
Contributor

@LuciferYang LuciferYang commented Dec 10, 2025

What changes were proposed in this pull request?

#41752 introduced a listenerCache and related private methods (cacheListenerById, getIdByListener, and removeCachedListener) for connect.StreamingQueryManager. However, in #46287, the usage related to listenerCache was replaced by streamingQueryListenerBus. As a result, listenerCache and its associated private methods are no longer in use, and this current pr cleans them up.

Why are the changes needed?

Code cleanup.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass Github Actions

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

No

@LuciferYang LuciferYang changed the title [CONNECT] Clean up the code related to listenerCache from connect.StreamingQueryManager [SPARK-54664][CONNECT] Clean up the code related to listenerCache from connect.StreamingQueryManager Dec 10, 2025
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @LuciferYang .

Merged to master for Apache Spark 4.2.0.

@LuciferYang
Copy link
Contributor Author

Thank you @dongjoon-hyun

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.

2 participants