gaoqiangz commented on code in PR #1498: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1498#discussion_r1831991242
########## tests/sqlparser_mssql.rs: ########## @@ -192,6 +192,35 @@ fn parse_mssql_apply_join() { ); } +#[test] +fn parse_mssql_cross_apply_json() { + let _ = ms().verified_only_select( + "SELECT B.kind, B.id_list \ + FROM t_test_table AS A \ + CROSS APPLY OPENJSON(A.param, '$.config') WITH (kind VARCHAR(20) '$.kind', [id_list] NVARCHAR(MAX) '$.id_list' AS JSON) AS B", + ); Review Comment: `GenericDialect` doesn't support brackets around the identifier. -- 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