Skip to content

Bad cast from type DB::ColumnVector<int> to DB::ColumnLowCardinality with enable_join_runtime_filters=1 #97847

@azat

Description

@azat

CI: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=97810&sha=f832979d2162146065876dd160482dfa2f640646&name_0=PR&name_1=AST%20fuzzer%20%28amd_debug%29

Repro

DROP TABLE IF EXISTS t0;
CREATE TABLE t0 (`c0` Dynamic(max_types=1)) ENGINE = MergeTree ORDER BY tuple();
SYSTEM STOP MERGES t0;
INSERT INTO t0 SETTINGS allow_suspicious_low_cardinality_types=1 SELECT 'str_' || toString(number) FROM numbers(100);
INSERT INTO t0 SETTINGS allow_suspicious_low_cardinality_types=1 VALUES (1::LowCardinality(Int32)), (2::LowCardinality(Int32));
SELECT t0.c0 FROM (SELECT NULL AS c0) AS v0 RIGHT JOIN t0 USING (c0)
SETTINGS allow_dynamic_type_in_join_keys=1, enable_join_runtime_filters=1;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions