Describe the bug
cargo test physical_planner succeeds, no failures.
cargo test physical_planner --profile release-nonlto fails with:
failures:
---- physical_planner::tests::test_optimization_invariant_checker stdout ----
thread 'physical_planner::tests::test_optimization_invariant_checker' (69497) panicked at datafusion/core/src/physical_planner.rs:4291:14:
called `Result::unwrap_err()` on an `Ok` value: ()
active toolchain
----------------
name: 1.93.0-x86_64-unknown-linux-gnu
To Reproduce
No response
Expected behavior
Tests should succeed using the release-nonlto profile.
Additional context
No response