alamb opened a new issue, #13652: URL: https://github.com/apache/datafusion/issues/13652
### Is your feature request related to a problem or challenge? - Part of https://github.com/apache/datafusion/issues/13648 - Inspired by / copyed from https://github.com/apache/datafusion/pull/13651 from @wiedld This issue describes one technique we could use to reduce the breakages on downstream systems due to implicit changes (not explicit API changes) which can result in unintended consequences when upgrading to a new version of DataFusion. ### Describe the solution you'd like The idea is to make the current implicit assumptions ("Invariants" in more formal language)( explict and automatically check them. Examples of implicit assumptions: 1. Schema column names can't be repeated (this is explicitly mentioned on https://github.com/apache/datafusion/issues/13525) 2. Inputs to `UnionExec` must have the same schema 3. ... ### Describe alternatives you've considered I like the approach @wiedld took in https://github.com/apache/datafusion/pull/13651 : * define the invariants * check the invariants for extensible interfaces (which may be user defined) * throw the error closer to the problem (rather than weird behavior later) ### Additional context _No response_ -- 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.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