[GLUTEN-8580][CORE][Part-2] Don't validate project generated by PushDownInputFileExpression#8585
[GLUTEN-8580][CORE][Part-2] Don't validate project generated by PushDownInputFileExpression#8585zhztheplayer merged 3 commits intoapache:mainfrom
Conversation
|
Run Gluten Clickhouse CI on x86 |
|
I'd help attach a query optimization example by the feature to help one better understand how #7124 works (it helped me on revisiting the code): |
| plan.foreachUp { | ||
| case p if FallbackTags.maybeOffloadable(p) => addFallbackTag(p) | ||
| case _ => | ||
| } |
There was a problem hiding this comment.
Why this change is needed? Thanks.
There was a problem hiding this comment.
Those that have been tagged do not need to validate again , and #8580 issus1 can be resolved.
There was a problem hiding this comment.
I don’t quite understand. The exclusive tag is not related to validate. The warning log is output by validate of addFallbackTag.
There was a problem hiding this comment.
Exclusive tag could be added by PushDownInputFileExpression so validator doesn't add another tag.
Though I will be fine to both approaches.
There was a problem hiding this comment.
Do you have any other comments @zhztheplayer thank you
| } | ||
|
|
||
| def addFallbackTag(plan: SparkPlan): SparkPlan = { | ||
| FallbackTags.add(plan, "fallback input file expression") |
There was a problem hiding this comment.
Can we rephrase with The Project was added by rule PushDownInputFileExpression, it's not offload-able by design or so? Thanks.
There was a problem hiding this comment.
I thought about it, this project will eventually be removed or collapsed, so is it more appropriate to keep the original one?
There was a problem hiding this comment.
OK. I am fine with the message then.
|
Run Gluten Clickhouse CI on x86 |
|
Run Gluten Clickhouse CI on x86 |
|
Run Gluten Clickhouse CI on x86 |
|
Another problem was discovered. SparkPlan without logical link will not display the fallback reason on the UI. This problem will be solved in next pr. See how to modify the GlutenFallbackReporter to see whether it is necessary to copy the fallback reason of the physical plan to the logical. |
|
Run Gluten Clickhouse CI on x86 |
1 similar comment
|
Run Gluten Clickhouse CI on x86 |
…ownInputFileExpression (apache#8585)
What changes were proposed in this pull request?
(Fixes: #8580)
How was this patch tested?