Add support for MSSQL's JSON_ARRAY/JSON_OBJECT expr (#1507)

Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
This commit is contained in:
gaoqiangz 2024-11-18 22:22:18 +08:00 committed by GitHub
parent f961efc0c9
commit 92be237cfc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 617 additions and 44 deletions

View file

@ -4402,8 +4402,9 @@ fn parse_explain_query_plan() {
#[test]
fn parse_named_argument_function() {
let dialects = all_dialects_where(|d| d.supports_named_fn_args_with_rarrow_operator());
let sql = "SELECT FUN(a => '1', b => '2') FROM foo";
let select = verified_only_select(sql);
let select = dialects.verified_only_select(sql);
assert_eq!(
&Expr::Function(Function {