Files
datafusion/datafusion/optimizer
Andrew Lamb 89a8576171 docs: Document that adding new optimizer rules are expensive (#20348)
## Which issue does this PR close?

- Similarly to https://github.com/apache/datafusion/pull/20346

## Rationale for this change

As part of PR reviews, it seems like it is not obvious to some
contributors that there is a non trivial cost to adding new optimizer
rules. Let's add that knowledge into the codebase as comments, so it may
be less of a surprise

## What changes are included in this PR?

Add comments
## Are these changes tested?
N/A
## Are there any user-facing changes?
No this is entirely internal comments oly

---------

Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
2026-02-23 11:21:17 +00:00
..

Apache DataFusion Optimizer

Apache DataFusion is an extensible query execution framework, written in Rust, that uses Apache Arrow as its in-memory format.

This crate contains the DataFusion logical optimizer. Please see Query Optimizer in the Library User Guide for more information.

Most projects should use the datafusion crate directly, which re-exports this module. If you are already using the datafusion crate, there is no reason to use this crate directly in your project as well.