wiedld commented on code in PR #13651: URL: https://github.com/apache/datafusion/pull/13651#discussion_r1889674717
########## datafusion/expr/src/logical_plan/plan.rs: ########## @@ -1125,6 +1126,14 @@ impl LogicalPlan { } } + /// These are invariants to hold true for each logical plan. + pub fn assert_invariants(&self) -> Result<()> { + // Refer to <https://datafusion.apache.org/contributor-guide/specification/invariants.html#relation-name-tuples-in-logical-fields-and-logical-columns-are-unique> + assert_unique_field_names(self)?; Review Comment: I've added this to the followup items list: https://github.com/apache/datafusion/issues/13652#issuecomment-2550443777 -- 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