tv42 opened a new issue, #15443: URL: https://github.com/apache/datafusion/issues/15443
### Describe the bug https://docs.rs/datafusion/46.0.1/datafusion/common/struct.Constraints.html#method.new_unverified > Users should use the `empty` or `new_from_table_constraints` functions for constructing `Constraints`. There is no `new_from_table_constraints`. Commit 54bd26ed12f854b87d20f0d70ac64c02fcd5150f replaced `Constraints::new_from_table_constraints` with `SqlToRel::new_constraint_from_table_constraints`, but that function is private: https://github.com/apache/datafusion/blob/4cb8aafffeaccea73ab3971687114944a520d6c6/datafusion/sql/src/statement.rs#L1550 Ping @findepi ### To Reproduce _No response_ ### Expected behavior _No response_ ### 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