theirix opened a new pull request, #19311: URL: https://github.com/apache/datafusion/pull/19311
## Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements, and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example,e `Closes #123` indicates that this PR will close issue #123. --> - Closes #. ## Rationale for this change Introduce a module for parsing and simplification of an SQL expression to a literal of a given type. This module provides functionality to parse and simplify static SQL expressions used in SQL constructs like `FROM TABLE SAMPLE (10 + 50 * 2)`. If they are required in a planning (not an execution) phase, they need to be reduced to literals of a given type. ## What changes are included in this PR? 1. New module with documentation and unit tests 2. A table sample example is switched to use this module for SQL parsing 3. A small fix-up to run `cargo run --package datafusion-examples --example relation_planner` instead of `cargo run --package datafusion-examples --example relation_planner -- all` ## Are these changes tested? - Unit tests - Table sample example runs ## Are there any user-facing changes? A new API is provided -- 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]
