[AUTHZ] make FilteredShowObjectsExec extends V2CommandExec to avoid running executor side task#7202
Closed
LennonChin wants to merge 1 commit intoapache:masterfrom
Closed
[AUTHZ] make FilteredShowObjectsExec extends V2CommandExec to avoid running executor side task#7202LennonChin wants to merge 1 commit intoapache:masterfrom
LennonChin wants to merge 1 commit intoapache:masterfrom
Conversation
…unning executor side task
Contributor
Author
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7202 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 695 695
Lines 43505 43505
Branches 5888 5888
======================================
Misses 43505 43505 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
bowenliang123
pushed a commit
that referenced
this pull request
Sep 19, 2025
…Exec to avoid running executor side task Now FilteredShowObjectsExec is not a subclass of V2CommandExec, when it was executed it will invoke `def doExecute(): RDD[InternalRow]` method to submit executor side task to run, which is slow and resource wasting. V2CommandExec implemented `def executeCollect(): Array[InternalRow]` to avoid running `def doExecute(): RDD[InternalRow]`. ### Why are the changes needed? Improve perfomance. ### How was this patch tested? exists unit tests. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #7202 from LennonChin/authz_filtered_show_objects. Closes #7202 10b55e6 [Lennon Chin] [AUTHZ] make FilteredShowObjectsExec extends V2CommandExec to avoid running executor side task Authored-by: Lennon Chin <i@coderap.com> Signed-off-by: Bowen Liang <liangbowen@gf.com.cn> (cherry picked from commit 1bf71a8) Signed-off-by: Bowen Liang <liangbowen@gf.com.cn>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now FilteredShowObjectsExec is not a subclass of V2CommandExec, when it was executed it will invoke
def doExecute(): RDD[InternalRow]method to submit executor side task to run, which is slow and resource wasting. V2CommandExec implementeddef executeCollect(): Array[InternalRow]to avoid runningdef doExecute(): RDD[InternalRow].Why are the changes needed?
Improve perfomance.
How was this patch tested?
exists unit tests.
Was this patch authored or co-authored using generative AI tooling?
No.