Skip to content

Commit

Permalink
Add quidem test.
Browse files Browse the repository at this point in the history
  • Loading branch information
gianm committed Sep 18, 2024
1 parent 4997c2e commit e62b76e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions core/src/test/resources/sql/misc.iq
Original file line number Diff line number Diff line change
Expand Up @@ -1522,6 +1522,18 @@ order by empno;

!ok

# [CALCITE-6581] INTERVAL with WEEK and QUARTER
select timestamp '1970-01-01' + interval '2' week as w,
timestamp '1970-01-01 00:00:00' + interval '2' quarter as q;
+---------------------+---------------------+
| W | Q |
+---------------------+---------------------+
| 1970-01-15 00:00:00 | 1970-07-01 00:00:00 |
+---------------------+---------------------+
(1 row)

!ok

# [CALCITE-1486] Invalid "Invalid literal" error for complex expression
select 8388608/(60+27.39);
+-------------------+
Expand Down

0 comments on commit e62b76e

Please sign in to comment.