ClickHouse/dbms/src/Dictionaries
Amos Bird 26ab5dd7a7 A Proper lookup table that uses HashTable's API
This is the first step of allowing heterogeneous cells in hash tables.

performance test results are

```

1. HashMap<UInt16, UInt8, TrivialHash, HashTableFixedGrower<16>>;
2. NewLookupMap<UInt16, UInt8>

ResolutionWidth 30000 1 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................223550276.46
ResolutionWidth 30000 2 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................248772721.24
Best: 2 - 24877272124

ResolutionWidth 100000 1 ..........................................................................................................................................................................................................................................................238498413.99
ResolutionWidth 100000 2 ..........................................................................................................................................................................................................................................................261808889.98
Best: 2 - 26180888998

ResolutionWidth 300000 1 ...................................................................................239307348.81
ResolutionWidth 300000 2 ...................................................................................257592761.30
Best: 2 - 25759276130

ResolutionWidth 1000000 1 .........................240144759.26
ResolutionWidth 1000000 2 .........................257093531.91
Best: 2 - 25709353191

ResolutionWidth 5000000 1 .....241573260.35
ResolutionWidth 5000000 2 .....259314162.79
Best: 2 - 25931416279

ResolutionDepth 30000 1 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................217108119.84
ResolutionDepth 30000 2 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................249459504.41
Best: 2 - 24945950441

ResolutionDepth 100000 1 ..........................................................................................................................................................................................................................................................229065162.17
ResolutionDepth 100000 2 ..........................................................................................................................................................................................................................................................253769105.64
Best: 2 - 25376910564

ResolutionDepth 300000 1 ...................................................................................233079225.18
ResolutionDepth 300000 2 ...................................................................................256316273.78
Best: 2 - 25631627378

ResolutionDepth 1000000 1 .........................234184633.51
ResolutionDepth 1000000 2 .........................261100491.57
Best: 2 - 26110049157

ResolutionDepth 5000000 1 .....233118795.66
ResolutionDepth 5000000 2 .....252436160.41
Best: 2 - 25243616041

```
2019-03-01 16:47:13 +08:00
..
Embedded Fixed bugs found by PVS-Studio 2019-01-09 18:44:20 +03:00
tests CLICKHOUSE-3878: Build fixes 2018-08-16 01:00:28 +03:00
CacheDictionary_generate1.cpp.in CLICKHOUSE-4137 DictionaryFactory, DictionarySourceFactory (#3653) 2018-11-28 14:37:12 +03:00
CacheDictionary_generate2.cpp.in CLICKHOUSE-4137 DictionaryFactory, DictionarySourceFactory (#3653) 2018-11-28 14:37:12 +03:00
CacheDictionary_generate3.cpp.in CLICKHOUSE-4137 DictionaryFactory, DictionarySourceFactory (#3653) 2018-11-28 14:37:12 +03:00
CacheDictionary.cpp Fix UB in IsIn function of cache dictionary and typo in integration test. 2019-02-26 17:52:55 +03:00
CacheDictionary.h IDictionary::getBlockInputStream() function, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:49:03 +03:00
CacheDictionary.inc.h Fix style 2018-12-10 18:50:58 +03:00
ClickHouseDictionarySource.cpp Removed preemptive load of external dictionaries in presence of Dictionary database 2019-02-04 22:45:22 +03:00
ClickHouseDictionarySource.h Setting user when doing in-process loading of dictionaries (incomplete) 2019-01-29 22:05:32 +03:00
CMakeLists.txt Build fixes (FreeBSD port) (#4397) 2019-02-15 14:46:07 +03:00
ComplexKeyCacheDictionary_createAttributeWithType.cpp Fix style 2018-12-10 18:50:58 +03:00
ComplexKeyCacheDictionary_generate1.cpp.in CLICKHOUSE-4137 DictionaryFactory, DictionarySourceFactory (#3653) 2018-11-28 14:37:12 +03:00
ComplexKeyCacheDictionary_generate2.cpp.in CLICKHOUSE-4137 DictionaryFactory, DictionarySourceFactory (#3653) 2018-11-28 14:37:12 +03:00
ComplexKeyCacheDictionary_generate3.cpp.in CLICKHOUSE-4137 DictionaryFactory, DictionarySourceFactory (#3653) 2018-11-28 14:37:12 +03:00
ComplexKeyCacheDictionary_setAttributeValue.cpp clang-format of dbms/src/Dictionaries/* 2018-12-10 18:25:45 +03:00
ComplexKeyCacheDictionary_setDefaultAttributeValue.cpp clang-format of dbms/src/Dictionaries/* 2018-12-10 18:25:45 +03:00
ComplexKeyCacheDictionary.cpp A Proper lookup table that uses HashTable's API 2019-03-01 16:47:13 +08:00
ComplexKeyCacheDictionary.h A Proper lookup table that uses HashTable's API 2019-03-01 16:47:13 +08:00
ComplexKeyHashedDictionary.cpp A Proper lookup table that uses HashTable's API 2019-03-01 16:47:13 +08:00
ComplexKeyHashedDictionary.h IDictionary::getBlockInputStream() function, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:49:03 +03:00
DictionaryBlockInputStream.h Updated test #4246 2019-02-10 19:55:12 +03:00
DictionaryBlockInputStreamBase.cpp IDictionary::getBlockInputStream() function, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:49:03 +03:00
DictionaryBlockInputStreamBase.h IDictionary::getBlockInputStream() function, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:49:03 +03:00
DictionaryFactory.cpp Setting user when doing in-process loading of dictionaries (incomplete) 2019-01-29 22:05:32 +03:00
DictionaryFactory.h CLICKHOUSE-4137 DictionaryFactory, DictionarySourceFactory (#3653) 2018-11-28 14:37:12 +03:00
DictionarySourceFactory.cpp Removed garbage #3653 2018-12-11 22:00:13 +03:00
DictionarySourceFactory.h CLICKHOUSE-4137 DictionaryFactory, DictionarySourceFactory (#3653) 2018-11-28 14:37:12 +03:00
DictionarySourceHelpers.cpp clang-format of dbms/src/Dictionaries/* 2018-12-10 18:25:45 +03:00
DictionarySourceHelpers.h clang-format of dbms/src/Dictionaries/* 2018-12-10 18:25:45 +03:00
DictionaryStructure.cpp IPv4 and IPv6 Domain implementation. 2019-02-04 12:37:46 +03:00
DictionaryStructure.h clang-format of dbms/src/Dictionaries/* 2018-12-10 18:25:45 +03:00
ExecutableDictionarySource.cpp Updated test #4246 2019-02-10 19:55:12 +03:00
ExecutableDictionarySource.h clang-format of dbms/src/Dictionaries/* 2018-12-10 18:25:45 +03:00
ExternalQueryBuilder.cpp IPv4 and IPv6 Domain implementation. 2019-02-04 12:37:46 +03:00
ExternalQueryBuilder.h clang-format of dbms/src/Dictionaries/* 2018-12-10 18:25:45 +03:00
FileDictionarySource.cpp Updated test #4246 2019-02-10 19:55:12 +03:00
FileDictionarySource.h clang-format of dbms/src/Dictionaries/* 2018-12-10 18:25:45 +03:00
FlatDictionary.cpp IDictionary::getBlockInputStream() function, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:49:03 +03:00
FlatDictionary.h IDictionary::getBlockInputStream() function, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:49:03 +03:00
HashedDictionary.cpp A Proper lookup table that uses HashTable's API 2019-03-01 16:47:13 +08:00
HashedDictionary.h IDictionary::getBlockInputStream() function, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:49:03 +03:00
HTTPDictionarySource.cpp Updated test #4246 2019-02-10 19:55:12 +03:00
HTTPDictionarySource.h clang-format of dbms/src/Dictionaries/* 2018-12-10 18:25:45 +03:00
IDictionary.h IDictionary::getBlockInputStream() function, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:49:03 +03:00
IDictionarySource.h Miscellaneous changes for PVS-Studio 2019-01-20 02:27:52 +03:00
LibraryDictionarySource.cpp Merge branch 'master' into dictionaries-user-profile 2019-02-04 17:11:53 +03:00
LibraryDictionarySource.h Build fixes (FreeBSD port) (#4397) 2019-02-15 14:46:07 +03:00
LibraryDictionarySourceExternal.cpp Added some warnings from clang's -Weverything 2019-01-04 15:10:00 +03:00
LibraryDictionarySourceExternal.h Shared Library Dict Logging: Replace multiple functions with single one and add logging examples into test libraries 2018-06-06 23:21:16 +03:00
MongoDBBlockInputStream.cpp Updated test #4246 2019-02-10 19:55:12 +03:00
MongoDBBlockInputStream.h Build fixes (FreeBSD port) (#4397) 2019-02-15 14:46:07 +03:00
MongoDBDictionarySource.cpp Finally add mongo source 2019-02-25 13:45:22 +03:00
MongoDBDictionarySource.h clang-format of dbms/src/Dictionaries/* 2018-12-10 18:25:45 +03:00
MySQLDictionarySource.cpp Build fixes (FreeBSD port) (#4397) 2019-02-15 14:46:07 +03:00
MySQLDictionarySource.h clang-format of dbms/src/Dictionaries/* 2018-12-10 18:25:45 +03:00
RangeDictionaryBlockInputStream.h IDictionary::getBlockInputStream() function, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:49:03 +03:00
RangeHashedDictionary.cpp A Proper lookup table that uses HashTable's API 2019-03-01 16:47:13 +08:00
RangeHashedDictionary.h IDictionary::getBlockInputStream() function, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:49:03 +03:00
readInvalidateQuery.cpp Merge IBlockInputStream and IProfilingBlockInputStream into one 2019-01-23 17:48:50 +03:00
readInvalidateQuery.h Merge IBlockInputStream and IProfilingBlockInputStream into one 2019-01-23 17:48:50 +03:00
registerDictionaries.cpp CLICKHOUSE-4137 DictionaryFactory, DictionarySourceFactory (#3653) 2018-11-28 14:37:12 +03:00
registerDictionaries.h CLICKHOUSE-4137 DictionaryFactory, DictionarySourceFactory (#3653) 2018-11-28 14:37:12 +03:00
TrieDictionary.cpp IDictionary::getBlockInputStream() function, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:49:03 +03:00
TrieDictionary.h IDictionary::getBlockInputStream() function, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:49:03 +03:00
writeParenthesisedString.cpp clang-format of dbms/src/Dictionaries/* 2018-12-10 18:25:45 +03:00
writeParenthesisedString.h clang-format of dbms/src/Dictionaries/* 2018-12-10 18:25:45 +03:00
XDBCDictionarySource.cpp Updated test #4246 2019-02-10 19:55:12 +03:00
XDBCDictionarySource.h clang-format of dbms/src/Dictionaries/* 2018-12-10 18:25:45 +03:00