Please see [Query Optimizer] in the Library User Guide [query optimizer]: https://datafusion.apache.org/library-user-guide/query-optimizer.html