ClickHouse/src/Dictionaries
Alexander Kazakov 63b95c7451
MySQL dictionary source: A mechanism for retrying unexpected connection loss during communication with mysql server (#21237)
* Added a new type of Exception

for better recognition of connection failures

* Added more logging for mysql communication

* Retries on connection loss during query.

Make MySQL dictionary source resilient to unexpected loss of connection
during querying MySQL. This behavior is controlled with
".fail_on_connection_loss" config parameter, which defaults to false.

* Stripped some debugging leftover garbage

* Minor followup corrections

* Corrections after PR comments

* Yet more fixes
2021-02-27 11:18:28 +03:00
..
Embedded Remove namespace pollution 2020-05-31 00:57:37 +03:00
tests Use global context for gtests 2020-11-18 21:24:58 +03:00
BucketCache.h Revert "Less number of threads in builder" 2020-09-03 01:00:41 +03:00
CacheDictionary.cpp Fix data race in executable dictionary 2021-02-03 20:45:50 +03:00
CacheDictionary.h Updated DictionaryDefaultValueExtractor interface 2021-01-27 16:25:27 +03:00
CassandraBlockInputStream.cpp MySql datatypes dateTime64 and decimal (#11512) 2020-09-09 15:18:02 +03:00
CassandraBlockInputStream.h fix gcc warnings 2020-06-04 16:03:06 +03:00
CassandraDictionarySource.cpp Fix server restart after stress test 2020-08-15 06:10:57 +03:00
CassandraDictionarySource.h fix gcc warnings 2020-06-04 16:03:06 +03:00
CassandraHelpers.cpp cleenup 2020-06-04 00:11:17 +03:00
CassandraHelpers.h try fix sync 2020-06-04 16:59:12 +03:00
ClickHouseDictionarySource.cpp Remove redundant anon namespace in ClickHouseDictionarySource.cpp 2020-11-14 18:23:48 +03:00
ClickHouseDictionarySource.h Default host, port and user parameters for source(clickhouse(...)) 2020-11-14 16:44:45 +03:00
CMakeLists.txt Remove libbtrie 2020-11-21 21:31:15 +03:00
ComplexKeyCacheDictionary.cpp Fixed clang build 2021-01-27 16:25:27 +03:00
ComplexKeyCacheDictionary.h Fixed clang build 2021-01-27 16:25:27 +03:00
ComplexKeyDirectDictionary.cpp Updated DictionaryDefaultValueExtractor interface 2021-01-27 16:25:27 +03:00
ComplexKeyDirectDictionary.h Fixed clang build 2021-01-27 16:25:27 +03:00
ComplexKeyHashedDictionary.cpp Fixed build issues 2021-01-27 16:25:27 +03:00
ComplexKeyHashedDictionary.h Fixed clang build 2021-01-27 16:25:27 +03:00
DictionaryBlockInputStream.h Updated DictionaryDefaultValueExtractor interface 2021-01-27 16:25:27 +03:00
DictionaryBlockInputStreamBase.cpp dbms/ → src/ 2020-04-03 18:14:31 +03:00
DictionaryBlockInputStreamBase.h dbms/ → src/ 2020-04-03 18:14:31 +03:00
DictionaryFactory.cpp Fix access to the key as an attribute in IPAddressDictionary. 2021-01-30 19:06:54 +03:00
DictionaryFactory.h dbms/ → src/ 2020-04-03 18:14:31 +03:00
DictionaryHelpers.h Fixed clang build 2021-01-27 16:25:27 +03:00
DictionarySourceFactory.cpp Fix server restart after stress test 2020-08-15 06:10:57 +03:00
DictionarySourceFactory.h Fix typo 2020-08-15 06:28:48 +03:00
DictionarySourceHelpers.cpp Fixed code review issues 2021-02-01 12:35:47 +03:00
DictionarySourceHelpers.h Fixed code review issues 2021-02-01 12:35:47 +03:00
DictionaryStructure.cpp Merge pull request #19805 from vitlibar/allow-getting-return-type-of-dictget-without-loading-dictionary 2021-02-02 18:19:55 +03:00
DictionaryStructure.h Merge pull request #19805 from vitlibar/allow-getting-return-type-of-dictget-without-loading-dictionary 2021-02-02 18:19:55 +03:00
DirectDictionary.cpp Updated DictionaryDefaultValueExtractor interface 2021-01-27 16:25:27 +03:00
DirectDictionary.h Fixed clang build 2021-01-27 16:25:27 +03:00
ExecutableDictionarySource.cpp Fix data race in executable dictionary 2021-02-03 20:45:50 +03:00
ExecutableDictionarySource.h ExecutableDictionarySource added implicit_key option 2021-02-01 12:35:47 +03:00
ExternalQueryBuilder.cpp Better check for tuple size in complex key external dictionaries 2020-09-01 01:55:52 +03:00
ExternalQueryBuilder.h Store copies instead of refs in ExternalQueryBuilder instances 2020-12-21 03:27:35 +04:00
FileDictionarySource.cpp Remove unused headers 2020-12-08 02:10:22 +03:00
FileDictionarySource.h fixed some remarks from review 2020-04-17 22:54:53 +03:00
FlatDictionary.cpp Updated DictionaryDefaultValueExtractor interface 2021-01-27 16:25:27 +03:00
FlatDictionary.h Fixed clang build 2021-01-27 16:25:27 +03:00
getDictionaryConfigurationFromAST.cpp Added comment 2021-02-17 19:24:04 +03:00
getDictionaryConfigurationFromAST.h Implement tcpPort() function literal 2020-11-17 16:24:13 +03:00
HashedDictionary.cpp Fixed clang build 2021-01-27 16:25:27 +03:00
HashedDictionary.h Updated DictionaryDefaultValueExtractor interface 2021-01-27 16:25:27 +03:00
HTTPDictionarySource.cpp Fixed code review issues 2021-02-01 12:35:47 +03:00
HTTPDictionarySource.h Merge branch 'master' into direct_queries 2020-04-09 17:29:37 +03:00
IDictionary.h Updated DictionaryDefaultValueExtractor interface 2021-01-27 16:25:27 +03:00
IDictionarySource.h dbms/ → src/ 2020-04-03 18:14:31 +03:00
IPAddressDictionary.cpp Fix access to the key as an attribute in IPAddressDictionary. 2021-01-30 19:06:54 +03:00
IPAddressDictionary.h Fix access to the key as an attribute in IPAddressDictionary. 2021-01-30 19:06:54 +03:00
LibraryDictionarySource.cpp Fix server restart after stress test 2020-08-15 06:10:57 +03:00
LibraryDictionarySource.h dbms/ → src/ 2020-04-03 18:14:31 +03:00
LibraryDictionarySourceExternal.cpp Remove namespace pollution 2020-05-31 00:57:37 +03:00
LibraryDictionarySourceExternal.h dbms/ → src/ 2020-04-03 18:14:31 +03:00
MongoDBDictionarySource.cpp Fix server restart after stress test 2020-08-15 06:10:57 +03:00
MongoDBDictionarySource.h Fixes 2020-06-26 17:28:00 +03:00
MySQLDictionarySource.cpp MySQL dictionary source: A mechanism for retrying unexpected connection loss during communication with mysql server (#21237) 2021-02-27 11:18:28 +03:00
MySQLDictionarySource.h MySQL dictionary source: A mechanism for retrying unexpected connection loss during communication with mysql server (#21237) 2021-02-27 11:18:28 +03:00
PolygonDictionary.cpp Fixed clang errors 2021-01-27 16:25:27 +03:00
PolygonDictionary.h Updated interfaces. Added documentation. 2021-01-27 16:25:27 +03:00
PolygonDictionaryImplementations.cpp Merge with master 2020-07-31 15:25:17 +03:00
PolygonDictionaryImplementations.h Merge with master 2020-07-31 15:25:17 +03:00
PolygonDictionaryUtils.cpp Fix half of typos 2020-08-08 03:47:03 +03:00
PolygonDictionaryUtils.h Try speedup build (#14809) 2020-09-15 12:55:57 +03:00
PostgreSQLDictionarySource.cpp More safe connection string 2021-01-16 00:18:51 +03:00
PostgreSQLDictionarySource.h Fix 2021-01-11 10:55:38 +00:00
RangeDictionaryBlockInputStream.h Avoid invalid dereference in RANGE_HASHED() dictionary 2021-02-11 21:07:37 +03:00
RangeHashedDictionary.cpp Updated DictionaryDefaultValueExtractor interface 2021-01-27 16:25:27 +03:00
RangeHashedDictionary.h Fixed style issues 2021-01-27 16:25:27 +03:00
readInvalidateQuery.cpp dbms/ → src/ 2020-04-03 18:14:31 +03:00
readInvalidateQuery.h dbms/ → src/ 2020-04-03 18:14:31 +03:00
RedisBlockInputStream.cpp MySql datatypes dateTime64 and decimal (#11512) 2020-09-09 15:18:02 +03:00
RedisBlockInputStream.h Poco contrib refactoring (#10396) 2020-05-08 17:11:19 +03:00
RedisDictionarySource.cpp add support of cache layout for redis dictionaries with complex key 2020-10-14 22:57:07 +03:00
RedisDictionarySource.h add support of cache layout for redis dictionaries with complex key 2020-10-14 22:57:07 +03:00
registerDictionaries.cpp Fix Arcadia 2021-01-07 18:40:54 +03:00
registerDictionaries.h Fix Arcadia 2021-01-07 18:40:54 +03:00
SSDCacheDictionary.cpp Fixed clang errors 2021-01-27 16:25:27 +03:00
SSDCacheDictionary.h Updated interfaces. Added documentation. 2021-01-27 16:25:27 +03:00
SSDComplexKeyCacheDictionary.cpp Fixed clang errors 2021-01-27 16:25:27 +03:00
SSDComplexKeyCacheDictionary.h Updated DictionaryDefaultValueExtractor interface 2021-01-27 16:25:27 +03:00
writeParenthesisedString.cpp dbms/ → src/ 2020-04-03 18:14:31 +03:00
writeParenthesisedString.h dbms/ → src/ 2020-04-03 18:14:31 +03:00
XDBCDictionarySource.cpp Fix dependency on ODBC for Yandex internal build 2021-01-29 14:54:54 +03:00
XDBCDictionarySource.h Don't split dictionary source's table name into schema and table name itself 2020-07-06 23:41:39 +03:00
ya.make Merge pull request #19804 from davenger/odbc_build_fix 2021-01-29 16:50:59 +03:00
ya.make.in Fix dependency on ODBC for Yandex internal build 2021-01-29 14:54:54 +03:00