mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-31 11:17:23 +00:00
Add support for MSSQL's JSON_ARRAY
/JSON_OBJECT
expr (#1507)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
This commit is contained in:
parent
f961efc0c9
commit
92be237cfc
9 changed files with 617 additions and 44 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue