fix: Add support for MAX for NVARCHAR (#1232)

This commit is contained in:
Simon Sawert 2024-04-26 19:56:37 +02:00 committed by GitHub
parent 547c5cde14
commit b51f2a0c25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 6 deletions

View file

@ -431,6 +431,7 @@ fn parse_for_json_expect_ast() {
#[test]
fn parse_cast_varchar_max() {
ms_and_generic().verified_expr("CAST('foo' AS VARCHAR(MAX))");
ms_and_generic().verified_expr("CAST('foo' AS NVARCHAR(MAX))");
}
#[test]