Commit Graph

3920 Commits

Author SHA1 Message Date
Alexey Arno
ef13e0203e dbms: Server: cosmetic changes [#METR-14875] 2015-02-20 13:53:26 +03:00
Alexey Arno
64c8535382 dbms: Server: performance optimization [#METR-14875] 2015-02-20 13:37:55 +03:00
Andrey Mironov
57abed9773 dbms: check argument count for *If aggregate functions. [#METR-15164] 2015-02-19 19:27:19 +03:00
Andrey Mironov
7dd6397245 dbms: alter appendTrailingCharIfAbsent behaviour [#METR-15071] 2015-02-19 18:28:24 +03:00
Andrey Mironov
cf8a927150 dbms: invert the way multiple values are acquired from the dictionary [#METR-13298] 2015-02-19 18:28:24 +03:00
Alexey Arno
533783d64b dbms: Server: performance optimization (minimize copies and reallocations) [#METR-14875] 2015-02-19 17:55:47 +03:00
Alexey Arno
86129c634f dbms: Server: performance optimization [#METR-14875] 2015-02-19 14:08:49 +03:00
Alexey Arno
a4f4c6a811 dbms: Server: performance optimization [#METR-14875] 2015-02-19 02:15:20 +03:00
Alexey Arno
19a93cc0bf dbms: Server: fixed DAG traversal [#METR-14875] 2015-02-19 01:13:54 +03:00
Alexey Arno
d5d41df78d dbms: Server: cosmetic changes [#METR-14875] 2015-02-18 21:18:37 +03:00
Alexey Arno
123acacb4d dbms: Server: removed old code [#METR-14875] 2015-02-18 20:43:44 +03:00
Alexey Arno
fe8713a030 Merge 2015-02-18 20:41:51 +03:00
Alexey Arno
3d497e689b dbms: Server: compilation fix [#METR-14875] 2015-02-18 20:09:06 +03:00
Alexey Arno
cd59370159 dbms: Server: feature development [#METR-14875] 2015-02-18 20:05:25 +03:00
Alexey Arno
4dd8387f2d dbms: Server: feature development [#METR-14875] 2015-02-18 20:05:25 +03:00
Alexey Arno
8407779d2e dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:15 +03:00
Alexey Arno
0869016283 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
2c547ad2fd dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
88aab687ab dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
2920b7dbe5 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
f6745b2972 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
932755f851 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
99663bfc99 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
f37fea7f24 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
f49bcac364 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
c342867233 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
5546e6c872 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
c95bec1cf4 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Milovidov
d9c29390fd dbms: benchmark: allowed to specify settings [#METR-2944]. 2015-02-16 23:12:59 +03:00
Andrey Mironov
17ff7a352b Merge 2015-02-16 20:06:45 +03:00
Alexey Milovidov
06d2a778ad dbms: fixed dynamic compiler [#METR-2944]. 2015-02-16 20:08:57 +03:00
Alexey Milovidov
b35f7f04ab dbms: fixed error in prev. revision [#METR-2944]. 2015-02-15 19:12:08 +03:00
Alexey Milovidov
9dd3662920 dbms: fixed error in prev. revision [#METR-2944]. 2015-02-15 18:59:30 +03:00
Alexey Milovidov
e7aa1cd01c dbms: slightly improved performance of reading long strings [#METR-2944]. 2015-02-15 18:38:04 +03:00
Alexey Milovidov
ca4ca58855 dbms: slightly improved performance when reading long strings [#METR-2944]. 2015-02-15 18:18:21 +03:00
Alexey Milovidov
24a4956671 dbms: improved performance of reading string columns [#METR-2944]. 2015-02-15 17:25:43 +03:00
Alexey Milovidov
68dd2317ce dbms: improved performance on short queries from wide tables [#METR-2944]. 2015-02-15 16:30:07 +03:00
Alexey Milovidov
a8f155cb06 dbms: addition to prev. revision [#METR-2944]. 2015-02-15 15:40:07 +03:00
Alexey Milovidov
2d04fed3a3 dbms: improved performance of reading string column [#METR-2944]. 2015-02-15 15:38:21 +03:00
Alexey Milovidov
6d6faf8b5e dbms: improved performance of JSON output format for data without strings (2.5 times) [#METR-2944]. 2015-02-15 12:45:29 +03:00
Alexey Milovidov
fa84f264aa dbms: more sane progress bar - it doesn't roll back when using ConcatBlockInputStream [#METR-2944]. 2015-02-15 09:08:31 +03:00
Alexey Milovidov
886b2daf9b dbms: added support for subqueries in PREWHERE [#METR-15106]. 2015-02-15 07:16:11 +03:00
Alexey Milovidov
7d4ce4b505 dbms: added settings to fine tune reads from merge tree [#METR-2944]. 2015-02-15 05:31:48 +03:00
Alexey Milovidov
ad2392ee7d dbms: fixed error with StorageBuffer [#METR-15105]. 2015-02-13 23:37:30 +03:00
Alexey Arno
b5105ecdf7 dbms: Server: fixed bug in UNION ALL [#METR-15077] 2015-02-13 14:40:58 +03:00
Alexey Milovidov
597f2eb737 dbms: fixed build [#METR-2944]. 2015-02-13 07:28:31 +03:00
Alexey Milovidov
2017ee72c9 Revert "dbms: improving performance of String IN (set) (for graphite) [#METR-2944]."
This reverts commit 504894305d02e73c471e0020057d4b7a96afca1d.
2015-02-13 07:08:25 +03:00
Alexey Milovidov
7c8f3267be Revert "dbms: addition to prev. revision [#METR-2944]."
This reverts commit ae6fe44a0a0a3b600b41d781129159acb66815d5.
2015-02-13 07:08:11 +03:00
Alexey Milovidov
f7ff9d64dc dbms: addition to prev. revision [#METR-2944]. 2015-02-13 04:19:33 +03:00
Alexey Milovidov
dea75f4445 dbms: improving performance of String IN (set) (for graphite) [#METR-2944]. 2015-02-13 04:18:28 +03:00
Alexey Milovidov
ea113f138f dbms: preparation [#METR-2944]. 2015-02-13 04:17:44 +03:00
Alexey Milovidov
59a55a4ce0 dbms: fixed wrong check with function 'match' and many subpatterns [#METR-14976]. 2015-02-11 04:24:51 +03:00
Alexey Milovidov
0289a578f8 dbms: Better [#METR-15052]. 2015-02-11 03:38:07 +03:00
Alexey Milovidov
2920dba21d dbms: Throttler: improvement [#METR-15052]. 2015-02-11 03:07:00 +03:00
Alexey Milovidov
e09225d230 Addition to prev. revision [#METR-2807]. 2015-02-11 00:14:11 +03:00
Alexey Milovidov
a9eb28c07d Using std::make_unique [#METR-2807]. 2015-02-11 00:10:58 +03:00
Alexey Milovidov
2d37140ee1 Added missing file [#METR-15052]. 2015-02-10 23:50:01 +03:00
Alexey Milovidov
d0972a159d dbms: added setting 'max_memory_bandwidth' [#METR-15052]. 2015-02-10 23:48:17 +03:00
Andrey Mironov
984aa5c4b5 dbms: extract external dictionaries management to a separate type [#METR-13298] 2015-02-10 20:40:40 +03:00
Andrey Mironov
168e1cd98d dbms: post-review corrections [#METR-13298]
add dummy CacheDictionary (could not commit without it)
2015-02-10 17:50:52 +03:00
Andrey Mironov
176189a55e dbms: remove const on IDictionary::getSource return type, add commentaries 2015-02-10 17:50:52 +03:00
Andrey Mironov
ed3c230e5d dbms: extract function Cluster::isLocal 2015-02-10 17:50:52 +03:00
Alexey Arno
d01825eaca dbms: Server: fixed issue with query stage setup on replicas [#METR-14410] 2015-02-09 20:53:44 +03:00
Sergey Magidovich
a026585b18 dbms: Remove noinlene. Problem solved using gcc-4.9. [#MOBMET-1238] 2015-02-09 16:59:44 +03:00
Sergey Magidovich
74f89e1199 ███████████: Remove useless noinline. [#MOBMET-1116], [#MOBMET-1209], [#MOBMET-737] 2015-02-09 16:59:44 +03:00
Sergey Magidovich
f6b34a25e0 ███████████: Fix exception evoiding. [#MOBMET-1238] 2015-02-09 16:59:44 +03:00
Alexey Arno
a36c7f0001 dbms: Server: removed unneeded include [#METR-14410] 2015-02-09 15:56:46 +03:00
Alexey Arno
78283c6b85 Merge 2015-02-09 14:40:54 +03:00
Alexey Arno
77f262f8a8 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-09 13:51:36 +03:00
Andrey Mironov
a485aacc54 dbms: fix external dictionaries exception on empty path [#METR-13298] 2015-02-09 13:10:35 +03:00
Andrey Mironov
8c62be82d1 dbms: make StorageFactory a singleton 2015-02-09 13:10:35 +03:00
Andrey Mironov
19e3f7a561 dbms: remove unused header 2015-02-09 13:10:35 +03:00
Andrey Mironov
bfbe878f99 dbms: properly delay dictionary update time in case of exception [#METR-13298] 2015-02-09 13:10:35 +03:00
Pavel Kartavyy
41b1a8dd25 Merge 2015-02-09 11:34:14 +03:00
Alexey Arno
e8902aa644 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-09 01:37:55 +03:00
Alexey Arno
8c0a540350 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-09 00:34:43 +03:00
Alexey Milovidov
6521efcb2a dbms: fixed error [#METR-2944]. 2015-02-08 07:25:09 +03:00
Alexey Arno
2e5d1041a1 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-08 02:13:04 +03:00
Alexey Arno
cede256a43 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-07 22:39:16 +03:00
Alexey Arno
ba96a87097 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-07 20:12:29 +03:00
Alexey Arno
7d5f75a804 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-07 01:32:54 +03:00
Alexey Arno
55acd52df2 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-06 17:46:04 +03:00
Alexey Arno
e854aa6c71 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-06 15:33:15 +03:00
Alexey Arno
80aba15901 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-06 13:41:03 +03:00
Alexey Milovidov
96c16b742b Separated test case for compiler bug [#METR-10240]. 2015-02-06 09:49:37 +03:00
Alexey Milovidov
fd01de7b03 Separated test case [#METR-10240]. 2015-02-06 07:45:28 +03:00
Alexey Arno
4a002773a8 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-06 01:31:03 +03:00
Alexey Arno
c1a771eb66 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-06 00:10:29 +03:00
Andrey Mironov
c594ffa066 dbms: failover support for MysqlDictionarySource [#METR-13298];
return current time for tables with Update_time = null
2015-02-05 21:51:19 +03:00
Andrey Mironov
5a92644082 dbms: disable auto-reset on Poco::Event in Dictionaries [#METR-13298] 2015-02-05 16:57:12 +03:00
Andrey Mironov
d0d7d9e4f7 dbms: return local server support to ClickhouseDictionarySource [#METR-13298] 2015-02-05 16:44:39 +03:00
Andrey Mironov
835c8a317e dbms: prohibit local clickhouse as a dictionary source [#METR-13298] 2015-02-04 19:10:27 +03:00
Andrey Mironov
0b2e0ce0c1 dbms: heal ClickhouseDictionarySource for local clickhouse [#METR-13298] 2015-02-04 19:07:19 +03:00
Andrey Mironov
7127c21a42 dbms: add forgotten return, support non-reloaded dictionaries [#METR-13298] 2015-02-04 18:18:29 +03:00
Andrey Mironov
1ef9c4138a dbms: allow empty dictionaries_config element in config.xml [#METR-13298] 2015-02-04 17:29:02 +03:00
Andrey Mironov
83f17692e1 dbms: send requests to local clickhouse via network [#METR-13298] 2015-02-04 16:47:30 +03:00
Andrey Mironov
f591ba73e1 dbms: check that dictionaries config file exists [#METR-13298] 2015-02-04 16:21:50 +03:00
Alexey Arno
ab9da73dea dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-04 16:07:10 +03:00
Andrey Mironov
ad54825dfe dbms: uncomment clickhouse dictionary source creation [#METR-13298] 2015-02-04 16:06:56 +03:00
Andrey Mironov
cee209db3e Merge 2015-02-04 14:01:06 +03:00
Alexey Arno
d519fac7b5 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-04 13:40:00 +03:00
Alexey Arno
51f8ad6e9d dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-04 13:27:06 +03:00
Alexey Milovidov
3782bdfa16 dbms: added comment [#METR-14901]. 2015-02-04 08:27:28 +03:00
Alexey Milovidov
160d72916a dbms: additions to prev. revision [#METR-14654]. 2015-02-04 08:07:51 +03:00
Alexey Milovidov
66156f5085 dbms: fixed segfault when query was cancelled while merging aggregate states in calculation of TOTALS [#METR-14654]. 2015-02-04 08:05:17 +03:00
Alexey Milovidov
8d6862fe9a dbms: modified test for parallel replicas [#METR-14410]. 2015-02-04 08:02:57 +03:00
Alexey Milovidov
80a3f9436b dbms: added test [#METR-14783]. 2015-02-04 07:00:42 +03:00
Alexey Milovidov
60df70053d dbms: fixed error [#METR-14902]. 2015-02-03 20:39:24 +03:00
Andrey Mironov
496fdc0228 dbms: add safety to Context::getDictionaries [#METR-13298] 2015-02-03 20:14:12 +03:00
Andrey Mironov
6fecb60894 dbms: better decoupling [#METR-13298] 2015-02-03 20:03:35 +03:00
Alexey Milovidov
97b0966ce2 Merge 2015-02-03 19:40:39 +03:00
Alexey Milovidov
d9d20f8c01 dbms: fixed error with IN with subquery with WHERE and PREWHERE in distributed query execution [#METR-14901]. 2015-02-03 19:38:30 +03:00
Alexey Arno
de526d55d2 dbms: Server: small code tweak [#METR-14410] 2015-02-03 18:10:00 +03:00
Alexey Arno
7ff0baaa44 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 17:37:35 +03:00
Alexey Arno
f4a3efa977 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
8b4bb37213 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
79e97417d9 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
57036f94c0 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
7cba335206 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
b0c4727d7a dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
a7f0279e1c dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
35356191c9 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
c46cd1e087 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
14b7361e69 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
e81ffd1ddc dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
39985e22f3 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
aa6e8f1fff dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
28570a12ce dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
a92da48209 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
9cb318dc33 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
6089f15f1f dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
a6a56993e2 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
29a58d403b dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
9cc7718ebf dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
40d753d0fd dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
866e733991 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
fe2e42920a dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
72df57b68c dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
0576a2f2d6 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
ca96f2f3eb dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
fddc332e6f dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
0c54fc48fc dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
f03b44e08e dbms: Server: add improvements and the ability of waiting for a read event on several connections. [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
49736cc853 dbms: Server: add support for multiple connections in PoolWithFailoverBase. [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
7b43e723fd dbms: Server: add improvements and the ability of waiting for a read event on several connections. [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
06a63495f3 dbms: Server: add support for multiple connections in PoolWithFailoverBase. [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
e86abf0311 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
0ba5c640b0 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
0102fa4cde dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
032a402d5a dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
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