jayzhan211 commented on PR #27430: URL: https://github.com/apache/datafusion/pull/27430#issuecomment-7072114400
@vikrantmehta123 No need to change the `AggregateExec` arm. An aggregate's output names are unique: grouping by a column named `"max(t.x)"` next to `max(x)` is rejected at planning with "Schema contains qualified field name … ambiguous". So matching by name there finds the same field that matching by index would, and keeping it avoids changing the signature of `try_optimize_topk`. -- 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]
