raghavyadav01 commented on issue #26619: URL: https://github.com/apache/datafusion/issues/26619#issuecomment-6427973890
Reproduces on main at 833f499, with the error you quote: ``` SELECT a FROM t3 GROUP BY a, CAST(a AS VARCHAR) HAVING a > (SELECT min(a) FROM t3); Arrow error: Invalid argument error: Invalid comparison operation: Utf8View > Int32 ``` @alpaylan are you working on this one? If not I am happy to take it. Same shape as #26622, where the answer was to stop using a display name as if it identified the expression. Here `replace_map` is keyed by `schema_name()` in the `Aggregate` branch and by `qualified_name()` in `rewrite_projection`, and both collide once a node outputs `t.a` and `CAST(t.a AS ...)`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
