src/query/sql/README.md
src/query/sql/ is the query-side SQL crate (databend-common-sql). This is the place to start when a change is about SQL binding, logical planning, optimizer behavior, or SQL-side planner test infrastructure.
src/planner/ contains the binder, planner, optimizer, and related plan representations. Start here for most SQL semantics and optimizer tasks.src/executor/ contains SQL-side execution helpers that sit close to planning output.src/evaluator/ contains evaluation logic used by the SQL crate.test-support toolchain when you need to understand or debug SQL-layer behavior. It is the fastest way to replay planner/optimizer cases, inspect shared fixtures, and reason about SQL-side regressions before moving to heavier service-side debugging.tests/it/ contains integration tests for the SQL crate, including the lightweight planner replay coverage.test-support/ contains shared SQL test-support utilities and fixtures used by planner/optimizer tests.test-support/data/README.md when you need to answer any of these questions:
src/query/sql/tests/it/planner.rs and src/query/service/tests/it/sql/planner/optimizer/optimizer_test.rs changed after one optimizer-case edit;