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.
Merge pull request ClickHouse#62624 from kitaisreal/join-filter-push-…
…down-right-stream-filled-crash-fix JOIN filter push down right stream filled crash fix
- Loading branch information
Showing
3 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
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
Empty file.
25 changes: 25 additions & 0 deletions
25
tests/queries/0_stateless/03095_join_filter_push_down_right_stream_filled.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,25 @@ | ||
DROP TABLE IF EXISTS t1__fuzz_0; | ||
CREATE TABLE t1__fuzz_0 | ||
( | ||
`x` UInt8, | ||
`str` String | ||
) | ||
ENGINE = MergeTree ORDER BY x; | ||
|
||
INSERT INTO t1__fuzz_0 SELECT number, toString(number) FROM numbers(10); | ||
|
||
DROP TABLE IF EXISTS left_join__fuzz_2; | ||
CREATE TABLE left_join__fuzz_2 | ||
( | ||
`x` UInt32, | ||
`s` LowCardinality(String) | ||
) ENGINE = Join(`ALL`, LEFT, x); | ||
|
||
INSERT INTO left_join__fuzz_2 SELECT number, toString(number) FROM numbers(10); | ||
|
||
SELECT 14 FROM t1__fuzz_0 LEFT JOIN left_join__fuzz_2 USING (x) | ||
WHERE pointInPolygon(materialize((-inf, 1023)), [(5, 0.9998999834060669), (1.1920928955078125e-7, 100.0000991821289), (1.000100016593933, 100.0000991821289)]) | ||
ORDER BY toNullable('202.79.32.10') DESC NULLS LAST, toNullable(toLowCardinality(toUInt256(14))) ASC, x DESC NULLS LAST; | ||
|
||
DROP TABLE t1__fuzz_0; | ||
DROP TABLE left_join__fuzz_2; |