xiedeyantu commented on PR #4301:
URL: https://github.com/apache/calcite/pull/4301#issuecomment-2807978488

   > > > Updating the process of Rules in Planner makes it seem very 
complicated. We can't just construct a new Planner directly?
   > > 
   > > 
   > > The planner has a lot of rules, I don't expect you want to insert them 
all by hand. All the enumerable rules are needed to generate running code.
   > 
   > If you directly rebuild a default Planner, it will come with default 
Rules. Is it because I misunderstood somewhere?
   
   When executing the `.iq` file, the planner is no longer rebuild for each SQL 
statement. The planner is now reused within each connection. We may need to 
refactor this framework to achieve rebuilding the planner every time. 


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

Reply via email to