Alexey Milovidov
|
3a668313b8
|
Added implicit conversion to covering type for functions dictGetT [#METR-21527].
|
2016-06-07 22:11:04 +03:00 |
|
Vladimir Chebotarev
|
70feb3fdfd
|
dbms: Moved some methods to cpp. [#METR-21516]
|
2016-06-05 18:21:35 +03:00 |
|
Vladimir Chebotarev
|
42e6374087
|
dbms: Build fix. [#METR-21516]
|
2016-05-29 04:36:19 +03:00 |
|
Vladimir Chebotarev
|
fddc034b46
|
dbms: Minor improvement. [#METR-21516]
|
2016-05-29 03:07:29 +03:00 |
|
Alexey Milovidov
|
92917ab043
|
Using std::shared_ptr for data types [#METR-21503].
|
2016-05-28 17:33:38 +03:00 |
|
Alexey Milovidov
|
0d51b4e3c8
|
Using std::shared_ptr for data types [#METR-21503].
|
2016-05-28 17:21:16 +03:00 |
|
Alexey Milovidov
|
3c1c9d46f7
|
Using std::shared_ptr for data types [#METR-21503].
|
2016-05-28 15:22:22 +03:00 |
|
Alexey Milovidov
|
4c7eb03b63
|
Using std::shared_ptr for data types [#METR-21503].
|
2016-05-28 13:35:44 +03:00 |
|
Alexey Milovidov
|
be394f2c84
|
Using std::shared_ptr for data types [#METR-21503].
|
2016-05-28 10:48:40 +03:00 |
|
Alexey Milovidov
|
4b7f461e46
|
Using std::shared_ptr for columns [#METR-21503].
|
2016-05-28 08:31:36 +03:00 |
|
Vladimir Chebotarev
|
866c8929e2
|
dbms, contrib: GCC 6 build fixes [#METR-20000]
|
2016-05-23 03:41:26 +03:00 |
|
Alexey Milovidov
|
bd734cd1b4
|
Allowed to disable MongoDB dictionary source at build time [#METR-20000].
|
2016-05-22 03:54:26 +03:00 |
|
Alexey Milovidov
|
f7c09d58a5
|
Attempt to improve performance [#METR-20892].
|
2016-04-15 03:33:21 +03:00 |
|
Alexey Milovidov
|
9c9ef5534c
|
PaddedPODArray: development [#METR-20892].
|
2016-04-15 00:26:06 +03:00 |
|
Alexey Milovidov
|
830b55bdc6
|
ODBC dictionary source: development [#METR-19470].
|
2016-04-10 14:08:04 +03:00 |
|
Alexey Milovidov
|
83318889e9
|
ODBC source for external dictionaries: development [#METR-19470].
|
2016-04-10 13:24:07 +03:00 |
|
Alexey Milovidov
|
348594ffbe
|
Added ODBC external dictionary source [#METR-19470].
|
2016-04-10 07:00:00 +03:00 |
|
Alexey Milovidov
|
3688c2270f
|
Preparation [#METR-19470].
|
2016-04-10 05:47:29 +03:00 |
|
Alexey Milovidov
|
0bcccb720f
|
Preparation [#METR-19470].
|
2016-04-10 05:32:59 +03:00 |
|
Alexey Milovidov
|
54d1ce01a6
|
Preparation [#METR-19470].
|
2016-04-10 05:29:45 +03:00 |
|
Alexey Milovidov
|
2a5f86b890
|
Using maximum one connection to external source when updating cache dictionary [#METR-19576].
|
2016-03-30 22:03:25 +03:00 |
|
Alexey Milovidov
|
0e6a5df565
|
Fixing warnings on clang [#METR-2807].
|
2016-03-07 09:25:36 +03:00 |
|
Alexey Milovidov
|
db574c87fb
|
Fixing warnings on clang [#METR-2807].
|
2016-03-07 09:24:36 +03:00 |
|
Alexey Milovidov
|
e41feb0ade
|
Fixing warnings on clang [#METR-2807].
|
2016-03-07 09:08:34 +03:00 |
|
Alexey Milovidov
|
4aa0a85ca2
|
Fixing warning on clang [#METR-2807].
|
2016-03-07 09:00:25 +03:00 |
|
Alexey Milovidov
|
51874d6dd3
|
Fixing warnings on clang [#METR-2807].
|
2016-03-07 08:15:42 +03:00 |
|
Alexey Milovidov
|
4576a90ba0
|
Fixing warnings on clang [#METR-2807].
|
2016-03-07 08:05:42 +03:00 |
|
Alexey Milovidov
|
fcbe00ce94
|
Fixing warnings on clang [#METR-2807].
|
2016-03-07 07:53:17 +03:00 |
|
Alexey Milovidov
|
30cba89be0
|
Fixing build on clang [#METR-2807].
|
2016-03-07 07:31:10 +03:00 |
|
Alexey Milovidov
|
58fb3095d9
|
Fixed clean build [#METR-2944].
|
2016-03-07 05:12:51 +03:00 |
|
Alexey Milovidov
|
d38693267d
|
dbms: fixed error with faster text formats [#METR-20081].
|
2016-03-03 04:54:58 +03:00 |
|
Alexey Milovidov
|
8b3afeb60d
|
Squashed commit of the following:
commit f968e7e7f0d84c89fd26dea1d541bd9f6041d7c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 06:11:29 2016 +0300
Addition [#METR-2944].
commit 7524981fa7c4f22929dd5009444a0ae28500f620
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 06:08:43 2016 +0300
Fixed error (incomplete) [#METR-2944].
commit 2f1e7bf9f46cd9ce958ade9041c00ce067940fd2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 05:37:43 2016 +0300
Improving performance of row formats [#METR-2944].
commit 9848910f235863c9571ef1ebe0d87d4929ee283c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 00:37:12 2016 +0300
Improving performance of text formats [#METR-2944].
commit 3aedc7fd784af962e64ffdd10ec23ac53827d8e2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 00:18:00 2016 +0300
Improving performance of row formats [#METR-2944].
commit cb5932c2b0385604477e69c8262dc31a4bb4b23b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Mon Feb 15 00:53:27 2016 +0300
Fixed error.
commit 42863fd4eddeef594e846c598b92877b6ff86fa6
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sun Feb 14 23:13:46 2016 +0300
Improving performance of row formats [#METR-2944].
commit 71c6fb19a85a79297433ceb486fdb97e551d964f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sun Feb 14 16:58:56 2016 +0300
Improving performance of row formats [#METR-2944].
|
2016-02-16 19:39:39 +03:00 |
|
Alexey Milovidov
|
12363ed329
|
Added limited support for expressions in INSERT ... VALUES [#METR-20048].
|
2016-02-13 09:37:19 +03:00 |
|
Alexey Milovidov
|
43c73cf7ee
|
dbms: added support for CSV format [#METR-19957].
|
2016-02-07 11:42:21 +03:00 |
|
Alexey Milovidov
|
3519c3cea2
|
dbms: separated mysqlxx::Date and mysqlxx::DateTime [#METR-17973].
|
2016-02-03 04:17:58 +03:00 |
|
Alexey Milovidov
|
477c7245d4
|
dbms: added function regionToTopContinent [#METR-19807].
|
2016-02-01 23:18:13 +03:00 |
|
Alexey Milovidov
|
81d5b9aaab
|
Moved embedded dictionaries to dbms [#METR-17973].
|
2016-01-15 05:47:19 +03:00 |
|
Alexey Milovidov
|
c062fc1ce0
|
dbms: cutting dependency [#METR-2944].
|
2016-01-12 05:21:15 +03:00 |
|
Alexey Milovidov
|
13c7d0983a
|
dbms: cutting dependency [#METR-2944]..
|
2016-01-12 00:46:36 +03:00 |
|
Alexey Milovidov
|
2368ac3675
|
dbms: fixed error with ArenaWithFreeLists; added comments; improved performance [#METR-19278].
|
2015-12-27 13:58:20 +03:00 |
|
Andrey Mironov
|
72ef6b08b6
|
dbms: fix MongoDB dictionary source for UInt32 clamped to Int32[#METR-18946]
|
2015-12-10 19:27:20 +03:00 |
|
Andrey Mironov
|
b7f496eb7b
|
dbms: fix MongoDB dictionary source for UInt8 [#METR-18946]
|
2015-12-09 15:30:45 +03:00 |
|
Andrey Mironov
|
e7c435c27e
|
dbms: fix typo and absent support of Float64 for MongoDB dictionaries [#METR-18946]
|
2015-12-09 15:30:45 +03:00 |
|
Andrey Mironov
|
479f1fc346
|
dbms: fix typo and absent support of Float64 for MySQL dictionaries [#METR-18946]
|
2015-12-07 19:30:26 +03:00 |
|
Andrey Mironov
|
1ca3d930da
|
dbms: do not allocate memory for default strings in cache dictionaries [#METR-17328]
|
2015-11-30 20:55:42 +03:00 |
|
Andrey Mironov
|
699e5480f6
|
dbms: use ArenaWithFreeLists for strings in cache dictionary [#METR-17328]
|
2015-11-24 15:47:51 +03:00 |
|
Andrey Mironov
|
7159c57280
|
dbms: fix error with ternary operator having priority lower than binary + [#METR-17328]
|
2015-11-24 14:28:29 +03:00 |
|
Andrey Mironov
|
ee21853933
|
dbms: MongoDBDictionarySource now can use complex keys[#METR-17328]
|
2015-11-24 14:28:29 +03:00 |
|
Alexey Milovidov
|
d7c24b8203
|
dbms: fixed build [#METR-2944].
|
2015-11-21 06:20:31 +03:00 |
|
Andrey Mironov
|
715d2f6ce5
|
dbms: add key description to system.dictionaries[#METR-17328]
|
2015-11-20 19:20:54 +03:00 |
|
Andrey Mironov
|
aece1d21f8
|
dbms: improve dictGet functions for constant defaults [#METR-17328], [#METR-18520]
|
2015-11-20 18:53:23 +03:00 |
|
Andrey Mironov
|
6c8c0e03cb
|
dbms: slightly refactor most dictionaries, add dictHas function for all dictionaries supporting dictGet*OrDefault. [#METR-17328], [#METR-18520]
|
2015-11-19 16:15:02 +03:00 |
|
Andrey Mironov
|
6d42868283
|
dbms: ClickHouseDictionarySource: check that key is present before dereferencing [#METR-18945]
|
2015-11-19 09:50:05 +03:00 |
|
Alexey Milovidov
|
8255d76754
|
dbms: added missing include [#METR-18945].
|
2015-11-19 00:35:24 +03:00 |
|
Andrey Mironov
|
e4ecbf42b1
|
dbms: fix cache-type dictionary memory effect on default values [#METR-17382]
|
2015-11-18 17:06:53 +03:00 |
|
Andrey Mironov
|
8feafa0da2
|
dbms: add dictGet*OrDefault for all new dictionaries [#METR-17382]
|
2015-11-18 16:31:29 +03:00 |
|
Andrey Mironov
|
4f1caeb0e4
|
dbms: SmallObjectPool for ComplexKeyCacheDictionary [#METR-17382]
|
2015-11-18 14:53:15 +03:00 |
|
Andrey Mironov
|
2e8cc93664
|
dbms: ArenaWithFreeLists basic implementation. [#METR-17382]
|
2015-11-17 19:09:43 +03:00 |
|
Andrey Mironov
|
b6930dafa1
|
dbms: support loading composite keys in MySQLDictionarySource [#METR-17328]
|
2015-11-16 20:49:39 +03:00 |
|
Andrey Mironov
|
0fd1fc9cdc
|
dbms: add ComplexKeyCacheDictionary, not yet complete [#METR-17328]
Requires a way of deallocating keys in memory Arena (a new type of arena, actually), MySQLDictionarySource not yet capable of requesting complex keys.
|
2015-11-16 20:49:39 +03:00 |
|
Andrey Mironov
|
7798c45b5b
|
dbms: rename validateKeyColumns to validateKeyTypes [#METR-17328]
|
2015-11-16 20:49:39 +03:00 |
|
Andrey Mironov
|
078cc8dbb4
|
dbms: significantly simplify ComplexKeyDictionary code and length [#METR-17328]
Add commentary about dictGet*OrDefault to FlatDictionary.
|
2015-11-13 17:01:30 +03:00 |
|
Andrey Mironov
|
c0ba6bedcb
|
dbms:rename ComplexKeyDictionary to ComplexKeyHashedDictionary [#METR-17328]
|
2015-11-13 14:21:40 +03:00 |
|
Andrey Mironov
|
a863b2b0a4
|
dbms: take ComplexKeyDictionary::keys_pool size into account when determining bytes_allocated [#METR-17328]
|
2015-11-13 14:08:25 +03:00 |
|
Andrey Mironov
|
5c641ffc78
|
dbms: dictGet* functions for complex_key dictionary. No dictGet*OrDefault variants yet [#METR-17328]
|
2015-11-13 04:44:41 +03:00 |
|
Andrey Mironov
|
701bed3fae
|
dbms: add ComplexKeyDictionary, no fetching of values yet [#METR-17328]
|
2015-11-12 19:29:07 +03:00 |
|
Andrey Mironov
|
2642f2fec4
|
dbms: add parsing of complex key definitions [#METR-17328]
|
2015-11-12 19:29:06 +03:00 |
|
Andrey Mironov
|
32614f5206
|
dbms: dictGetOrDefault for all types, explicit StringRef(string) [#METR-18520]
|
2015-11-10 12:29:30 +03:00 |
|
Andrey Mironov
|
f8e5fed856
|
dbms: dictGetStringOrDefault, other functions on the way [#METR-18520]
|
2015-11-06 17:54:04 +03:00 |
|
Andrey Mironov
|
4355b32890
|
dbms: external dictionaries: store null_values in sample_block, use them instead of IColumn::insertDefault for MySQL and MongoDB [#METR-17854]
|
2015-10-13 18:38:22 +03:00 |
|
Pavel Kartavyy
|
c469b726c1
|
Merge
|
2015-10-13 15:38:38 +03:00 |
|
Andrey Mironov
|
1657e38c97
|
dbms: prefer static version of boost_regex, add support for loading specific ids with MongoDBDictionarySource [#METR-17854]
|
2015-10-13 15:17:09 +03:00 |
|
Andrey Mironov
|
a36436a64b
|
Revert "dbms: temporarily disabled MongoDB dictionary source (to enable automatic builds) [#METR-17854]."
This reverts commit 7060e5a7c839040ff23aebd160e0a1d088778fa7.
|
2015-10-13 13:20:48 +03:00 |
|
Andrey Mironov
|
7c64c3dc30
|
Merge
|
2015-10-12 13:23:31 +03:00 |
|
Andrey Mironov
|
e28dca4d4d
|
dbms: add MongoDBBlockInputStream commentary [#METR-17854]
|
2015-10-12 13:22:16 +03:00 |
|
Alexey Milovidov
|
bb283e6602
|
dbms: added support for different numeric types in function has [#METR-18382].
|
2015-10-12 10:05:54 +03:00 |
|
Alexey Milovidov
|
62061c3969
|
dbms: temporarily disabled MongoDB dictionary source (to enable automatic builds) [#METR-17854].
|
2015-10-11 04:08:39 +03:00 |
|
Alexey Milovidov
|
3733ac9ead
|
dbms: fixed comment [#METR-17854].
|
2015-10-09 23:21:20 +03:00 |
|
Andrey Mironov
|
8e4f30fff0
|
dbms: MongoDB dictionary source draft (actually it works, but there are some improvements to be made) [#METR-17854]
|
2015-10-09 17:51:31 +03:00 |
|
Pavel Kartavyy
|
2163af290a
|
Merge
|
2015-10-08 16:21:23 +03:00 |
|
Alexey Milovidov
|
9facd5bc56
|
Removed link-time dependency [#METR-17973].
|
2015-10-05 10:04:42 +03:00 |
|
Alexey Milovidov
|
fefd3791f1
|
Moved files [#METR-17973].
|
2015-10-05 03:33:43 +03:00 |
|
Pavel Kartavyy
|
269b4b8155
|
Merge
|
2015-09-30 16:55:20 +03:00 |
|
Alexey Milovidov
|
1f6def094f
|
dbms: fixed build [#METR-18202].
|
2015-09-29 22:19:54 +03:00 |
|
Pavel Kartavyy
|
d1bd09246d
|
gcc-4.9.2: compilation fix
|
2015-09-23 18:03:08 +03:00 |
|
Andrey Mironov
|
aa68fd2aec
|
dbms: add expression support for id, range_min and range_max [#METR-17888]
Fix type-checking of range_hashed dictionary with mysql as a source.
Parenthesise all expressions to avoid errors.
|
2015-09-08 12:38:44 +03:00 |
|
Andrey Mironov
|
9d406de8c9
|
dbms: add dictionary name to messages of most exceptions occurring during their creation [#METR-17487]
|
2015-08-19 16:19:37 +03:00 |
|
Alexey Milovidov
|
18ed0b2829
|
dbms: external dictionaries: fixed errors [#METR-17508].
|
2015-08-12 07:21:10 +03:00 |
|
Alexey Milovidov
|
dea3c8b8a4
|
dbms: external dictionaries: fixed bunch of errors; added optional parameter 'dont_check_update_time' for MySQL dictionary source [#METR-17508].
|
2015-08-12 06:57:32 +03:00 |
|
Alexey Milovidov
|
f39ad593f5
|
dbms: added optional property 'require_nonempty' for external dictionaries [#METR-17508].
|
2015-08-12 00:32:27 +03:00 |
|
Alexey Milovidov
|
8d8fa9d0fd
|
dbms: more logging in MySQLDictionarySource [#METR-17508].
|
2015-08-12 00:29:44 +03:00 |
|
Andrey Mironov
|
bb136fb496
|
dbms: RangeHashedDictionary: fix constructor fomartting
|
2015-07-17 18:56:34 +03:00 |
|
Alexey Milovidov
|
c0e029bb1b
|
dbms: renamed ColumnWithNameAndType to ColumnWithTypeAndName for clarification [#METR-2944].
|
2015-07-17 04:27:35 +03:00 |
|
Andrey Mironov
|
2af56fe772
|
dbms: implement dictGet* functions for RangeHashedDictionary. [#METR-17111
|
2015-07-14 16:06:25 +03:00 |
|
Andrey Mironov
|
f92714712f
|
dbms: extract IDictionaryBase, fix devirtualization. [#METR-17111]
|
2015-07-13 20:11:17 +03:00 |
|
Andrey Mironov
|
c4440ad829
|
dbms: RangeHashedDictionary implementation [#METR-17111]
|
2015-07-13 19:18:28 +03:00 |
|
Andrey Mironov
|
8ea2990e7d
|
dbms: ExternalDictionaries: remove most invididual getters
|
2015-07-10 17:43:49 +03:00 |
|
Andrey Mironov
|
4fca014e1b
|
dbms: reload initially failed dictionaries with exponential backoff [#METR-16702]
|
2015-06-09 19:18:49 +03:00 |
|
Alexey Milovidov
|
c94bd2fc09
|
dbms: removed useless code [#METR-16739].
|
2015-06-08 23:22:02 +03:00 |
|
Alexey Milovidov
|
0984363b9c
|
dbms: removed passing DataTypeFactory everywhere [#METR-16545].
|
2015-05-28 06:49:28 +03:00 |
|