Add a test

This commit is contained in:
Alexey Milovidov 2023-02-09 21:49:11 +01:00
parent 3a75ede60a
commit 8c9be17b91
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,19 @@
2023-02-09
2023-02-10
2023-02-11
2023-02-12
2023-02-13
2023-02-14
2023-02-15
2023-02-16
2023-02-17
2023-02-18
2023-02-19
---
2023-02-09
2023-02-10
2023-02-11
2023-02-12
2023-02-13
\N
\N

View File

@ -0,0 +1,4 @@
SELECT toNullable('2023-02-09'::Date + number * 10) AS d FROM numbers(2) ORDER BY d WITH FILL;
SELECT '---';
SELECT number % 2 ? NULL : toNullable('2023-02-09'::Date + number) AS d FROM numbers(5) ORDER BY d ASC NULLS LAST WITH FILL;
-- TODO: NULLS FIRST does not work correctly with FILL.