diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-10-10 08:53:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-10-10 08:53:10 +0000 |
commit | f7cb7fdb0fb5a8e2d053c1aa18dd98462401a64e (patch) | |
tree | 75bbd792c82b8d1e70b5561de82a5b270b61867c /tests/dialects/test_tsql.py | |
parent | Adding upstream version 18.11.2. (diff) | |
download | sqlglot-f7cb7fdb0fb5a8e2d053c1aa18dd98462401a64e.tar.xz sqlglot-f7cb7fdb0fb5a8e2d053c1aa18dd98462401a64e.zip |
Adding upstream version 18.11.6.upstream/18.11.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/dialects/test_tsql.py')
-rw-r--r-- | tests/dialects/test_tsql.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dialects/test_tsql.py b/tests/dialects/test_tsql.py index 7d89d06..fbd913d 100644 --- a/tests/dialects/test_tsql.py +++ b/tests/dialects/test_tsql.py @@ -32,7 +32,7 @@ class TestTSQL(Validator): self.validate_all( """CREATE TABLE [dbo].[mytable]( [email] [varchar](255) NOT NULL, - CONSTRAINT [UN_t_mytable] UNIQUE NONCLUSTERED + CONSTRAINT [UN_t_mytable] UNIQUE NONCLUSTERED ( [email] ASC ) @@ -343,7 +343,7 @@ class TestTSQL(Validator): "CAST(x as DOUBLE)", write={ "spark": "CAST(x AS DOUBLE)", - "tsql": "CAST(x AS DOUBLE)", + "tsql": "CAST(x AS FLOAT)", }, ) |