[CORE][UI] Fix fallback info for V2 writes and align plan with Spark SQL tab#11853
Open
Zouxxyy wants to merge 2 commits intoapache:mainfrom
Open
[CORE][UI] Fix fallback info for V2 writes and align plan with Spark SQL tab#11853Zouxxyy wants to merge 2 commits intoapache:mainfrom
Zouxxyy wants to merge 2 commits intoapache:mainfrom
Conversation
|
Run Gluten Clickhouse CI on x86 |
|
Run Gluten Clickhouse CI on x86 |
Contributor
Author
|
CC @zhztheplayer @JkSelf @jinchengchenghh for a look, thanks |
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.
What changes are proposed in this pull request?
Fix Gluten UI not displaying fallback info for V2 writes (e.g., Iceberg INSERT with sort order), and align the plan display with Spark SQL tab (consistent operator IDs, complete plan tree).
Root causes:
CommandResultExecandV2CommandExec, missing V2 write fallback reasons.Fix: Add
CommandResultExecrecursion inGlutenExplainUtils/GlutenImplicits/GlutenFallbackReporter. AddGlutenQueryExecutionListenerthat generates complete fallback data from the fully materializedQueryExecutionafter execution ends, posted as event for both live UI and History Server.We also considered a listener-side merge approach (accumulating per-stage events), but it cannot produce consistent operator IDs or a complete plan tree.
How was this patch tested?
Added test in
VeloxIcebergSuite. Verified on History Server.before
after
Was this patch authored or co-authored using generative AI tooling?
Generated-by: Kiro (Claude Opus 4.6), co-authored with Zouxxyy through iterative design, code review, and testing.