LucaCappelletti94 opened a new pull request, #2484:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2484
`PostgreSqlDialect` could not parse the `VARIADIC` argument marker in a
function call, in any position:
```rust
Parser::parse_sql(&PostgreSqlDialect {}, "SELECT concat(VARIADIC a)");
// Err: sql parser error: Expected: ), found: a at Line: 1, Column: 24
```
The marker is added as `FunctionArg::Variadic`. Parsing is gated on
`Dialect::supports_variadic_function_argument`, enabled for `PostgreSQL` and
the generic dialect.
As in `PostgreSQL`, the marker is rejected on a wildcard operand, in
combination with `DISTINCT` or `ALL`, and on any but the final argument.
--
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]