jayzhan211 commented on issue #15435:
URL: https://github.com/apache/datafusion/issues/15435#issuecomment-2756154926

   > Using `datafusion-optimizer` in `datafusion-sql` can lead to dependency 
issue:
   > 
   > ```
   > thread 'main' panicked at src/main.rs:84:9:
   > circular dependency detected from datafusion-optimizer to self via one of 
{"datafusion-functions-window", "datafusion-functions-window-common", 
"datafusion-expr-common", "datafusion-expr", "datafusion-physical-expr", 
"datafusion-doc", "datafusion-functions-aggregate-common", "datafusion-sql", 
"datafusion-execution", "datafusion-macros", "datafusion-physical-expr-common", 
"datafusion-functions-nested", "datafusion-functions", "datafusion-common", 
"datafusion-functions-aggregate"}
   > ```
   
   You shouldn't call the optimizer in sql, after the plan is built, we will 
call optimizer to rewrite the plan.


-- 
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: github-unsubscr...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to