This document enumerates invariants of DataFusion’s logical and physical planes (functions, and nodes). Some of these invariants are currently not enforced. This document assumes that the reader is familiar with some of the codebase, including rust arrow’s RecordBatch and Array.