mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Add a test
This commit is contained in:
parent
3a75ede60a
commit
8c9be17b91
19
tests/queries/0_stateless/02562_with_fill_nullable.reference
Normal file
19
tests/queries/0_stateless/02562_with_fill_nullable.reference
Normal 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
|
4
tests/queries/0_stateless/02562_with_fill_nullable.sql
Normal file
4
tests/queries/0_stateless/02562_with_fill_nullable.sql
Normal 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.
|
Loading…
Reference in New Issue
Block a user