ClickHouse/tests/queries
Azat Khuzhin d476a4a9bd Add type conversion for optimize_skip_unused_shards_rewrite_in
MSan reports [1]:

    2021.04.17 15:20:06.665152 [ 56 ] {2336bf92-0269-4acd-8b3f-f09623223d18} <Debug> executeQuery: (from [::1]:44744, using production parser) SELECT * FROM dist_01757 WHERE dummy IN ('255', 0) FORMAT Null
    ...
    0 0x305af885 in (anonymous namespace)::shardContains() obj-x86_64-linux-gnu/../src/Interpreters/OptimizeShardingKeyRewriteInVisitor.cpp:50:28
    ...
    Uninitialized value was created by an allocation of 'sharding_value' in the stack frame of function '_ZN12_GLOBAL__N_113shardContainsERKN2DB5FieldERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEERKNS4_10shared_ptrINS0_17ExpressionActionsEEESC_RKNS0_7Cluster9ShardInfoERKNS4_6vectorImNS8_ImEEEE'
    0 0x305ae260 in (anonymous namespace)::shardContains() obj-x86_64-linux-gnu/../src/Interpreters/OptimizeShardingKeyRewriteInVisitor.cpp:42

  [1]: https://clickhouse-test-reports.s3.yandex.net/23212/d02eb3f6b7a8dc07bbed5605e1afcf7634436b3a/fuzzer_msan/report.html#fail1

P.S. fuzzers are great!
2021-04-19 00:03:38 +03:00
..
0_stateless Add type conversion for optimize_skip_unused_shards_rewrite_in 2021-04-19 00:03:38 +03:00
1_stateful Update 00084_external_aggregation to avoid using mmap 2021-04-17 10:37:58 +03:00
bugs
__init__.py
.gitignore
conftest.py
query_test.py Another attempt to enable pytest (#22664) 2021-04-14 19:35:17 +03:00
server.py
shell_config.sh Merge branch 'master' into postgresql-protocol-with-row-policy 2021-04-14 14:50:28 +03:00
skip_list.json Merge pull request #22755 from kssenii/postgresql-protocol-with-row-policy 2021-04-17 01:55:30 +03:00