mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Add test.
This commit is contained in:
parent
09325ff17e
commit
d2630f8321
@ -164,7 +164,7 @@ struct ProjectionCandidate
|
|||||||
MergeTreeDataSelectAnalysisResultPtr merge_tree_projection_select_result_ptr;
|
MergeTreeDataSelectAnalysisResultPtr merge_tree_projection_select_result_ptr;
|
||||||
MergeTreeDataSelectAnalysisResultPtr merge_tree_normal_select_result_ptr;
|
MergeTreeDataSelectAnalysisResultPtr merge_tree_normal_select_result_ptr;
|
||||||
|
|
||||||
/// Becasue projection analysis uses a separate interpreter.
|
/// Because projection analysis uses a separate interpreter.
|
||||||
ContextPtr context;
|
ContextPtr context;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
CREATE TABLE test1__fuzz_37 (`i` Date) ENGINE = MergeTree ORDER BY i;
|
||||||
|
insert into test1__fuzz_37 values ('2020-10-10');
|
||||||
|
SELECT count() FROM test1__fuzz_37 GROUP BY dictHas(NULL, (dictHas(NULL, (('', materialize(NULL)), materialize(NULL))), 'KeyKey')), dictHas('test_dictionary', tuple(materialize('Ke\0'))), tuple(dictHas(NULL, (tuple('Ke\0Ke\0Ke\0Ke\0Ke\0Ke\0\0\0\0Ke\0'), materialize(NULL)))), 'test_dicti\0nary', (('', materialize(NULL)), dictHas(NULL, (dictHas(NULL, tuple(materialize(NULL))), 'KeyKeyKeyKeyKeyKeyKeyKey')), materialize(NULL)); -- { serverError BAD_ARGUMENTS }
|
||||||
|
|
||||||
|
SELECT count() FROM test1__fuzz_37 GROUP BY dictHas('non_existing_dictionary', materialize('a')); -- { serverError BAD_ARGUMENTS }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user