gianm commented on issue #17951: URL: https://github.com/apache/druid/issues/17951#issuecomment-2861775184
Possibly the same issue as #17949? Fwiw, I tried this query with `"plannerStrategy": "DECOUPLED"` and it generated the correct plan. So the issue must be with the coupled planner rules, possibly the file @cryptoe pointed at. There were some changes to that file in #14510 that look possibly related. A bunch of code was added in that patch that unwraps `DruidOuterQueryRel` in various ways; perhaps one of these sections is doing an incorrect operation. If so, that would explain why the expression is seemingly drawn from the wrong subquery. -- 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]
