summaryrefslogtreecommitdiffstats
path: root/tests/fixtures/identity.sql
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-12 10:17:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-12 10:17:12 +0000
commite53bec16fb5ba08b2ff8daf3ffe5467a7c24b757 (patch)
treec13a841e8033707ca74d492bac3ebfc5bd9dd393 /tests/fixtures/identity.sql
parentAdding upstream version 11.3.3. (diff)
downloadsqlglot-e53bec16fb5ba08b2ff8daf3ffe5467a7c24b757.tar.xz
sqlglot-e53bec16fb5ba08b2ff8daf3ffe5467a7c24b757.zip
Adding upstream version 11.3.6.upstream/11.3.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/fixtures/identity.sql')
-rw-r--r--tests/fixtures/identity.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/fixtures/identity.sql b/tests/fixtures/identity.sql
index 085880c..380d945 100644
--- a/tests/fixtures/identity.sql
+++ b/tests/fixtures/identity.sql
@@ -127,6 +127,8 @@ x ILIKE '%y%' ESCAPE '\'
INTERVAL '1' day
INTERVAL '1' MONTH
INTERVAL '1 day'
+INTERVAL '-1' CURRENT_DATE
+INTERVAL '-31' CAST(GETDATE() AS DATE)
INTERVAL 2 months
INTERVAL (1 + 3) DAYS
CAST('45' AS INTERVAL DAYS)