Commit Graph

3920 Commits

Author SHA1 Message Date
Alexey Arno
3ff8ee1f09 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
85f061a790 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
594ab09579 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
ce941bded6 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
2c6d3efc61 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
820e6f4498 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
31a56bd1c1 dbms: Server: add improvements and the ability of waiting for a read event on several connections. [#METR-14410] 2015-02-03 16:36:08 +03:00
Alexey Arno
2f5a3ad238 dbms: Server: add support for multiple connections in PoolWithFailoverBase. [#METR-14410] 2015-02-03 16:36:08 +03:00
Alexey Arno
edbe789d12 dbms: Server: add improvements and the ability of waiting for a read event on several connections. [#METR-14410] 2015-02-03 16:36:08 +03:00
Alexey Arno
218bfa5316 dbms: Server: add support for multiple connections in PoolWithFailoverBase. [#METR-14410] 2015-02-03 16:36:08 +03:00
Alexey Arno
83234d153c dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:02 +03:00
Alexey Arno
4d62c9f7ff dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:35:55 +03:00
Alexey Arno
73006ac354 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:35:55 +03:00
Alexey Arno
485c472bc7 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:35:55 +03:00
Alexey Arno
92fb1d2689 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:35:55 +03:00
Alexey Arno
8135c2286d dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:35:55 +03:00
Alexey Arno
d6f59cbc9e dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:35:54 +03:00
Alexey Arno
dab90c2542 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:35:54 +03:00
Alexey Arno
ab0761c643 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:34:50 +03:00
Alexey Arno
cd4bbadb12 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:34:48 +03:00
Andrey Mironov
409dc6ff1b dbms: proper reloading for non-cached dictionaries [#METR-13298] 2015-02-03 14:51:33 +03:00
Alexey Milovidov
e26f52ae6e Addition to prev. revision [#METR-14873]. 2015-02-03 00:28:42 +03:00
Alexey Milovidov
e4ae80fd2d Removed Yandex Catalog categories (not used; but empty columns in tables are left) [#METR-14873]. 2015-02-03 00:22:07 +03:00
Alexey Milovidov
7f0654cabb Fixed build [#METR-2807]. 2015-02-01 11:24:49 +03:00
Alexey Milovidov
ebe7738c27 dbms: implemented function arrayElement for data type Array(Tuple(...)) [#METR-14783]. 2015-02-01 11:19:11 +03:00
Alexey Milovidov
ee98a3babc dbms: fixed error with 'max_distributed_connections = 1' [#METR-14855]. 2015-02-01 11:02:18 +03:00
Alexey Milovidov
a65acf8a03 dbms: better [#METR-2944]. 2015-02-01 10:27:56 +03:00
Alexey Milovidov
24cc25e809 dbms: tiny improvement [#METR-2944]. 2015-02-01 10:21:19 +03:00
Alexey Milovidov
5271a45625 dbms: fixed error with JOINs [#METR-14847]. 2015-02-01 10:20:33 +03:00
Alexey Milovidov
22b9ecfdea dbms: fixed error with DROP COLUMN in replicated tables [#METR-14848]. 2015-02-01 06:49:36 +03:00
Alexey Milovidov
bd51359819 dbms: fixed error in exception message [#METR-2944]. 2015-02-01 01:17:33 +03:00
Alexey Milovidov
fd0cd56609 dbms: added test for JOIN [#METR-14847]. 2015-01-31 00:22:55 +03:00
Alexey Milovidov
6ffae48988 dbms: added missing modification [#METR-2944]. 2015-01-31 00:20:16 +03:00
Alexey Milovidov
1e18ff37c6 dbms: fixed error with JOIN [#METR-14847]. 2015-01-31 00:19:35 +03:00
Alexey Milovidov
261a549407 dbms: addition to prev. revision [#METR-2944]. 2015-01-30 21:58:58 +03:00
Alexey Milovidov
da2ba1f7f7 dbms: fixed error with StorageSet and StorageJoin [#METR-2944]. 2015-01-30 21:57:44 +03:00
Andrey Mironov
345afb6059 dbms: store dictionary lifetime in dictionaries [#METR-13298] 2015-01-30 18:18:13 +03:00
Andrey Mironov
fb333b16d7 dbms: incapsulate dictionary source data and allow cloning [#METR-13298]; add cloning for dictionaries 2015-01-30 17:12:09 +03:00
Andrey Mironov
9eff84960a dbms: query table modification time in MysqlDictionarySource [#METR-13298] 2015-01-30 14:51:59 +03:00
Andrey Mironov
647cd1b0eb dbms: check dictionary source modification prior to reloading [#METR-13298]
Mysql and Clickhouse sources are not currently checked and will always say they are modified.
Reload periods are not currently checked.
2015-01-29 18:47:21 +03:00
Andrey Mironov
a66af0668e dbms: devirtualize dictionary access [#METR-13298] 2015-01-29 17:46:15 +03:00
Andrey Mironov
4bbdb2320e dbms: add HashedDictionary [#METR-13298] 2015-01-29 16:53:48 +03:00
Pavel Kartavyy
2482560b15 DB::Connection: don't log Ping requests 2015-01-29 15:53:59 +03:00
Andrey Mironov
7addd501fe dbms: allow use of clickhouse as a dictionary source [#METR-13298] 2015-01-29 14:51:52 +03:00
Alexey Milovidov
79dbfaa659 dbms: added test (failing, disabled) [#METR-2944]. 2015-01-29 06:17:16 +03:00
Alexey Milovidov
aef67b8c44 dbms: addition to prev. revision [#METR-2944]. 2015-01-29 06:11:56 +03:00
Alexey Milovidov
2b506a0a73 dbms: addition to prev. revision [#METR-2944]. 2015-01-29 06:11:10 +03:00
Alexey Milovidov
6db5e98515 dbms: StorageJoin: fixed error [#METR-2944]. 2015-01-29 06:07:58 +03:00
Andrey Mironov
95bb52b8e5 dbms: use PODArray with FlatDictionary [#METR-13298]
remove IDictionarySource::reset
2015-01-28 19:23:52 +03:00
Andrey Mironov
070c6be60e dbms: add PODArray::resize_fill(size_t, const T&) 2015-01-28 19:23:07 +03:00
Andrey Mironov
e982b5c92d dbms: add all integral and floating point types to IDictionary. [#METR-13298] 2015-01-28 18:02:05 +03:00
Andrey Mironov
f4e7d2d4f5 dbms: add dictGetHierarchy and dictIsIn. [#METR-13298] 2015-01-28 16:20:20 +03:00
Alexey Milovidov
e4e313f54f dbms: StorageJoin: development [#METR-2944]. 2015-01-28 05:37:05 +03:00
Alexey Milovidov
2b0b4d0528 dbms: StorageJoin: development [#METR-2944]. 2015-01-28 03:38:10 +03:00
Alexey Milovidov
2c124ea375 dbms: StorageJoin: development [#METR-2944]. 2015-01-28 03:08:45 +03:00
Alexey Milovidov
684b2e70a9 dbms: added support for whitespaces when parsing arrays [#METR-14798]. 2015-01-28 02:25:35 +03:00
Alexey Milovidov
91b10d0820 dbms: slightly lowered memory usage of distributed aggregation [#METR-2944]. 2015-01-28 02:02:05 +03:00
Alexey Milovidov
8a61f96d67 dbms: StorageJoin: development [#METR-2944]. 2015-01-28 00:24:24 +03:00
Andrey Mironov
6b406df4d9 dbms: implement MysqlBlockInputStream. [#METR-13298] 2015-01-27 16:00:20 +03:00
Alexey Milovidov
fed642cd7c dbms: added StorageSet [#METR-2944]. 2015-01-27 03:52:03 +03:00
Alexey Milovidov
a1eb599105 dbms: added value 'in_order' to setting 'load_balancing' [#METR-14782]. 2015-01-26 22:55:10 +03:00
Andrey Mironov
1b4b0d5779 dbms: MysqlDictionarySource with draft MysqlBockInputStream 2015-01-26 19:53:44 +03:00
Andrey Mironov
419d517867 dbms: add abstractions for dictionary sources 2015-01-26 18:27:51 +03:00
Alexey Milovidov
e8f9083f07 Fixed build [#METR-2944]. 2015-01-25 11:09:25 +03:00
Alexey Milovidov
6927823716 dbms: little better [#METR-2944]. 2015-01-25 08:07:51 +03:00
Alexey Milovidov
a34922c20c dbms: updated test [#METR-14654]. 2015-01-24 06:47:24 +03:00
Alexey Milovidov
81e42e4d90 dbms: fixed error in gcc 4.9 [#METR-2944]. 2015-01-24 04:55:29 +03:00
Alexey Milovidov
3d28956cbb dbms: fixed errors in gcc 4.9 [#METR-2944]. 2015-01-24 04:10:05 +03:00
Alexey Milovidov
d977e433c7 dbms: added test [#METR-14678]. 2015-01-23 00:08:01 +03:00
Alexey Milovidov
d7e8251ad2 dbms: fixed error with IN [#METR-14678]. 2015-01-22 23:56:40 +03:00
Andrey Mironov
a8c2d66076 dbms: fix error in populating attributes. [#METR-13298] 2015-01-22 17:41:05 +03:00
Andrey Mironov
616f8d03dc dbms: Server: follow style guidelines 2015-01-22 17:33:29 +03:00
Andrey Mironov
92664ed612 dbms: sparse array implementation of FlatDictionary. [#METR-13298] 2015-01-22 17:32:38 +03:00
Alexey Milovidov
6fb28b7af9 dbms: fixed error with method write of storage Distributed [#METR-2944]. 2015-01-22 07:14:34 +03:00
Alexey Milovidov
86e9e77eae Fixed errors in clang (part 5, final) [#METR-2807]. 2015-01-22 04:13:13 +03:00
Andrey Mironov
300b7342e7 dbms: dummy types and functions for external dictionaries. [#METR-13298] 2015-01-21 14:39:48 +03:00
Alexey Milovidov
02f9d15a36 Addition to prev. revision [#METR-2944]. 2015-01-21 07:30:33 +03:00
Alexey Milovidov
22e1cd8ddd dbms: fixed build [#METR-2944]. 2015-01-21 07:26:40 +03:00
Alexey Milovidov
af27e06238 Fixed errors in clang (part 4) [#METR-2807]. 2015-01-21 07:23:22 +03:00
Alexey Milovidov
8a1c22bf41 Fixed errors in clang (part 3) [#METR-2807]. 2015-01-21 07:17:02 +03:00
Alexey Milovidov
27543ea7e5 Fixed errors in clang (part 2) [#METR-2807]. 2015-01-21 07:00:20 +03:00
Alexey Milovidov
1be4bd0663 Fixed errors in clang (part 1) [#METR-2807]. 2015-01-21 06:56:28 +03:00
Alexey Milovidov
e53a8c11dc dbms: addition to prev. revision [#METR-14693]. 2015-01-20 21:42:06 +03:00
Alexey Milovidov
62e238911d dbms: fixed error with type of result of floating point division [#METR-14693]. 2015-01-20 21:41:15 +03:00
Alexey Milovidov
a54a634595 dbms: fixed performance issue caused by typo [#METR-14654]. 2015-01-19 22:51:46 +03:00
Alexey Milovidov
b3bee6ac08 dbms: addition to prev. revision [#METR-2944]. 2015-01-19 21:06:44 +03:00
Alexey Milovidov
1e32c8664f dbms: fixed error [#METR-14653]. 2015-01-19 20:50:55 +03:00
Alexey Milovidov
c52d6b0ce8 dbms: compiled aggregator: fixed portability [#METR-2944]. 2015-01-19 10:25:02 +03:00
Alexey Milovidov
bddfe268c8 dbms: added test for distributed external sorting [#METR-2944]. 2015-01-18 11:34:38 +03:00
Alexey Milovidov
9947387bef dbms: added distributed sorting [#METR-2944]. 2015-01-18 11:27:28 +03:00
Alexey Milovidov
1685b293f7 dbms: tiny improvements [#METR-2944]. 2015-01-18 11:25:56 +03:00
Alexey Milovidov
743caaef26 dbms: added test for external sort [#METR-2944]. 2015-01-18 06:48:44 +03:00
Alexey Milovidov
addd36bf85 dbms: fixed build [#METR-2944]. 2015-01-18 04:39:57 +03:00
Alexey Milovidov
099d64931d dbms: compiled aggregator: development [#METR-2944]. 2015-01-18 04:18:39 +03:00
Alexey Milovidov
bca1036dd8 dbms: compiled aggregator: added support for empty list of aggregate functions [#METR-2944]. 2015-01-18 04:11:32 +03:00
Alexey Milovidov
4f6bcb0568 Fixed typos [#METR-2807]. 2015-01-18 00:18:07 +03:00
Alexey Milovidov
0c6dc2629e dbms: fixed error [#METR-14604]. 2015-01-17 07:49:13 +03:00
Alexey Milovidov
25f003e464 dbms: dynamic compiler: development [#METR-2944]. 2015-01-17 07:33:43 +03:00
Alexey Milovidov
5f58b16174 dbms: added more tests (currently broken) [#METR-14604]. 2015-01-17 00:07:09 +03:00
Alexey Milovidov
f61fe3fba5 dbms: tiny additions [#METR-14604]. 2015-01-17 00:01:41 +03:00
Alexey Milovidov
593f9bc191 dbms: fixed error with empty result when distributed query execution and WITH TOTALS and max_rows_to_group_by and totals_mode = 'after_having...' [#METR-14604]. 2015-01-16 23:59:24 +03:00
Andrey Mironov
00324f2f9c dbms: allow non-parenthesised expressions in array access operator []. [#METR-14585] 2015-01-16 13:25:34 +03:00
Andrey Mironov
081f435952 dbms: increase limit to function range, change error message. [#METR-14585] 2015-01-16 13:25:34 +03:00
Alexey Milovidov
6f10046d64 dbms: added more tests [#METR-14604]. 2015-01-15 22:37:44 +03:00
Alexey Milovidov
819f13801d dbms: fixed error with WITH TOTALS and group_by_overflow_mode [#METR-14604]. 2015-01-15 22:29:37 +03:00
Alexey Milovidov
715f5bf8d1 dbms: fixed error with GLOBAL IN when one of shard is localhost [#METR-14557]. 2015-01-14 05:44:25 +03:00
Alexey Milovidov
ad5fdc0e62 dbms: compiled aggregator: development [#METR-2944]. 2015-01-13 06:03:45 +03:00
Alexey Milovidov
818d5ed0c5 dbms: compiled aggregator: development [#METR-2944]. 2015-01-13 04:57:22 +03:00
Alexey Milovidov
b5b1693573 dbms: Cluster: cleanups [#METR-2944]. 2015-01-13 03:56:43 +03:00
Alexey Milovidov
a7a988bdc3 dbms: removed setting asynchronous (useless, obsolete) [#METR-2944]. 2015-01-13 03:36:26 +03:00
Alexey Milovidov
1f3e691fff dbms: addition to prev. revision [#METR-2944]. 2015-01-13 03:11:47 +03:00
Alexey Milovidov
ba732b6ba3 dbms: removed SplittingAggregator [#METR-2944]. 2015-01-13 03:08:36 +03:00
Andrey Mironov
ee2fd5637c dbms: fix AppendTrailingCharIfAbsent for empty strings 2015-01-12 11:06:43 +03:00
Andrey Mironov
ed3965c04c dbms: Aggregator.cpp include <cxxabi.h>
@milovidov check if this fix is rightful
2015-01-12 11:06:17 +03:00
Andrey Mironov
df17f97482 dbms: add 'zookeeper' suffix to test 00074 2015-01-12 11:05:33 +03:00
Alexey Milovidov
0575c6fd24 dbms: improved performance of small queries [#METR-2944]. 2015-01-11 05:30:33 +03:00
Alexey Milovidov
882bf3ea75 dbms: compiled aggregator: development [#METR-2944]. 2015-01-11 05:00:26 +03:00
Alexey Milovidov
19f1bff25d dbms: dynamic compiled aggregator: development [#METR-2944]. 2015-01-11 03:57:21 +03:00
Alexey Milovidov
5bbfa7b9f0 dbms: fixed error in prev. revision [#METR-2944]. 2015-01-11 03:35:30 +03:00
Alexey Milovidov
65e66d2216 Fixed build [#METR-2944]. 2015-01-10 17:31:23 +03:00
Alexey Milovidov
65e5e98369 dbms: addition to prev. revision [#METR-2944]. 2015-01-10 05:34:38 +03:00
Alexey Milovidov
a7a2712630 dbms: compiled aggregator: development [#METR-2944]. 2015-01-10 05:30:03 +03:00
Alexey Milovidov
6673251a20 dbms: dynamic compilation: development [#METR-2944]. 2015-01-10 00:43:13 +03:00
Alexey Milovidov
01fd1d1e0f dbms: dynamic compiler: development [#METR-2944]. 2015-01-09 00:41:35 +03:00
Alexey Milovidov
9225adb3fc dbms: tiny modifications [#METR-2944]. 2015-01-08 21:52:48 +03:00
Alexey Milovidov
c9950249c1 dbms: additions to prev. revision [#METR-2944]. 2015-01-07 21:07:00 +03:00
Alexey Milovidov
41a7fc50d6 dbms: added support for external sorting [#METR-2944]. 2015-01-07 20:19:23 +03:00
Alexey Milovidov
8620b80d99 dbms: fixed collations; preparation to external sorting [#METR-2944]. 2015-01-07 18:30:11 +03:00
Alexey Milovidov
4eff949e22 dbms: fixed uninitialized memory read [#METR-2944]. 2015-01-03 11:46:57 +03:00
Alexey Milovidov
6212e7080b dbms: more scalable aggregator: development [#METR-2944]. 2015-01-03 09:49:32 +03:00
Alexey Milovidov
7c292a9956 dbms: more scalable aggregator: development [#METR-2944]. 2015-01-03 08:39:21 +03:00
Alexey Milovidov
221efeb82a dbms: more scalable aggregator: development [#METR-2944]. 2015-01-03 06:18:49 +03:00
Alexey Milovidov
7cf0bca8af dbms: more scalable aggregator: development [#METR-2944]. 2015-01-02 08:28:21 +03:00
Alexey Milovidov
a7eacd1269 dbms: more scalable aggregator: development [#METR-2944]. 2015-01-02 06:50:14 +03:00
Alexey Milovidov
acbe19fd84 dbms: more scalable aggregator: development [#METR-2944]. 2015-01-02 06:16:28 +03:00
Alexey Milovidov
fd8b2b5261 dbms: Aggregator: preparation [#METR-2944]. 2015-01-02 03:35:33 +03:00
Alexey Milovidov
43c75bb37b dbms: more scalable aggregator: development [#METR-2944]. 2014-12-31 00:11:57 +03:00
Alexey Milovidov
54415a6d0b dbms: more scalable aggregator: development [#METR-2944]. 2014-12-31 00:09:25 +03:00
Alexey Milovidov
2abb0f3792 dbms: more scalable aggregator: development [#METR-2944]. 2014-12-30 23:38:05 +03:00
Alexey Milovidov
e9232fc2fc dbms: more scalable aggregator: development [#METR-2944]. 2014-12-30 21:04:53 +03:00
Alexey Milovidov
716fad23d0 dbms: more scalable aggregator: development [#METR-2944]. 2014-12-30 15:58:02 +03:00
Alexey Milovidov
01526513ae dbms: more scalable aggregator: development [#METR-2944]. 2014-12-30 14:27:58 +03:00
Alexey Milovidov
f9f0682033 dbms: more scalable aggregator: development [#METR-2944]. 2014-12-30 13:16:23 +03:00
Alexey Milovidov
611d585e93 Merge 2014-12-30 06:56:37 +03:00
Alexey Milovidov
661ab4ad39 dbms: improved test [#METR-14483]. 2014-12-30 06:56:13 +03:00
Alexey Milovidov
f001549d99 dbms: improved test [#METR-14483]. 2014-12-30 06:56:13 +03:00
Alexey Milovidov
73c3e64487 dbms: improved test [#TESTIRT-3687]. 2014-12-30 06:56:13 +03:00
Alexey Milovidov
05d1ceb1d5 dbms: improved test [#TESTIRT-3687]. 2014-12-30 06:56:13 +03:00
Alexey Milovidov
f9ae1ea67e dbms: fixed error with table function 'remote' [#METR-14483]. 2014-12-30 06:53:41 +03:00
Alexey Milovidov
70b893ad5c Merge 2014-12-30 06:26:16 +03:00
Alexey Milovidov
1fac116259 dbms: improved test [#METR-14483]. 2014-12-30 06:25:50 +03:00
Alexey Milovidov
3e8305082f dbms: improved test [#METR-14483]. 2014-12-30 06:25:12 +03:00
Alexey Milovidov
579b5b0ce0 Merge 2014-12-30 06:04:57 +03:00
Alexey Milovidov
bcf17501cd Merge 2014-12-30 06:04:15 +03:00
Alexey Milovidov
4ef13d0083 dbms: improved test [#TESTIRT-3687]. 2014-12-30 05:49:09 +03:00
Alexey Milovidov
5c5868c24f dbms: improved test [#TESTIRT-3687]. 2014-12-30 05:12:42 +03:00
Alexey Milovidov
ef160102f6 dbms: more scalable aggregator: development [#METR-2944]. 2014-12-27 09:29:20 +03:00
Alexey Milovidov
5b6ce478cf dbms: more scalable aggregator: development [#METR-2944]. 2014-12-27 09:04:55 +03:00
Alexey Milovidov
b0f5ce86a3 dbms: more scalable aggregator: development [#METR-2944]. 2014-12-27 08:43:13 +03:00
Alexey Arno
2cdffef31c dbms: Server: minimize the number of calls to executeUnion(). [#METR-14099] 2014-12-27 00:37:38 +03:00
Alexey Milovidov
3caccf278e dbms: aggregator: experiments [#METR-2944]. 2014-12-27 00:13:58 +03:00
Alexey Milovidov
50032e1da5 dbms: more scalable aggregator: experiments [#METR-2944]. 2014-12-26 23:42:35 +03:00
Alexey Arno
b288819e2e dbms: Server: add small performance improvement. [#METR-14099] 2014-12-26 13:35:03 +03:00
Alexey Milovidov
5f1d8ef06f dbms: added crc32 hash functions [#METR-2944]. 2014-12-26 06:41:31 +03:00
Alexey Milovidov
08b95c9e33 dbms: more scalable aggregator: development [#METR-2944]. 2014-12-26 06:00:51 +03:00
Alexey Milovidov
5e343d0647 dbms: more scalable aggregator: development [#METR-2944]. 2014-12-26 00:25:43 +03:00
Alexey Milovidov
da1974bbf3 dbms: more scalable aggregator: development [#METR-2944]. 2014-12-25 23:56:01 +03:00
Andrey Mironov
95d4aa1de5 dbms: add throttling for DirectoryMonitor 2014-12-25 23:53:18 +03:00
Alexey Milovidov
cf3812532e dbms: more scalable aggregator: development [#METR-2944]. 2014-12-25 23:18:01 +03:00
Alexey Arno
42b09c417e dbms: Server: fix style. [#METR-14099] 2014-12-25 19:09:23 +03:00
Alexey Arno
461954f17a dbms: Server: fix typo. [#METR-14099] 2014-12-25 18:29:22 +03:00
Alexey Arno
627143a537 dbms: Server: more optimizations, fixed indentation. [#METR-14099] 2014-12-25 18:27:03 +03:00
Alexey Arno
d52d26dcb5 dbms: Server: more optimizations. [#METR-14099] 2014-12-25 18:27:03 +03:00
Alexey Arno
ae2fb27f9b dbms: Server: add optimization for UNION ALL queries that do not contain wildcards. [#METR-14099] 2014-12-25 18:27:03 +03:00
Alexey Arno
70d01a1696 dbms: Server: fixed function names according to naming convention, added more comments and functional tests. [#METR-14099] 2014-12-25 13:22:24 +03:00
Alexey Milovidov
f360f244eb dbms: tiny modifications [#METR-2944]. 2014-12-25 03:19:29 +03:00
Alexey Milovidov
70ee1bdaf6 dbms: trivial modification [#METR-2944]. 2014-12-25 03:18:16 +03:00
Alexey Milovidov
1221f2ba53 Fixed build [#METR-2944]. 2014-12-24 23:54:02 +03:00
Alexey Milovidov
132847e64d dbms: fixed special case when renaming or removing parts [#METR-13918] [#METR-14470]. 2014-12-24 23:02:04 +03:00
Alexey Milovidov
33efb971b4 Merge 2014-12-24 22:00:41 +03:00
Alexey Milovidov
32a2ec00d1 dbms: more scalable aggragator: preparation [#METR-2944]. 2014-12-24 22:00:14 +03:00
Alexey Arno
66f2c72f84 dbms: Client: add fix so that \G has priority over configuration file. [#METR-14325] 2014-12-24 20:31:42 +03:00
Alexey Arno
82913caa2a dbms: Server: update comments. [#METR-14099] 2014-12-24 18:30:15 +03:00
Alexey Arno
3cc4410c50 dbms: Server: add more optimizations and refactoring in InterpreterSelectQuery initialization. [#METR-14099] 2014-12-24 18:30:15 +03:00
Alexey Arno
008668b3da dbms: Server: add optimization in InterpreterSelectQuery initialization. [#METR-14099] 2014-12-24 18:30:15 +03:00
Alexey Arno
b0256d0990 dbms: Server: Remove boilerplate code. [#METR-14099] 2014-12-24 18:30:15 +03:00
Alexey Arno
255c7669a9 dbms: Server: modify columns renaming rules [#METR-14099] 2014-12-24 18:30:15 +03:00
Alexey Arno
9c9db14d95 dbms: Server: second part of the fix for column renaming in UNION ALL queries. [#METR-14099] 2014-12-24 18:30:14 +03:00
Alexey Arno
ece876f05d dbms: Server: add first part of a fix for column renaming in UNION ALL queries. 2014-12-24 18:30:14 +03:00
Andrey Mironov
d98d920d05 dbms: add function IPv4NumToStringClassC [#METR-14266] 2014-12-24 17:45:44 +03:00
Alexey Milovidov
7da67fd139 dbms: added test for temporary table [#METR-14449]. 2014-12-24 00:24:34 +03:00
Alexey Milovidov
beafa02b2e dbms: renamed test [#METR-14449]. 2014-12-24 00:21:09 +03:00
Alexey Milovidov
6bc3c14e9a Merge 2014-12-23 23:34:00 +03:00
Alexey Milovidov
ffd5b1b410 dbms: added test for prev. revision [#METR-14449]. 2014-12-23 23:33:38 +03:00
Alexey Milovidov
10553e7840 dbms: fixed error with views [#METR-14449]. 2014-12-23 23:32:00 +03:00
Andrey Mironov
f283719d89 dbms: fix in/join identifier subquery [#METR-14402] 2014-12-23 03:31:17 +03:00
Alexey Milovidov
9d87dbc703 dbms: don't allow more than one instance of clickhouse-server to run with same data directory [#METR-14391]. 2014-12-21 06:18:40 +03:00
Alexey Milovidov
bba4b0c66c dbms: removed rare-useful repetitive log messages [#METR-2944]. 2014-12-21 04:27:56 +03:00
Alexey Milovidov
0c2e0b7304 dbms: fixed error with replication [#METR-14391]. 2014-12-21 04:20:07 +03:00
Alexey Arno
72845af48a dbms: Client: Add output format consistency checking and support for vertical output in non-interactive client [#METR-14325] 2014-12-20 02:02:18 +03:00
Alexey Arno
3cd60f0aef Merge 2014-12-20 00:26:08 +03:00
Alexey Arno
28055dde55 dbms: Server: fixed typo in function declaration [#METR-14408] 2014-12-20 00:19:48 +03:00
Alexey Milovidov
41a005ba73 dbms: style [#METR-2944]. 2014-12-19 21:33:30 +03:00
Alexey Arno
f3cf2bebe7 Merge 2014-12-19 18:56:26 +03:00
Alexey Arno
5d23310cea dbms: Server: execute queries from views with as most parallelism as possible [#METR-14408] 2014-12-19 18:56:12 +03:00
Andrey Mironov
1271af2f09 dbms: create default context for RemoteBlockInputStream only once. [#METR-14403] 2014-12-19 17:56:18 +03:00
Andrey Mironov
1713846472 dbms: fix merge blocker. [#METR-14032] 2014-12-19 17:18:56 +03:00
Andrey Mironov
b957a2a9c3 dbms: restore leading slash in pathFull. [#METR-13679] 2014-12-19 17:18:56 +03:00
Alexey Arno
d5c8b52f7c dbms: Server: added better diagnostic in union all type mismatch exceptions. [#METR-14099] 2014-12-19 16:10:48 +03:00
Alexey Arno
84456a08c3 dbms: Server: rewrite expression lists in each SELECT query of the UNION ALL chain, if needed. [#METR-14099] 2014-12-19 16:10:48 +03:00
Andrey Mironov
e64d258e27 dbms: fix test 00079_defaulted_columns 2014-12-19 15:49:34 +03:00
Alexey Milovidov
a362a666eb dbms: fixed error with JOIN [#METR-14411]. 2014-12-19 05:30:13 +03:00
Pavel Kartavyy
06d92dba61 Merge 2014-12-18 19:24:51 +03:00
Alexey Arno
e4e3439970 dbms: Client: add support for the request separator \G and for the command line option --vertical. [#METR-14325] 2014-12-18 18:48:49 +03:00
Pavel Kartavyy
13249ff3c3 dbms: added ability to set different kinds of timeouts [#METR-14236] 2014-12-18 15:50:55 +03:00
Alexey Arno
2a1bdb8be3 Merge 2014-12-18 15:11:08 +03:00
Alexey Arno
4315421722 Add comment. [#METR-14065] 2014-12-18 12:44:57 +03:00
Alexey Arno
747d2211d6 Remove code that turned out to be redudant. [#METR-14099] 2014-12-17 23:57:21 +03:00
Alexey Milovidov
5d7fe1e852 dbms: fixed error [#METR-14361]. 2014-12-17 23:38:38 +03:00
Andrey Mironov
7d713ea40b dbms: compress zookeeper checksum metadata. [#MTRSADMIN-879] 2014-12-17 21:38:22 +03:00
Alexey Arno
d086e8d43a Code cleanup. [#METR-14099] 2014-12-17 18:56:58 +03:00
Alexey Arno
2dc47c39d5 Update functional tests. Add materialization in UNION ALL queries. [#METR-14099] 2014-12-17 18:56:58 +03:00
Alexey Arno
e363d57e35 Code cleanup. [#METR-14099] 2014-12-17 18:56:52 +03:00
Alexey Arno
09471634b5 Update functional tests. Add materialization in UNION ALL queries. [#METR-14099] 2014-12-17 18:56:52 +03:00
Alexey Arno
e0e1b335e7 Add new functional tests for UNION ALL. [#METR-14099] 2014-12-17 18:56:52 +03:00
Alexey Arno
36d2008e5b Add style cleanup and small functional test change. [#METR-14099] 2014-12-17 18:56:52 +03:00
Alexey Arno
a2c26bf19f Code cleanup. [#METR-14099] 2014-12-17 18:56:52 +03:00
Alexey Arno
44ebf0777c Update functional tests. Add materialization in UNION ALL queries. [#METR-14099] 2014-12-17 18:56:52 +03:00
Alexey Arno
2d2ccde1c0 Add new functional tests for UNION ALL. [#METR-14099] 2014-12-17 18:56:52 +03:00
Alexey Arno
d29f019981 Apply required fixes [#METR-14099] 2014-12-17 18:56:52 +03:00
Alexey Arno
f8cb28cf07 Apply required fixes [#METR-14099]. 2014-12-17 18:56:52 +03:00
Andrey Mironov
e7301a4050 dbms: add override to AST types 2014-12-17 18:51:21 +03:00
Andrey Mironov
3ebfd2fb7f dbms: pass proper context into Storage::read(). [#METR-14179]
This reverts commit 34b3f738a67432b44f6f69238dd1529535984d1a.
2014-12-17 17:19:07 +03:00
Andrey Mironov
338314c9c6 dbms: stop merges on ALTER. [#METR-14032] 2014-12-17 16:14:24 +03:00
Andrey Mironov
49e322a045 Revert "dbms: pass proper context into Storage::read(). [#METR-14179]"
This reverts commit c0800b74a6fa338d29a65111599aa1fe71b67201.
2014-12-16 19:22:57 +03:00
Andrey Mironov
29de25c608 dbms: implement ASTSubquery::clone properly. [#METR-13399] 2014-12-16 15:40:25 +03:00
Andrey Mironov
dcae14d25e dbms: return cloning query in StorageDistributed::read. [#METR-14179, #METR-13399] 2014-12-16 15:40:25 +03:00
Andrey Mironov
fc9472ba47 dbms: pass proper context into Storage::read(). [#METR-14179] 2014-12-16 15:40:25 +03:00
Andrey Mironov
f92720b41f dbms: fix PushingToViews* behaviour for temporary tables 2014-12-16 15:40:25 +03:00
Andrey Mironov
b077797389 dbms: add whitespace while formatting JOIN query. [#METR-14179] 2014-12-16 15:40:25 +03:00
Alexey Arno
8cdc779c9c Add fix: temporarily turn off UNION ALL support for SELECT queries because it breaks functional tests. [#METR-14099] 2014-12-16 15:06:51 +03:00
Alexey Arno
50e4692b30 Fix typo [#METR-14099]. 2014-12-15 19:07:50 +03:00
Alexey Arno
819b3bd6ac Code cleanups [#METR-14099]. 2014-12-15 19:07:50 +03:00
Alexey Arno
9dd48cbf36 Simplify code [#METR-14099]. 2014-12-15 19:07:50 +03:00
Alexey Arno
53318492a0 Add optimization in InterpreterSelectQuery that tries to minimize quantity of stream mergings. 2014-12-15 19:07:50 +03:00
Alexey Arno
72ca080f64 Further simplify the type compatibility checking code 2014-12-15 19:07:50 +03:00
Alexey Arno
b857667cc2 Add better implementation of the types compabitility checking code. 2014-12-15 19:07:50 +03:00
Alexey Arno
c58030d339 Code cleanup 2014-12-15 19:07:49 +03:00
Alexey Arno
f16cb80657 Fix UNION ALL formating 2014-12-15 19:07:49 +03:00
Alexey Arno
dd6ac530f4 Various cleanups 2014-12-15 19:07:49 +03:00
Alexey Arno
8995500f14 Add initial support for SELECT requests chained by UNION ALL. 2014-12-15 19:07:49 +03:00
Alexey Arno
6323cf5977 Add support for UNION ALL in the SQL query parser 2014-12-15 19:07:49 +03:00
Alexey Milovidov
af8f9289cc dbms: lowered memory usage for huge ORDER BY with LIMIT [#METR-2944]. 2014-12-15 10:35:40 +03:00
Alexey Milovidov
9527462193 dbms: fixed memory tracking [#METR-14301]. 2014-12-15 08:23:44 +03:00
Alexey Milovidov
4bc31f666c dbms: addition to prev. revision [#METR-2944]. 2014-12-15 07:31:14 +03:00
Alexey Milovidov
f4ea556a30 dbms: lowered memory usage of huge ORDER BY with small LIMIT [#METR-2944]. 2014-12-15 07:13:33 +03:00
Alexey Milovidov
da86564110 dbms: added test [#METR-14300]. 2014-12-15 07:09:28 +03:00
Alexey Milovidov
cea5e295d0 dbms: addition to prev. revision [#METR-14300]. 2014-12-15 07:06:39 +03:00
Alexey Milovidov
4b92baff9e dbms: fixed error in StorageBuffer [#METR-14300]. 2014-12-15 07:00:47 +03:00
Alexey Milovidov
922184e62f dbms: more uniform aggregation: better [#METR-2944]. 2014-12-15 02:07:57 +03:00
Alexey Milovidov
309736ad44 Fixed termination with 'Socket not connected' error [#METR-2944]. 2014-12-15 01:51:21 +03:00
Alexey Milovidov
df316f8586 dbms: added old forgotten test [#METR-2944]. 2014-12-14 11:28:42 +03:00
Alexey Milovidov
99ba283688 dbms: more uniform aggregation: development [#METR-2944]. 2014-12-14 11:27:22 +03:00
Alexey Milovidov
562e4f3a3e Merge 2014-12-14 08:28:11 +03:00
Alexey Milovidov
5abe09e7ba dbms: style [#METR-2944]. 2014-12-14 08:27:39 +03:00
Alexey Milovidov
bdf7b561a6 dbms: fixed error in system.zookeeper table [#METR-2944]. 2014-12-13 22:46:53 +03:00
Alexey Milovidov
09076b30d5 Merge 2014-12-12 23:50:32 +03:00
Alexey Milovidov
00a6607971 dbms: style [#METR-2944]. 2014-12-12 21:39:48 +03:00
Alexey Milovidov
dac2ff8920 dbms: addition to prev. revision [#METR-14238]. 2014-12-11 05:06:22 +03:00
Alexey Milovidov
03a21823db dbms: addition to prev. revision [#METR-14238]. 2014-12-11 05:04:13 +03:00
Alexey Milovidov
2aa2cb18c4 dbms: fixed error with re-initializing session in ZK [#METR-14238]. 2014-12-11 04:56:42 +03:00
Andrey Mironov
072fc96127 dbms: obliterate writeFloatText precision parameter -.-
reimplement floatWidth using double-conversion
2014-12-10 14:11:41 +03:00
Alexey Milovidov
f3ae946798 dbms: fixed double spaces [#METR-2807]. 2014-12-09 20:43:06 +03:00
Andrey Mironov
c21502e70f dbms: store checksums in binary format. [#MTRSADMIN-879] 2014-12-09 16:58:19 +03:00
Andrey Mironov
9a12d78fe2 dbms: harness the power of libdouble-conversion. [#METR-13363]
This reverts commit d87b4b7ff8e8e7a3c32eebf3904d449df623b5a8.
2014-12-09 15:08:17 +03:00
Andrey Mironov
afd9f79c47 Revert "dbms: harness the power of libdouble-conversion. [#METR-13363]" until tests are done
This reverts commit 4692610fea832f4814461b482e1aae02b2c0781a.
2014-12-09 14:47:33 +03:00
Andrey Mironov
00db574116 dbms: harness the power of libdouble-conversion. [#METR-13363] 2014-12-09 14:33:57 +03:00
Andrey Mironov
3be8b25ed2 dbms: add lib google/double-conversion. [#METR-13363] 2014-12-09 14:33:57 +03:00
Sergey Magidovich
be30e7f794 dbms: Evoid copy. [#MOBMET-1007] 2014-12-08 20:01:27 +03:00
Pavel Kartavyy
4ba0b6be5c Merge 2014-12-08 16:52:46 +03:00
Sergey Magidovich
0ebea8c353 dbms: Add writeText(mysqlxx::Null<T>&) and writeQuated(mysqlxx::Null<T>&). [#MOBMET-1007] 2014-12-08 13:30:58 +03:00
Alexey Milovidov
f175ec58e0 dbms: tiny improvement [#METR-2944]. 2014-12-08 01:59:00 +03:00
Alexey Milovidov
4de26c886c dbms: changed default value of totals_mode [#MOBMET-1139]. 2014-12-05 22:37:23 +03:00
Andrey Mironov
3332ed9682 dbms: add pathFull function. [#METR-13679] 2014-12-05 16:32:22 +03:00
Alexey Arno
4f3ed93670 Merge 2014-12-05 16:12:08 +03:00
Alexey Arno
61f0f062fe Fix incorrect logging of multiline queries into ClickHouse client command line history [#METR-14065] 2014-12-05 16:10:55 +03:00
Andrey Mironov
2066b089ab dbms: fix cut* functions for constant strings 2014-12-05 14:45:06 +03:00
Andrey Mironov
8533ebe8bd Merge 2014-12-04 18:51:36 +03:00
Andrey Mironov
6d117b334b dbms: add reference file for 00095_union_race_conditions_6 2014-12-04 18:51:36 +03:00
Andrey Mironov
fa3d9226b3 dbms: fix forced flush in StorageBuffer 2014-12-03 16:28:17 +03:00
Andrey Mironov
274e0a80a7 dbms: less overhead and indirection in StorageBuffer 2014-12-03 16:01:39 +03:00
Pavel Kartavyy
4b1ad86ce9 fixed date delimeter [#METR-13763] 2014-12-03 13:50:00 +03:00
Alexey Milovidov
8446069851 dbms: more simple [#METR-13953]. 2014-12-02 22:08:18 +03:00
Andrey Mironov
78a172bf0f dbms: disallow range() arguments greater than one millin. [#METR-13613] 2014-12-02 21:25:43 +03:00
Andrey Mironov
c6134124f6 dbms: remove square function, alter tests. [#METR-13613] 2014-12-02 20:25:10 +03:00
Andrey Mironov
ea9472312e dbms: implement range(n) function, add tests. [#METR-13613] 2014-12-02 20:25:10 +03:00
Andrey Mironov
682bfb46a5 dbms: vectorize math functions. [#METR-13613] 2014-12-02 20:25:10 +03:00
Andrey Mironov
af55445da3 dbms: implement abs(). [#METR-13613] 2014-12-02 20:25:09 +03:00
Andrey Mironov
fae4eb388d dbms: enforce const in CreatingSetsBlockInputStream ctor. 2014-12-02 20:25:09 +03:00
Andrey Mironov
8062844eed dbms: add math functions without SSE. [#METR-13613] 2014-12-02 20:25:09 +03:00
Alexey Milovidov
59f3e9bf17 dbms: more uniform aggregation: development [#METR-2944]. 2014-12-02 03:31:07 +03:00
Alexey Milovidov
8bbcb3a232 dbms: fixed error in aggregate function minIf [#METR-2944]. 2014-12-02 03:19:11 +03:00
Alexey Milovidov
d58ab3e4fe dbms: added reference file for test [#METR-2944]. 2014-12-02 01:40:15 +03:00
Alexey Milovidov
da4c4a0566 dbms: more uniform load of threads while aggragation [#METR-2944]. 2014-11-30 21:22:57 +03:00
Alexey Milovidov
0abde09572 dbms: added tests for UnionBlockInputStream [#METR-2944]. 2014-11-30 15:01:46 +03:00
Alexey Milovidov
5fae38cb97 dbms: tiny improvement [#METR-2944]. 2014-11-30 10:00:05 +03:00
Alexey Milovidov
92e5793c8e dbms: tiny fix [#METR-2944]. 2014-11-30 09:59:03 +03:00
Alexey Milovidov
b84b192ba4 dbms: fixed test [#METR-13988]. 2014-11-30 08:58:54 +03:00
Alexey Milovidov
3a38517f86 dbms: addition to prev. revision [#METR-13936]. 2014-11-30 08:43:04 +03:00
Alexey Milovidov
4e64d5198c dbms: fixed test [#METR-13919]. 2014-11-30 08:40:41 +03:00
Alexey Milovidov
82f9e253a1 Merge 2014-11-30 08:11:04 +03:00
Alexey Milovidov
32f3c9c1da Merge 2014-11-30 06:23:36 +03:00
Alexey Milovidov
a359b09c83 dbms: fixed misleading variable name [#METR-2944]. 2014-11-30 06:21:01 +03:00
Alexey Milovidov
b2696ffec1 dbms: fixed one of errors [#METR-13979]. 2014-11-28 23:45:33 +03:00
Alexey Milovidov
76ba1f053b dbms: aggregation by arrays: added test [#METR-13933]. 2014-11-28 05:41:54 +03:00
Alexey Milovidov
cd54727557 dbms: added few tests [#METR-13933]. 2014-11-28 05:29:35 +03:00
Alexey Milovidov
ead238608b dbms: fixed error with aggregation by arrays [#METR-13933]. 2014-11-28 05:17:29 +03:00
Alexey Milovidov
23b38c0e18 dbms: fixed error only partially [#METR-13933]. 2014-11-28 00:31:13 +03:00
Evgeniy Gatov
109c41954c libcloud, dbms: added write speed to clickhouse [#METR-13955]. 2014-11-27 22:35:31 +03:00
Andrey Mironov
f7cda10386 Merge 2014-11-26 13:28:13 +03:00
Alexey Milovidov
bdb666efee Revert "Revert "dbms: fix column names asynchrony in SELECT from StorageDistributed. [#METR-13399]""
This reverts commit 08c41d2abb2e08922c567856ec37038d1fa59e72.
2014-11-26 00:11:11 +03:00
Alexey Milovidov
a03bc39fa2 Merge 2014-11-25 23:55:36 +03:00
Alexey Milovidov
3dba76210f Merge 2014-11-25 23:55:36 +03:00
Alexey Milovidov
25ddd55cad Merge 2014-11-25 23:55:34 +03:00
Alexey Milovidov
8b2b1a52d1 Revert "Revert "dbms: allow all requested columns to be missing [#METR-13020]""
This reverts commit a74051d1739fbf4de8da2118e2f05820a6bc10f0.
2014-11-25 23:55:23 +03:00
Andrey Mironov
f1f139e8d0 dbms: fix allocation of excess memory for const result in concat. 2014-11-25 23:22:10 +03:00
Andrey Mironov
8f9373c3d7 dbms: add test for concat n-ary const with nonconst segfault. 2014-11-25 23:07:06 +03:00
Andrey Mironov
ec07d1f711 dbms: fix stupid error in concat length calculation. 2014-11-25 22:34:07 +03:00
Andrey Mironov
eefcb3e369 Revert "dbms: allow all requested columns to be missing [#METR-13020]"
This reverts commit e09872e3621f24a9a839ce377e4a317dc2ca1788.
2014-11-25 21:46:58 +03:00
Andrey Mironov
c28bb54ed4 Merge 2014-11-25 21:46:38 +03:00
Andrey Mironov
4c9af262fd Merge 2014-11-25 21:46:23 +03:00
Alexey Milovidov
53c1dd7e08 Merge 2014-11-25 21:13:52 +03:00
Alexey Milovidov
071e31a7fa Revert "dbms: fix column names asynchrony in SELECT from StorageDistributed. [#METR-13399]"
This reverts commit f68d3226e0e55179b4cd734477f0aa45b669d6fa.
2014-11-25 19:33:01 +03:00
Andrey Mironov
e310a3021b dbms: fix column names asynchrony in SELECT from StorageDistributed. [#METR-13399] 2014-11-24 20:11:29 +03:00
Alexey Milovidov
639d29d5d4 dbms: added few profile events [#METR-2944]. 2014-11-23 07:01:36 +03:00
Alexey Milovidov
be73e48c46 dbms: fixed error when writing tuple of date or datetime elements in pretty formats (tnx. hertz) [#METR-2944]. 2014-11-23 07:00:18 +03:00
Alexey Milovidov
53fc3b7cd2 dbms: improved tests [#METR-2944]. 2014-11-22 23:56:14 +03:00
Alexey Milovidov
3dc00a1298 dbms: addition to prev. revision [#METR-13262]. 2014-11-22 05:51:22 +03:00
Alexey Milovidov
1f67c192fd dbms: added tests [#METR-13262]. 2014-11-22 05:36:49 +03:00
Alexey Milovidov
d7a1abbbdc Merge 2014-11-22 05:22:30 +03:00
Andrey Mironov
811565b5b1 dbms: implement appendTrailingCharIfAbsent, refactor concat. [#METR-13772] 2014-11-21 20:42:51 +03:00
Andrey Mironov
813742e5d7 dbms: add intDivOrZero function. [#METR-13159] 2014-11-21 17:28:39 +03:00
Andrey Mironov
eaa8a75a63 dbms: prohibit narrow-width integral types for determinator of quantile(s)Deterministic. [#METR-13199] 2014-11-21 17:07:25 +03:00
Andrey Mironov
d0971956e0 dbms: add quantile[s]Deterministic, rename stdext:: to ext:: [#METR-13199] 2014-11-21 16:34:37 +03:00
Andrey Mironov
d4d3663cd4 Merge 2014-11-20 17:42:45 +03:00
Pavel Kartavyy
83e0c58cba style fix: Clikhouse -> ClickHouse 2014-11-20 10:20:25 +03:00
Alexey Milovidov
0d51957607 dbms: calculating population of regions by population of children [#METR-13326]. 2014-11-20 03:17:43 +03:00
Alexey Milovidov
c5635ce6d9 dbms: added function regionToPopulation; clickhouse-server, ███████████, ███████████, ███████████ needs to be released before regions_hierarchy.txt change [#METR-13326]. 2014-11-20 03:05:14 +03:00
Alexey Milovidov
96ef141c8a dbms: added 'listen_host' configuration parameter [#METR-13759]. 2014-11-19 23:52:42 +03:00
Alexey Milovidov
a7b4903f14 dbms: fixed error with replication when 'interserver_http_port' is not specified [#METR-13831]. 2014-11-19 23:40:51 +03:00
Alexey Milovidov
7b8beea5e4 dbms: FREEZE PARTITION: improvement [#METR-2944]. 2014-11-17 03:41:40 +03:00
Alexey Milovidov
c017f3ebe3 dbms: added operators for DB/IO [#METR-2944]. 2014-11-15 22:00:55 +03:00
Alexey Milovidov
8a0bdbe1d7 dbms: improved performance of deserializing strings (+5% on search phrases) [#METR-2944]. 2014-11-15 21:57:49 +03:00
Alexey Milovidov
8f076b8ac4 Removed deprecated date and time functions [#METR-13554]. 2014-11-14 23:55:23 +03:00
Andrey Mironov
37746b8e96 Merge 2014-11-14 15:52:02 +03:00
Andrey Mironov
58473a3085 Merge 2014-11-14 14:03:26 +03:00
Andrey Mironov
5af02c6119 Revert "dbms: purported fix", no luck
This reverts commit bf86346df8713ac76ed631f12eda4f13d3379057.
2014-11-14 12:47:58 +03:00
Andrey Mironov
4a70c452a7 dbms: purported fix 2014-11-14 12:30:35 +03:00
Andrey Mironov
11f1482927 dbms: allow all requested columns to be missing [#METR-13020] 2014-11-13 20:49:24 +03:00
Pavel Kartavyy
140b4545dd dbms: fix [#METR-13667] 2014-11-13 17:01:29 +03:00
Pavel Kartavyy
14c231c055 dbms: filtered tables in 'show tables from' query [#METR-13667] 2014-11-13 16:02:12 +03:00
Andrey Mironov
85e511fdab dbms: refactor IFunction descendants' registration in FunctionFactory 2014-11-12 21:04:49 +03:00
Andrey Mironov
50328d120a Merge 2014-11-12 13:42:04 +03:00
Andrey Mironov
731be3e7cf Merge 2014-11-12 13:37:47 +03:00
Andrey Mironov
ccc770e5ab dbms: add tests for defaulted columns. [#METR-12739] 2014-11-11 19:41:51 +03:00
Andrey Mironov
65629ef560 Merge 2014-11-11 19:29:21 +03:00
Andrey Mironov
8a2de38dc7 dbms: materialize constants during merge, allow alteration between DEFAULT and MATERIALIZED. [#METR-12739] 2014-11-11 18:22:39 +03:00
Andrey Mironov
b682e42e5a dbms: prohibit creating tables without physical columns. [#METR-12739] 2014-11-11 17:20:22 +03:00
Andrey Mironov
de271b753e dbms: allow creating tables with all columns set to default. [#METR-12739] 2014-11-11 17:11:49 +03:00
Alexey Milovidov
9a9036f217 dbms: added FREEZE PARTITION functionality [#METR-13441]. 2014-11-11 07:11:07 +03:00
Andrey Mironov
3407600536 dbms: save all columns in a single ZooKeeper node [#METR-12739] 2014-11-10 19:16:43 +03:00
Andrey Mironov
e7edb5e2af dbms: correct typo 2014-11-10 14:38:06 +03:00
Alexey Milovidov
212cb73eec dbms: improved performance of aggregation by string key when there are significant amount of empty strings [#METR-2944]. 2014-11-09 15:53:44 +03:00
Alexey Milovidov
87a31229e9 dbms: improved performance of aggregation by string key [#METR-2944]. 2014-11-09 15:43:09 +03:00
Alexey Milovidov
530eb9f919 dbms: HashTable: more use of saved hash value - less string comparisons, improved performance of aggregation by string [#METR-2944]. 2014-11-09 11:39:18 +03:00
Alexey Milovidov
f68e30cfdb dbms: testing string comparison [#METR-2944]. 2014-11-09 10:26:37 +03:00
Alexey Milovidov
d486138e0a dbms: added test for different string equality comparison methods [#METR-2944]. 2014-11-09 05:51:28 +03:00
Alexey Milovidov
16a1c1e6e8 Merge 2014-11-09 02:55:24 +03:00
Alexey Milovidov
1f52150f12 dbms: renamed variable [#METR-2944]. 2014-11-09 02:54:03 +03:00
Alexey Milovidov
a58104c818 dbms: showing progress for INSERT SELECT query [#METR-13612]. 2014-11-09 02:52:18 +03:00
Andrey Mironov
4e43304cd7 dbms: add reference file for concat test. 2014-11-07 22:01:46 +03:00
Andrey Mironov
fe49e06e46 dbms: implement concat for arbitrary arity (> 0). [#METR-12888] 2014-11-07 21:42:00 +03:00
Alexey Milovidov
c881adcaff dbms: allowed to start without ZooKeeper (in readonly mode) [#METR-2944]. 2014-11-07 04:12:55 +03:00
Alexey Milovidov
313fe36e7a dbms: addition to prev. revision [#METR-13322]. 2014-11-07 03:02:53 +03:00
Alexey Milovidov
3d359e2b82 Partially get rid of time2str.h [#METR-13554]. 2014-11-06 09:32:23 +03:00
Alexey Milovidov
6754ee8068 dbms: more sane [#METR-13554]. 2014-11-06 06:38:10 +03:00
Alexey Milovidov
ae56793530 dbms: fixed error with filtering by set of tuples with elements that fit in 128 bits [#METR-13322]. 2014-11-06 06:03:40 +03:00
Alexey Milovidov
74db63113e DateLUT: removed useless code; improved startup time [#METR-13554]. 2014-11-06 05:39:48 +03:00
Alexey Milovidov
2727fef911 dbms: removed few functions [#METR-13554]. 2014-11-06 04:31:50 +03:00
Alexey Milovidov
4e363249e1 dbms: added test [#METR-2944]. 2014-11-05 23:55:33 +03:00
Alexey Milovidov
a825e54b3a dbms: improved performance of aggregation by string keys [#METR-13168]. 2014-11-04 00:08:56 +03:00
Alexey Milovidov
ec08b393de dbms: tiny improvement [#METR-2944]. 2014-11-01 02:20:18 +03:00
Alexey Milovidov
bc454aec71 dbms: added override to all columns [#METR-2944]. 2014-11-01 01:15:17 +03:00
Andrey Mironov
23bf89d490 dbms: properly resize const strings passed into toFixedString. 2014-10-31 16:49:48 +03:00
Andrey Mironov
11a7b05f48 dbms: add tests for ip coding functions with non-const arguments. [#METR-13151] 2014-10-31 15:57:41 +03:00
Andrey Mironov
c62bcdcd18 Revert "dbms: remove redundant memset(0) from IPv6StringToNum. [#METR-13151]"
This reverts commit 37cc08166507494428c8b858a4670156de356c32.
2014-10-31 15:57:30 +03:00
Andrey Mironov
70f376b8e6 dbms: remove redundant memset(0) from IPv6StringToNum. [#METR-13151] 2014-10-31 15:46:57 +03:00
Andrey Mironov
5465bb3d50 dbms: add tests for IPv4/6 coding functions. [#METR-13151] 2014-10-31 15:03:35 +03:00
Andrey Mironov
152ca18a21 dbms: drastic increase in IPv6StringToNum performance. [#METR-13151] 2014-10-31 15:03:35 +03:00
Andrey Mironov
a88c5e74ab dbms: improve performance of IPv6NumToString. [#METR-13151] 2014-10-30 17:43:41 +03:00
Andrey Mironov
74b2f521d0 dbms: fix IPv6NumToString out of bounds access. [#METR-13151] 2014-10-29 16:53:04 +03:00
Andrey Mironov
a5905c608a dbms: IPv6StringToNum. [#METR-13151] 2014-10-29 15:49:33 +03:00
Andrey Mironov
ee34ca31d8 dbms: add MD5, SHA1, SHA224, SHA256, IPv6NumToString. [#METR-13151] 2014-10-29 15:49:33 +03:00
Alexey Milovidov
37e599934f dbms: further [#METR-2944]. 2014-10-29 05:35:16 +03:00
Alexey Milovidov
425263970f dbms: improved performance of aggregation by one numeric key (up to: 2x for UInt8, 5x for UInt16, 1.1x for UInt32, UInt64) [#METR-2944]. 2014-10-29 04:18:50 +03:00
Andrey Mironov
96d8c7484a dbms: add arrayFirst, arrayFirstIndex functions. [#METR-13151] 2014-10-28 18:49:33 +03:00
Andrey Mironov
484073a95c dbms: add emptyArrayType family of functions. #[METR-13151] 2014-10-28 16:43:51 +03:00
Andrey Mironov
0d35ea0bf4 dbms: implement firstSignificantSubdomain, cutToFirstSignificantSubdomain. [#METR-13151] 2014-10-27 18:17:07 +03:00
Alexey Milovidov
5d21d75e85 dbms: addition to prev. revision [#METR-13297]. 2014-10-27 07:50:38 +03:00
Alexey Milovidov
e063ccc180 dbms: StorageBuffer: additions [#METR-13297]. 2014-10-27 07:18:13 +03:00
Alexey Milovidov
b3c060b89e dbms: fixed error [#METR-13297]. 2014-10-26 05:59:46 +03:00
Alexey Milovidov
fee4863a16 dbms: Client: tiny fix for progress-bar [#METR-2944]. 2014-10-26 05:01:21 +03:00
Alexey Milovidov
5cf02c4cc1 dbms: addition to prev. revision [#METR-13297]. 2014-10-26 03:21:06 +03:00
Alexey Milovidov
13f825a7e5 dbms: StorageBuffer: fixed error [#METR-13297]. 2014-10-26 03:12:39 +03:00
Alexey Milovidov
2d5192c4a0 dbms: StorageBuffer: development [#METR-13297]. 2014-10-26 03:01:36 +03:00
Alexey Milovidov
08e93dbbd4 dbms: Client: showing progress bar for long-running queries [#METR-2944]. 2014-10-26 00:27:37 +04:00
Alexey Milovidov
0045133b0e dbms: prepared for fully-functional progress bar [#METR-2944]. 2014-10-25 22:33:52 +04:00
Andrey Mironov
2798a19944 Merge 2014-10-24 14:48:47 +04:00
Andrey Mironov
ec5aa734f9 dbms: cut coupling between dbms and dbms_functions. [#METR-12739] 2014-10-24 13:33:31 +04:00
Alexey Milovidov
199837baa4 dbms: fixed error in formatting [#METR-2944]. 2014-10-24 03:30:48 +04:00
Alexey Milovidov
59d4783d5c dbms: fixed bad code [#METR-2944]. 2014-10-24 02:32:17 +04:00
Alexey Milovidov
731fcf6b01 dbms: fixed error in move to PREWHERE [#METR-13020]. 2014-10-24 02:22:34 +04:00
Alexey Milovidov
b7d93bcb18 dbms: fixed error in prev. revision [#METR-13374]. 2014-10-24 02:19:57 +04:00
Alexey Milovidov
405d3ed16f metrage: fixed error [#METR-13374]. 2014-10-24 01:57:03 +04:00
Alexey Milovidov
4eba9dc56c dbms: treat SAMPLE 1 as no-op [#METR-2944]. 2014-10-23 23:16:43 +04:00
Andrey Mironov
934149d59a Merge 2014-10-23 16:16:24 +04:00
Andrey Mironov
2e7c880fe5 dbms: remove accidentally forgotten code. [#METR-13321] 2014-10-21 18:08:06 +04:00
Andrey Mironov
25639d9834 dbms: fix segmentation fault when left tuple of IN contains array types. [#METR-13321] 2014-10-21 17:07:38 +04:00
Andrey Mironov
847b91614a dbms: deduce and check types during alter, alteration of defaulted columns. [#METR-12739] 2014-10-21 16:11:20 +04:00
Alexey Milovidov
2c23fb4d87 dbms: tiny modifications [#METR-2944]. 2014-10-19 01:46:05 +04:00
Alexey Milovidov
d3664eac89 dbms: added setting replication_alter_partitions_sync [#METR-13158]. 2014-10-18 23:14:09 +04:00
Alexey Milovidov
f26b265eed Merge 2014-10-18 21:37:55 +04:00
Alexey Milovidov
6575443ff9 dbms: Client: don't fall to std::terminate when bad arguments (tnx. egatov) [#METR-2944]. 2014-10-18 03:42:50 +04:00
Alexey Milovidov
172ac6715f dbms: tiny fix [#METR-2944]. 2014-10-18 01:44:56 +04:00
Andrey Mironov
8a8e5963c5 dbms: chaining support for defaulted columns when corresponding columns files are absent. [#METR-12739] 2014-10-17 16:26:53 +04:00
Alexey Milovidov
a097d24644 dbms: moved some code to separate file [#METR-13153]. 2014-10-17 05:05:51 +04:00
Alexey Milovidov
ef82933bb3 zkutil: Async interface: development [#METR-2944]. 2014-10-17 00:05:26 +04:00
Andrey Mironov
1dfcaefc64 Merge 2014-10-16 20:55:23 +04:00
Andrey Mironov
0bfd35e5c7 dbms: defaulted columns support for ALTER, currently without type deduction and checking. 2014-10-16 17:37:01 +04:00
Alexey Milovidov
c2e4662ad7 Changed boost:: to std:: for bind, ref/cref, thread, shared_ptr [#METR-2807]. 2014-10-16 05:21:03 +04:00
Alexey Milovidov
afc4f7fcf0 dbms: tiny modification [#METR-13153]. 2014-10-16 00:28:43 +04:00
Alexey Milovidov
07ba420b85 dbms: addition to prev. revision; removed support to FETCH UNREPLICATED PARTITION [#METR-13153]. 2014-10-15 23:59:12 +04:00
Alexey Milovidov
2800bf4c30 dbms: modified criteria for automatic repair [#METR-13235]. 2014-10-15 23:42:32 +04:00
Alexey Milovidov
7ef7b5d81e dbms: allowed recursive macros [#METR-13146]. 2014-10-15 23:38:46 +04:00
Alexey Milovidov
25b474bd81 dbms: fixed subtle error [#METR-13153]. 2014-10-15 17:38:09 +04:00
Alexey Milovidov
3d7639e5f1 dbms: little better [#METR-13153]. 2014-10-15 05:22:06 +04:00
Alexey Milovidov
8d0bdffdff dbms: addition to prev. revision [#METR-13204]. 2014-10-14 23:12:49 +04:00
Alexey Milovidov
1c16466214 dbms: fixed error when sorting result of ARRAY JOIN by empty arrays [#METR-13204]. 2014-10-14 22:39:38 +04:00
Alexey Milovidov
5fc32bb267 dbms: FETCH PARTITION: development [#METR-13153]. 2014-10-13 22:01:58 +04:00
Alexey Milovidov
21383c5475 dbms: FETCH PARTITION: development [#METR-13153]. 2014-10-13 21:28:59 +04:00
Andrey Mironov
43deee45c9 dbms: MATERIALIZED columns evaluation during insert, error handling. #[METR-12739] 2014-10-13 18:35:40 +04:00
Andrey Mironov
6f7997ce11 dbms: prohibit inserting materialized columns, support create as and similar queries. [#METR-12739] 2014-10-10 19:45:43 +04:00
Alexey Milovidov
54636994ef dbms: FETCH PARTITION: development [#METR-13153]. 2014-10-10 04:46:37 +04:00
Alexey Milovidov
39bf7f3442 dbms: fixed error in system.zookeeper table [#METR-13153]. 2014-10-10 03:15:14 +04:00
Alexey Milovidov
a76db2ba78 dbms: improvement [#METR-13153]. 2014-10-10 03:14:06 +04:00
Alexey Milovidov
24be223a48 dbms: added column 'partition' to table system.parts [#METR-13153]. 2014-10-10 02:54:17 +04:00
Alexey Milovidov
299f32dc14 dbms: addition to prev. revision [#METR-13129]. 2014-10-10 02:52:20 +04:00
Alexey Milovidov
110422dc21 dbms: fixed error with position of FINAL and SAMPLE in SELECT query [#METR-13129]. 2014-10-10 02:46:28 +04:00
Alexey Milovidov
c1601502bd dbms: FETCH PARTITION: parsing and dispatching [#METR-13153]. 2014-10-10 00:28:33 +04:00
Pavel Kartavyy
cc5629a06a Merge 2014-10-08 23:00:44 +04:00
Pavel Kartavyy
d9bba776eb cloud: fixed funny bug that cloud cannot be created if some host is unknown by DNS [#METR-10969] 2014-10-08 23:00:25 +04:00
Alexey Milovidov
58982a2530 dbms: fixed error [#METR-11587]. 2014-10-08 05:54:26 +04:00
Alexey Milovidov
150bde4e4f dbms: VIEWs: added support for SAMPLE, FINAL, PREWHERE [#METR-13098]. 2014-10-08 03:08:56 +04:00
Alexey Milovidov
a6dcbb0371 dbms: addition to prev. revision [#METR-13087]. 2014-10-08 02:22:09 +04:00
Alexey Milovidov
c74a5e1166 dbms: addition to prev. revision [#METR-13087]. 2014-10-08 02:20:32 +04:00
Alexey Milovidov
82467eca80 dbms: improved checking types in IN [#METR-13087]. 2014-10-08 02:19:48 +04:00
Alexey Milovidov
49df24d891 dbms: system.replicas: improvement [#METR-12726]. 2014-10-08 00:04:40 +04:00
Alexey Milovidov
48ec87bc40 dbms: fixed error with system.replicas; improvement [#METR-12726]. 2014-10-07 22:44:03 +04:00
Alexey Milovidov
bb60b4e859 dbms: fixed bad code [#METR-12726]. 2014-10-07 22:42:35 +04:00
Pavel Kartavyy
10f948d3a3 Merge 2014-10-07 17:10:38 +04:00
Andrey Mironov
f675bed75b dbms: add partial validation of ALTER queries. [#METR-12739] 2014-10-07 13:09:59 +04:00
Alexey Milovidov
a800baba16 dbms: more neat [#METR-2944]. 2014-10-07 02:48:20 +04:00
Alexey Milovidov
3ff8c7ff26 dbms: fixed error [#METR-13087]. 2014-10-07 02:46:18 +04:00
Alexey Milovidov
390b2efc61 dbms: fixing error [#METR-13087] (incomplete). 2014-10-07 00:33:12 +04:00
Pavel Kartavyy
35bdcc715d Merge 2014-10-06 16:26:17 +04:00
Alexey Milovidov
ee52328600 dbms: fixed error with index and NOT [#METR-13066]. 2014-10-06 09:49:31 +04:00
Alexey Milovidov
468ea6e4be dbms: added table system.replicas [#METR-12726]. 2014-10-06 09:18:17 +04:00
Alexey Milovidov
0e923da9b3 dbms: added system.zookeeper table [#METR-2944]. 2014-10-06 07:49:56 +04:00
Alexey Milovidov
2c2d4ea921 dbms: added table system.settings [#METR-2944]. 2014-10-06 06:01:41 +04:00
Alexey Milovidov
a3dbff3fc4 dbms: easier to add more compression algrorithms [#METR-2944]. 2014-10-06 01:59:23 +04:00
Alexey Milovidov
ec9fb6f600 dbms: fixed error in prev. revision [#METR-12524]. 2014-10-03 23:38:51 +04:00
Alexey Milovidov
b274378e18 dbms: Client: more handy [#METR-12524]. 2014-10-03 23:09:15 +04:00
Alexey Milovidov
b4f45dc27a dbms: fixed double whitespace when formatting ALTER TABLE ATTACH/DETACH [#METR-12524]. 2014-10-03 22:57:05 +04:00
Alexey Milovidov
a2634c60d0 dbms: fixed error in prev. revisions [#METR-12524]. 2014-10-03 22:55:11 +04:00
Alexey Milovidov
64071c2224 Merge 2014-10-03 22:41:16 +04:00
Alexey Milovidov
90d8096a0e Merge 2014-10-03 21:57:01 +04:00
Alexey Milovidov
e84a0266e6 dbms: more consistent usage of override in Storages [#METR-12524]. 2014-10-03 21:55:36 +04:00
Andrey Mironov
220ce78326 dbms: support ALIAS in table declaration 2014-10-03 19:30:10 +04:00
Andrey Mironov
defc09ed40 Merge 2014-10-03 18:29:42 +04:00
Andrey Mironov
f7ce30aa9d dbms: support AddingDefaultBlock(Input|Output)Stream without ColumnDefaults 2014-10-03 14:25:05 +04:00
Andrey Mironov
468b7af64e Merge 2014-10-03 14:19:34 +04:00
Andrey Mironov
47629b31cd fix optimize_move_to_prewhere, alter query before any other manipulations. #[METR-13020] 2014-10-03 13:17:06 +04:00
Alexey Milovidov
1da86169d6 dbms: more handy error message [#METR-2944]. 2014-10-03 03:31:18 +04:00
Alexey Milovidov
c1bb78df32 Merge 2014-10-02 23:20:39 +04:00
Alexey Milovidov
b470cb26b1 dbms: uniqUpTo: fixed error [#METR-13022]. 2014-10-02 23:20:09 +04:00
Andrey Mironov
9800d0d95f Merge 2014-10-02 22:34:49 +04:00
Pavel Kartavyy
7bb049e4e0 Merge 2014-10-02 20:07:18 +04:00
Andrey Mironov
59ae69c5e9 rename optimization setting to optimize_move_to_prewhere 2014-10-02 13:48:53 +04:00
Alexey Milovidov
6b6151d51f dbms: system.parts: more handy [#METR-12784]. 2014-10-01 22:40:43 +04:00
Andrey Mironov
192dde9b36 Merge 2014-10-01 20:47:36 +04:00
Andrey Mironov
5083090f8d Merge 2014-10-01 20:39:32 +04:00
Andrey Mironov
5dde67112d remove std::cout loggin 2014-10-01 18:12:06 +04:00
Andrey Mironov
aebc4f0f48 add merge_tree_optimize_where setting, default to false. [#METR-11900] 2014-10-01 17:51:44 +04:00
Andrey Mironov
5f88c8ae81 always show default_type and default_expression columns for DESC TABLE query. [#METR-12739] 2014-10-01 15:17:44 +04:00
Alexey Milovidov
8afa7c1943 dbms: probably fixed error [#METR-12784]. 2014-10-01 04:11:32 +04:00
Alexey Milovidov
d6a2cc33aa dbms: tiny modifications [#METR-12784]. 2014-10-01 04:10:35 +04:00
Alexey Milovidov
4b83a8d3b3 dbms: tiny modifications [#METR-12784]. 2014-10-01 00:26:10 +04:00
Andrey Mironov
34dba980c7 show defaulted columns info in DESC TABLE query output. [#METR-12739] 2014-09-30 07:48:40 +04:00
Andrey Mironov
8052020218 add draft version of DEFAULT, MATERIALIZED/ALIAS currently parsed but not taken into account. [#METR-12739] 2014-09-30 07:08:47 +04:00
Alexey Milovidov
995bc9a5dd dbms: investigation [#METR-12784]. 2014-09-30 00:26:46 +04:00
Andrey Mironov
3060ba9571 return ColumnDefaults from InterpreterCreateQuery::parseColumns. [#METR-12739] 2014-09-29 18:58:48 +04:00
Andrey Mironov
529674ce6a detect cycles, deduce and check types. [#METR-12739] 2014-09-29 17:36:30 +04:00
Alexey Milovidov
e3ac086ff0 Merge 2014-09-29 09:03:17 +04:00
Alexey Milovidov
af02e67992 dbms: tiny modification [#METR-2944]. 2014-09-29 09:03:03 +04:00
Alexey Milovidov
20de7e1003 dbms: tiny modification (more compatible) [#METR-12784]. 2014-09-26 20:11:30 +04:00
Alexey Milovidov
e379477828 dbms: don't allow empty identifiers [#METR-2944]. 2014-09-26 20:10:37 +04:00
Alexey Milovidov
fdd34069ff dbms: probably fixed error in cyclic ALTERs [#METR-12509]. 2014-09-26 04:49:50 +04:00
Andrey Mironov
1d04061a0e implement type-deduction and type-enforcing. [#METR-12739] 2014-09-25 19:01:09 +04:00
Andrey Mironov
cee035439e add makeASTFunction factory-function. #[NETR-12739] 2014-09-25 19:00:12 +04:00
Andrey Mironov
142d0a49c0 add ASTColumnDeclaration, corresponding formatAST, modify Interpreters. [#METR-12739] 2014-09-25 17:40:26 +04:00
Alexey Milovidov
ba0191d0fc dbms: better observability [#METR-12784]. 2014-09-25 03:35:27 +04:00
Alexey Milovidov
b32586f851 dbms: added tests for prev. revision [#METR-12901]. 2014-09-24 22:07:39 +04:00
Alexey Milovidov
2706a28d3b dbms: fixed errors when INSERTing subset of columns through HTTP [#METR-12901]. 2014-09-24 22:06:24 +04:00
Alexey Milovidov
36866b7d6b Removed columns NormalizedEndURLHash, NormalizedRefererHash everywhere [#MTRSADMIN-447]. 2014-09-24 19:43:47 +04:00
Andrey Mironov
d1d9037053 Merge 2014-09-24 18:46:23 +04:00
Andrey Mironov
58dd0cbe50 extend parser for default column declaration support. [#METR-12739] 2014-09-24 18:44:57 +04:00
Andrey Mironov
08a4ba91ef add tests for date arithmetic. 2014-09-24 15:53:41 +04:00
Andrey Mironov
f77ef5f84d rename evaluateDatabaseName function and header, add comments 2014-09-24 15:53:41 +04:00
Andrey Mironov
0a4e3f1280 add function currentDatabase(), allow string-expressions in place of database name 2014-09-24 15:53:41 +04:00
Alexey Milovidov
463dfe5ea9 Merge 2014-09-23 23:47:25 +04:00
Andrey Mironov
c6048522d2 Merge 2014-09-23 21:24:39 +04:00
Andrey Mironov
9c5f8eadb3 Merge 2014-09-23 21:00:57 +04:00
Andrey Mironov
f9afc661d1 Merge 2014-09-23 15:36:02 +04:00
Andrey Mironov
bc1587a192 Merge 2014-09-23 15:36:02 +04:00
Andrey Mironov
0f0c10a62d move single condition from WHERE to PREWHERE, refactor. [#METR-11900] 2014-09-23 15:36:02 +04:00
Andrey Mironov
13870f5ba5 transform of non-good conditions, refactor. [#METR-11900] 2014-09-23 15:36:02 +04:00
Andrey Mironov
78aeb03095 Merge 2014-09-23 15:36:02 +04:00
Andrey Mironov
8579036446 refactor, fix comment meaning. [#METR-11900] 2014-09-23 15:36:02 +04:00
Andrey Mironov
86beda3111 Merge 2014-09-23 15:36:01 +04:00
Andrey Mironov
0fb1912d7c WHERE condition recognition. [#METR-11900] 2014-09-23 15:36:01 +04:00
Alexey Milovidov
a81b5d7df9 dbms: additions to prev. revision [#METR-12857]. 2014-09-23 03:21:15 +04:00
Alexey Milovidov
5cc3316485 dbms: fixed tiny error in log message [#METR-2944]. 2014-09-19 22:56:20 +04:00
Alexey Milovidov
41d2b30992 dbms: added function regionToDistrict [#METR-12826]. 2014-09-19 22:51:24 +04:00
Alexey Milovidov
81c268177b dbms: probably fixed error when writeSuffix method wasn't called when writing to table [#METR-12767]. 2014-09-18 23:49:31 +04:00
Alexey Milovidov
658ab39d41 dbms: removed misleading comment [#METR-12795]. 2014-09-18 22:12:07 +04:00
Andrey Mironov
e954fa6d00 add elapsed and progress rows to system.merges. [#METR-12574]
Fix data-race introduced due to misconception of atomic instructions on integers.
2014-09-18 14:23:12 +04:00
Alexey Milovidov
f2c0ba3ba2 dbms: fixed error with merges [#METR-12767]. 2014-09-18 03:57:25 +04:00
Alexey Milovidov
8505c84c23 dbms: throttling INSERTs early [#METR-12767]. 2014-09-18 02:57:02 +04:00
Alexey Milovidov
bd8d56512e dbms: FunctionsArithmetic: style [#METR-12575]. 2014-09-18 00:18:52 +04:00
Alexey Milovidov
eca407e61a Revert "dbms: fixed high CPU usage on failed INSERTs [#METR-12726]."
This reverts commit 49cf3bbd0d8af92a756b46039a7a52fa81992765.
2014-09-17 06:36:32 +04:00