buraksenn opened a new pull request, #23323: URL: https://github.com/apache/datafusion/pull/23323
## Which issue does this PR close? - Closes #20786 ## Rationale for this change `test_optimization_invariant_checker` panics under `release-nonlto` profile which has debug_assertions=false. Thus, we need to gate ## What changes are included in this PR? Make sure debug_assertion required places are behind that gate ## Are these changes tested? Yes and this is test only change. ``` cargo test physical_planner --profile release-nonlto ``` now passes since we skip these checks as they are not supported in that profile ## Are there any user-facing changes? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
