You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "gianm (via GitHub)" <gi...@apache.org> on 2025/05/08 04:57:27 UTC

Re: [I] Incorrect virtual column reference in `UNNEST` native query plan (druid)

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: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org