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
[tree explain] Simplify display format of AggregateFunctionExpr #15252
I debugged the code and found that the name of AggregateFunctionExpr is constructed in create_aggregate_expr_and_maybe_filter. In this function, debug information is generated for all Expr instances through Expr's SchemaDisplay.
To address this issue, I propose the following solution:
Add a new member sql_name to AggregateFunctionExpr.
Introduce a new method fmt_sql_name() for Expr, similar to schema_name(), and override it in AggregateFunction to generate sql_name.
Modify fmt_as in AggregateExec to output aggr_expr.sql_name instead of aggr_expr.name.
Activity
irenjj commentedon Mar 15, 2025
take