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
{{ message }}
Repository navigation
Stop copying LogicalPlan and Exprs in SingleDistinctToGroupBy #10295
Activity
appletreeisyellow commentedon May 13, 2024
I'd like to take this one if no one has worked on it yet
alamb commentedon May 13, 2024
Thanks @appletreeisyellow -- that would be great. No one has started as far as I can tell.
alamb commentedon May 13, 2024
I took a quick look at
datafusion/datafusion/optimizer/src/single_distinct_to_groupby.rs
Line 59 in 58cc4e1
Looks to me like there are basically 2 things to do:
OptimizerRule::rewriteAPI (as in implement rewrite for FilterNullJoinKeys #10166)expr.clone()calls heredatafusion/datafusion/optimizer/src/single_distinct_to_groupby.rs
Line 131 in 58cc4e1
Once you do 1. 2 should be pretty simple (maybe even just remove the
.clone()appletreeisyellow commentedon May 13, 2024
@alamb Thank you for the guidance!