gianm opened a new pull request, #5349: URL: https://github.com/apache/calcite/pull/5349
This patch adds the basics to get started with pipe syntax: FROM, and the pipe operators SELECT, WHERE, ORDER BY, and LIMIT. Pipe syntax is implemented in the core parser, and is available only in certain conformances. The approach is to keep the operators in the parse tree through validation, ultimately converting them to relational operators in SqlToRelConverter. This approach enables us to adhere to pipe syntax rules, especially the rules around table alias visibility and sort ordering retention. It also enables us to write pipe-syntax-aware error messages. To simplify validation and conversion, each pipe operator is associated with a surrogate SELECT that acts as its stand-in. The pipe operator itself is used for pipe-specific validations, and retaining the correct scopes and collations. -- 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]
