wiedld opened a new pull request, #14329: URL: https://github.com/apache/datafusion/pull/14329
## Which issue does this PR close? Part of https://github.com/apache/datafusion/issues/14029 ## Rationale for this change Enable logical plan invariants to be defined by the user. For this first use case (this PR), the user-defined invariants are provided on the extension nodes. ## What changes are included in this PR? At a high level: * document existing behavior for logical plan checks. * provide the structure for a user-defined `Invariant` * start by permitting a user-defined `Invariant` on an extension node. ## Are these changes tested? Yes ## Are there any user-facing changes? A new trait method is available (`UserDefinedLogicalNode::invariants()`), but is not required to implementations -- since the default implementation is given. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org