paul-rogers commented on PR #13201:
URL: https://github.com/apache/druid/pull/13201#issuecomment-1283259254

   Are we using Calcite to do the join reordering? If so, then it would be 
surprising if Calcite would allow invalid reordering. If we're doing it 
ourselves, then we do need to be careful: there are lots of tricky rules, such 
as the one Gian mentioned, for when join ordering is or is not allowed. 
Basically, if we're doing it ourselves, only reorder "plain" inner joins and we 
won't go wrong (though we may miss optimization opportunities.) Later, perhaps 
we can feed Calcite some proper cost estimates (however crude) and Calcite can 
do the task for us.


-- 
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]

Reply via email to