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
Aggregate plan schema build error if aggr exprs contain cast and column #18975
The schema name of cast expr is same with column expr.
But the comment says Cast expr is not shown to be consistent with Postgres and Spark. So I don't know what is the right fix.
changed the title [-]Aggregate plan schema build error if aggr expr is cast[/-][+]Aggregate plan schema build error if aggr exprs contain cast and column[/+]on Nov 28, 2025
However looking at it from the cast expr name would be valid too, since if we remove the aliases from the query, I think we'd still run into this problem.
Activity
[-]Aggregate plan schema build error if aggr expr is cast[/-][+]Aggregate plan schema build error if aggr exprs contain cast and column[/+]Jefffrey commentedon Nov 28, 2025
Seems similar to #3353
I looked into #3353 a bit before, haven't gotten around to typing up my investigation/thoughts yet (hopefully soon)
Jefffrey commentedon Dec 2, 2025
Put my notes here: #3353 (comment)
However looking at it from the cast expr name would be valid too, since if we remove the aliases from the query, I think we'd still run into this problem.
lewiszlw commentedon Dec 3, 2025
Thanks for looking into it. As this issue is duplicate, feel free to close.
csv_query_approx_countonce binary type coercion PR is merged #3353