mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Add LIMIT BY format test
This commit is contained in:
parent
11ba7049c0
commit
68c441e07b
10
tests/queries/0_stateless/01471_limit_by_format.reference
Normal file
10
tests/queries/0_stateless/01471_limit_by_format.reference
Normal file
@ -0,0 +1,10 @@
|
||||
SELECT dummy
|
||||
FROM system.one
|
||||
LIMIT 1 BY dummy
|
||||
LIMIT 1
|
||||
SELECT dummy
|
||||
FROM system.one
|
||||
LIMIT 1 BY
|
||||
0 + dummy,
|
||||
0 - dummy
|
||||
LIMIT 1
|
2
tests/queries/0_stateless/01471_limit_by_format.sql
Normal file
2
tests/queries/0_stateless/01471_limit_by_format.sql
Normal file
@ -0,0 +1,2 @@
|
||||
EXPLAIN SYNTAX SELECT * FROM system.one LIMIT 1 BY * LIMIT 1;
|
||||
EXPLAIN SYNTAX SELECT * FROM system.one LIMIT 1 BY 0+dummy, 0-dummy LIMIT 1;
|
Loading…
Reference in New Issue
Block a user