Commit Graph

2626 Commits

Author SHA1 Message Date
Alexey Milovidov
e74b56c1d7 dbms: fixed deadlock [#METR-15843]. 2015-04-08 00:24:05 +03:00
Alexey Milovidov
f1dc2f4775 dbms: fixed error [#METR-15387]. 2015-04-03 19:16:02 +03:00
Andrey Mironov
e267ba87f0 dbms: rename isNan to isNaN [#METR-15731] 2015-04-03 17:52:33 +03:00
Andrey Mironov
4ed57ac566 dbms: add functions isFinite, isInfinite, isNan [#METR-METR-15731] 2015-04-03 16:30:51 +03:00
Andrey Mironov
2de6e4a51b Merge 2015-04-03 13:10:38 +03:00
Andrey Mironov
ba2e06a6e6 propagate exception from dictionaries on server start, fix race condition 2015-04-02 19:37:05 +03:00
Andrey Mironov
ebd953e1b6 Merge 2015-04-02 19:37:05 +03:00
Andrey Mironov
ea9f5f2488 return old-fashioned code for calculation of total_rows 2015-04-02 12:36:40 +03:00
Alexey Milovidov
376087dd00 dbms: addition to prev. revision [#METR-15804]. 2015-04-02 06:19:09 +03:00
Alexey Milovidov
f6600e38d4 Merge 2015-04-02 06:17:10 +03:00
Alexey Milovidov
edf7fdc58d dbms: fixed error [#METR-15804]. 2015-04-02 06:08:43 +03:00
Andrey Mironov
6dcee7e9a5 Merge 2015-04-01 14:45:01 +03:00
Andrey Mironov
c707bd3bc4 dbms: add FixedString support for function toFixedString 2015-04-01 14:45:01 +03:00
Andrey Mironov
4760f61f39 Merge 2015-04-01 14:45:01 +03:00
Alexey Milovidov
666c154e5d dbms: fixed compiler, added test [#METR-2944]. 2015-04-01 07:14:15 +03:00
Alexey Milovidov
7acee77529 dbms: improved performance [#METR-15790]. 2015-04-01 05:55:52 +03:00
Alexey Milovidov
54397c6c7a dbms: added support for parsing 10-digits unix timestamp as DateTime (in addition to YYYY-MM-DD hh:mm:ss format) [#METR-15790]. 2015-04-01 00:09:19 +03:00
Alexey Milovidov
d3d3329d79 dbms: updated default setting for compiler [#METR-2944]. 2015-03-29 12:20:28 +03:00
Alexey Milovidov
be630f9fae dbms: better diagnostics of errors in TabSeparated format [#METR-15574]. 2015-03-29 12:02:24 +03:00
Alexey Milovidov
3d80f45b71 dbms: better diagnostics of errors in TabSeparated format (development) [#METR-15574]. 2015-03-29 11:44:04 +03:00
Alexey Milovidov
92c2a9ceaa dbms: better diagnostics of errors in TabSeparated format (development) [#METR-15574]. 2015-03-29 10:13:38 +03:00
Andrey Mironov
082620d054 dbms: do not attempt loading builtin dictionaries if config has no corresponding keys. [#METR-15691] 2015-03-27 18:44:52 +03:00
Andrey Mironov
edbe23ac1f dbms: add dictionaries_lazy_load config parameter, defaults to true. [#METR-15691] 2015-03-27 16:11:31 +03:00
Andrey Mironov
fed50c4702 dbms: add tryLogCurrentException overload taking a pointer to Poco::Logger 2015-03-27 16:11:31 +03:00
Alexey Arno
1c9aa586ed Merge 2015-03-27 13:51:33 +03:00
Alexey Milovidov
06c35e0faa dbms: improvement [#METR-15484]. 2015-03-27 06:37:46 +03:00
Alexey Milovidov
cfc5b313cc dbms: fixed 'force_index_by_date' setting [#METR-15484]. 2015-03-27 06:06:06 +03:00
Alexey Milovidov
048eed9424 dbms: improved performance of LIKE and regexp search [#METR-15690]. 2015-03-27 05:12:45 +03:00
Alexey Arno
732a80d833 dbms: Server: Fixed race condition in PoolWithFailoverBase in a more elegant way. [#METR-15531] 2015-03-26 17:53:35 +03:00
Alexey Milovidov
f3f935e3d8 dbms: toDateTime: improvement [#METR-2944]. 2015-03-26 05:54:16 +03:00
Alexey Milovidov
9cc2e52047 dbms: string search: improved performance in fallback case [#METR-15690]. 2015-03-26 03:38:17 +03:00
Alexey Arno
00ca9c9b24 Merge 2015-03-25 19:46:54 +03:00
Alexey Arno
ae5fd4dbc9 dbms: Server: feature development. [#METR-15090] 2015-03-25 19:44:30 +03:00
Alexey Arno
8cdeeaa5a4 dbms: Server: feature development. [#METR-15090] 2015-03-25 17:58:23 +03:00
Andrey Mironov
8bc12dbbe4 dbms: system.dictionaries: add brief source description. [#METR-15569] 2015-03-25 13:10:35 +03:00
Andrey Mironov
6b605d10bb dbms: correct load factor for FlatDictionary (based on capacity, not size). [#METR-15569] 2015-03-25 13:10:35 +03:00
Alexey Milovidov
7c74a112a0 dbms: tiny improvement [#METR-2944]. 2015-03-25 04:45:42 +03:00
Andrey Mironov
e25783995c dbms: system.dictionaries: hit-rate, element count and load-factor. [#METR-15569] 2015-03-24 20:04:03 +03:00
Andrey Mironov
8796aa8497 dbms: HashTable: grower getBufferSizeInCells 2015-03-24 20:04:03 +03:00
Andrey Mironov
ca6f081dea dbms: system.dictionaries: provide attribute names and types[#METR-13298] 2015-03-24 20:04:03 +03:00
Andrey Mironov
f38d552844 dbms: simplify return value of IDictionary::getTypeName [#METR-13298] 2015-03-24 15:26:19 +03:00
Andrey Mironov
57e13e7d2a dbms: CacheDictionary: do not decrease bytes_allocated by 1 erroneously[#METR-13298] 2015-03-24 15:21:52 +03:00
Andrey Mironov
a892434ffa dbms: CacheDictionary: correctly decrease bytes_allocated on adding default strings. [#METR-13298] 2015-03-24 15:17:18 +03:00
Andrey Mironov
51e1ad0591 dbms: show bytes_allocated in system.dictionaries for all types of dictionaries. [#METR-13298] 2015-03-24 15:12:48 +03:00
Andrey Mironov
4b259dfc01 dbms: IDictionary::getBytesAllocated 2015-03-24 14:30:16 +03:00
Andrey Mironov
3964fc0a0d dbms: make PODArray::storage_size public 2015-03-24 14:30:02 +03:00
Alexey Arno
06a4b8c5f8 dbms: Server: feature development. [#METR-15090] 2015-03-24 14:03:26 +03:00
Andrey Mironov
e521611c98 dbms:dummy system.dictionaries and dictionary exception logging. [#METR-13298] 2015-03-24 12:50:39 +03:00
Alexey Milovidov
904bd9713c dbms: slightly increased default value of setting 'group_by_two_level_threshold' (it's better, but exact amount is a guess) [#METR-2944]. 2015-03-24 03:44:54 +03:00
Alexey Milovidov
b4c9ba93e8 Revert "dbms: Server: Fixed race condition in ConnectionPoolWithFailover. [#METR-15331]"
This reverts commit 209cf77fd6b2962b1996d254db802132ab2bd6f8.
2015-03-24 03:41:03 +03:00
Andrey Mironov
cf315e35ef dbms: support non-expiring cache lines in CacheDictionary. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
006360b75a dbms: dictionaries: more meaningful exception message on null_value parsing error. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
297d3263f2 dbms: PODArray::resize_fill(size_t, T): fix erroneous pointer arithmetic 2015-03-23 17:30:43 +03:00
Andrey Mironov
f321a422b7 dbms: FlatDictionary: fix off-by-one error on resize. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
33f41657df dbms: improve structure and speed of MySQLBlockInputStream. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
b81ef372d3 dbms: ColumnVector: add insert(T) function to avoid Field instantiation. [#METR-13298] 2015-03-23 17:30:43 +03:00
Alexey Arno
f97565add9 dbms: Server: feature development. [#METR-15090] 2015-03-23 12:43:06 +03:00
Pavel Kartavyy
134ee3a779 Merge 2015-03-23 12:09:25 +03:00
Alexey Milovidov
05401b901b dbms: better exception safety [#METR-15530]. 2015-03-23 04:10:06 +03:00
Alexey Arno
efc8ee558d dbms: Server: merge from master. [#METR-15090] 2015-03-20 20:02:01 +03:00
Alexey Arno
b88431e1ad dbms: Server: feature development. [#METR-15090] 2015-03-20 19:58:57 +03:00
Alexey Arno
5a033eb724 dbms: Server: fixed issue with query cancellation. [#METR-14410] 2015-03-20 19:20:47 +03:00
Andrey Mironov
17da36aba2 dbms: allow using Date and DateTime with dictionaries. [#METR-13298] 2015-03-20 18:45:36 +03:00
Andrey Mironov
ba0fcc32f9 dbms: MySQLDictionarySource: safely handle empty response. [#METR-13298] 2015-03-20 18:45:36 +03:00
Andrey Mironov
47148229e0 dbms: allow DataTypeFactory to be some weird multi-instance singleton, I don't feel like modifying all the code which uses it right now 2015-03-20 18:45:36 +03:00
Andrey Mironov
8ef4f22e4c Merge 2015-03-19 18:28:08 +03:00
Alexey Arno
2ec5cd0506 dbms: Server: feature development. [#METR-15090] 2015-03-19 13:06:11 +03:00
Alexey Milovidov
ba5a54ef7a dbms: temporarily added aggregate function 'debug' [#METR-15530]. 2015-03-19 06:58:23 +03:00
Alexey Milovidov
6107740fc6 dbms: tiny improvement [#METR-14848]. 2015-03-18 22:17:05 +03:00
Andrey Mironov
4243f54911 dbms: support multiple dictionaries config files with glob pattern [#METR-13298] 2015-03-18 19:07:15 +03:00
Andrey Mironov
1e1a26b76f dbms: fix typo in ClickHouseDictionarySource, specify database explicitly. [#METR-13298] 2015-03-18 17:20:07 +03:00
Andrey Mironov
3b3f5b17c4 dbms: fix thread-unsafety: retain mysqlxx::Pool::Entry for the whole duration of a query. [#METR-13298] 2015-03-18 15:20:54 +03:00
Alexey Arno
b5f690dcd1 dbms: Server: Fixed race condition in ConnectionPoolWithFailover. [#METR-15331] 2015-03-18 14:28:30 +03:00
Andrey Mironov
7196d9c987 dbms: fix usage of moved-from variable, drain mysqlxx query result completely. [#METR-13298] 2015-03-18 12:58:58 +03:00
Alexey Milovidov
ed4c4292aa dbms: fixed possible error [#METR-15530]. 2015-03-18 05:48:36 +03:00
Alexey Milovidov
77f2e60146 Merge 2015-03-18 04:48:48 +03:00
Alexey Milovidov
a73cd458c2 dbms: irrelevant fixes [#METR-15530]. 2015-03-18 04:48:15 +03:00
Alexey Milovidov
ad6ca01f87 dbms: tiny modification [#METR-2944]. 2015-03-18 00:05:03 +03:00
Alexey Arno
6c3bd8759d dbms: Server: feature development. [#METR-15090] 2015-03-17 16:57:24 +03:00
Alexey Arno
f4b7889f90 dbms: Server: feature development. [#METR-15090] 2015-03-17 15:44:49 +03:00
Alexey Arno
9ab8c585ac dbms: Server: feature development. [#METR-15090] 2015-03-17 14:30:23 +03:00
Alexey Arno
73f0eac93b dbms: Server: feature development. [#METR-15090] 2015-03-17 00:06:38 +03:00
Alexey Arno
bb1b661629 dbms: Server: feature development. [#METR-15090] 2015-03-17 00:05:44 +03:00
Alexey Arno
93ae3550c7 dbms: Server: feature development. [#METR-15090] 2015-03-17 00:00:20 +03:00
Alexey Milovidov
7431af2cf9 dbms: fixed error with exception safety [#METR-15357]. 2015-03-16 22:24:57 +03:00
Alexey Arno
ee22aac2fe dbms: Server: feature development. [#METR-15090] 2015-03-16 13:49:27 +03:00
Alexey Arno
80410ce746 dbms: Server: feature development. [#METR-15090] 2015-03-16 13:41:58 +03:00
Alexey Milovidov
e7b3884f2d dbms: fixed common misunderstanding with function toDate(UInt32) [#METR-2944]. 2015-03-16 07:44:53 +03:00
Alexey Milovidov
026670c4ec dbms: fixed error with exception safety [#METR-15451]. 2015-03-15 14:30:26 +03:00
Alexey Milovidov
0535438ea4 dbms: fixed bad code with GLOBAL operations [#METR-15144]. 2015-03-15 11:05:28 +03:00
Alexey Milovidov
291d9daabf Merge 2015-03-14 05:37:53 +03:00
Alexey Milovidov
5c69667f2a dbms: different compression methods on merge: preparation [#METR-15386]. 2015-03-14 05:36:39 +03:00
Alexey Milovidov
0a27283081 dbms: added setting 'force_index_by_date' [#METR-15484]. 2015-03-14 04:20:10 +03:00
Alexey Milovidov
b828604a5f Merge 2015-03-14 00:31:23 +03:00
Alexey Milovidov
c1ff26c7a3 dbms: tiny modifications [#METR-15484]. 2015-03-14 00:01:04 +03:00
Alexey Arno
241e35b424 Merge 2015-03-13 16:18:47 +03:00
Alexey Arno
7395eff889 dbms: Server: feature development. [#METR-15090] 2015-03-13 14:46:04 +03:00
Alexey Arno
606ac0198c dbms: Server: feature development. [#METR-15090] 2015-03-13 14:22:34 +03:00
Alexey Arno
e8c2f6e7b8 dbms: Server: feature development. [#METR-15090] 2015-03-13 14:02:43 +03:00
Alexey Arno
125f837847 dbms: Server: feature development. [#METR-15090] 2015-03-12 19:22:49 +03:00