mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Add test.
This commit is contained in:
parent
41afc5938b
commit
70b4199869
@ -0,0 +1,16 @@
|
||||
{
|
||||
"meta":
|
||||
[
|
||||
{
|
||||
"name": "a",
|
||||
"type": "String"
|
||||
}
|
||||
],
|
||||
|
||||
"data":
|
||||
[
|
||||
|
||||
],
|
||||
|
||||
"rows": 0
|
||||
}
|
10
tests/queries/0_stateless/01660_second_extremes_bug.sql
Normal file
10
tests/queries/0_stateless/01660_second_extremes_bug.sql
Normal file
@ -0,0 +1,10 @@
|
||||
DROP TABLE IF EXISTS t;
|
||||
DROP TABLE IF EXISTS t_v;
|
||||
|
||||
CREATE TABLE t ( a String ) ENGINE = Memory();
|
||||
CREATE VIEW t_v AS SELECT * FROM t;
|
||||
SET output_format_write_statistics = 0;
|
||||
SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1;
|
||||
|
||||
DROP TABLE IF EXISTS t;
|
||||
DROP TABLE IF EXISTS t_v;
|
Loading…
Reference in New Issue
Block a user