mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Move old bug to test
This commit is contained in:
parent
1a4181b4ac
commit
38e55c7883
@ -0,0 +1,6 @@
|
||||
A
|
||||
B
|
||||
C
|
||||
A
|
||||
B
|
||||
C
|
@ -7,7 +7,7 @@ CREATE TABLE IF NOT EXISTS testTable (
|
||||
) ENGINE MergeTree()
|
||||
ORDER BY (A);
|
||||
|
||||
INSERT INTO testTable VALUES ('A', 1),('B',2),('C',3)
|
||||
INSERT INTO testTable VALUES ('A', 1),('B',2),('C',3);
|
||||
|
||||
CREATE VIEW testView AS
|
||||
SELECT
|
||||
@ -18,7 +18,7 @@ FROM
|
||||
|
||||
SELECT CAST(ALow, 'String') AS AStr
|
||||
FROM testView
|
||||
GROUP BY AStr;
|
||||
GROUP BY AStr ORDER BY AStr;
|
||||
|
||||
DROP TABLE testTable;
|
||||
|
||||
@ -30,7 +30,13 @@ ORDER BY (A);
|
||||
|
||||
SELECT CAST(ALow, 'String') AS AStr
|
||||
FROM testView
|
||||
GROUP BY AStr;
|
||||
GROUP BY AStr ORDER BY AStr;
|
||||
|
||||
INSERT INTO testTable VALUES ('A', 1),('B',2),('C',3);
|
||||
|
||||
SELECT CAST(ALow, 'String') AS AStr
|
||||
FROM testView
|
||||
GROUP BY AStr ORDER BY AStr;
|
||||
|
||||
DROP TABLE IF EXISTS testView;
|
||||
DROP TABLE IF EXISTS testTable;
|
Loading…
Reference in New Issue
Block a user