aharpervc opened a new pull request, #1866: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1866
This PR adds support for default values for parameters, as documented here: https://learn.microsoft.com/en-us/sql/t-sql/statements/create-function-transact-sql?view=sql-server-ver17#--default- The concept of a parameter default value already existed on the `OperateFunctionArg` struct, but was hardcoded to `None`. That logic has been updated to conditionally consume `=` & parse an Expr. Since this is relevant for SQL Server, a new test was added to `sqlparser_mssql.rs` accordingly. -- 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 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