You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-51655][SQL] Fix metric collection in UnionLoopExec and add test
### What changes were proposed in this pull request?
Fix metrics collection method for Recursive CTEs. Also, add new metric which tracks the number of rows that the anchor returns.
### Why are the changes needed?
Current way of collecting metrics for recursive CTEs is incorrect.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
New test in SQLMetricsSuite.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes#50449 from Pajaraja/pavle-martinovic_data/MetricFixAndTestRecursiveCTE.
Authored-by: pavle-martinovic_data <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
0 commit comments