forked from ClickHouse/ClickHouse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a test by Denis Zhuravlev ClickHouse#2170
- Loading branch information
1 parent
f712f5b
commit cb63179
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
dbms/tests/queries/0_stateless/00816_key_condition_den_crane.reference
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
9 changes: 9 additions & 0 deletions
9
dbms/tests/queries/0_stateless/00816_key_condition_den_crane.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
USE test; | ||
|
||
drop table if exists testSegmtFault; | ||
CREATE TABLE testSegmtFault (key1 Int32, id1 Int64, c1 Int64) ENGINE = MergeTree PARTITION BY id1 ORDER BY (key1); | ||
insert into testSegmtFault values ( -1, 1, 0 ); | ||
|
||
SELECT count(*) FROM testSegmtFault PREWHERE id1 IN (1); | ||
|
||
drop table testSegmtFault; |