ClickHouse/tests
Nicolae Vartolomei 8f1845185e Try fix pk in tuple performance
Possible approach for fixing #10574

The problem is that prepared sets are built correctly, it is a hash map of key -> set
where key is a hash of AST and list of data types (when we a list of
tuples of literals).

However, when the key is built from the index to try and find if there
exists a prepared set that would match it looks for data types of the
primary key (see how data_types is populated) because the primary key
has only one field (v in my example) it can not find the prepared set.

The patch looks for any prepared indexes where data types match for the
subset of fields found in primary key, we are not interested in other
fields anyway for the purpose of primary key pruning.
2020-06-30 16:33:38 +01:00
..
config Revert "Addition to #11184" 2020-06-09 19:39:26 +03:00
external_models/catboost
fuzz
instructions
integration Merge pull request #12015 from vitlibar/fix-access-rights-allow-ddl-0 2020-06-29 15:14:22 +03:00
perf_drafts
performance Update cpu_synthetic.xml 2020-06-30 15:14:18 +03:00
queries Try fix pk in tuple performance 2020-06-30 16:33:38 +01:00
users.d
.gitignore
clickhouse-client.xml
clickhouse-test Put clickhouse-local data to /tmp by default 2020-06-24 22:03:28 +03:00
clickhouse-test-server
client-test.xml
CMakeLists.txt
CTestCustom.cmake
decimals_dictionary.xml
ints_dictionary.xml
msan_suppressions.txt Added MSan suppression for Hyperscan 2020-06-19 22:28:49 +03:00
server-test.xml add max_thread_pool_size setting to tests 2020-06-15 22:04:30 -07:00
stress
strings_dictionary.xml
tsan_suppressions.txt
users.xml