benbellick opened a new issue, #25344: URL: https://github.com/apache/datafusion/issues/25344
### Is your feature request related to a problem or challenge? To support #23569, the optimizer needs a trustworthy way to identify functions that can be used when reasoning about existing range partitioning. DataFusion already tracks properties such as ordering and monotonicity, but those properties alone do not indicate that a function has been explicitly reviewed for this use. Relying on them directly could allow transformations whose behavior around range boundaries has not been considered. ### Describe the solution you'd like Establish an explicit, default-deny contract for functions that support range-partitioning analysis. Initially audit `date_bin` and `date_trunc` and expose whether their expressions satisfy that contract. The result should be a well-defined and tested capability that partition-satisfaction logic and other range-aware consumers can rely on. ### Additional context Part of #23569 and the staged approach proposed in https://github.com/apache/datafusion/pull/24501#issuecomment-5589790676. -- 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]
