Commit Graph

6065 Commits

Author SHA1 Message Date
Alexey Milovidov
c7d394f47e HTTP compression: development [#METR-20041]. 2016-02-12 00:40:51 +03:00
Alexey Milovidov
d14a12151e Fixed error with leak of watches [#METR-19975]. 2016-02-11 04:48:34 +03:00
Alexey Milovidov
14c28ebf0d Updated comment [#METR-20000]. 2016-02-11 04:43:39 +03:00
Pavel Kartavyy
eca42536d8 dbms: renamed Revision to ClickHouseRevision. Daemon to BaseDaemon 2016-02-09 20:06:50 +03:00
Alexey Milovidov
c55fbd08dc Fixed build package for metrika [#METR-17973]. 2016-02-09 00:20:55 +03:00
Alexey Milovidov
45cf6c6784 Added external tests [#METR-17973]. 2016-02-09 00:10:10 +03:00
Alexey Milovidov
df1d66e51a Removed sensitive data. 2016-02-08 00:58:58 +03:00
Alexey Milovidov
c3827a29eb Removed unrelated data. 2016-02-07 23:02:44 +03:00
Alexey Milovidov
02958c1c7f dbms: fixed race condition between attaches and download of parts [#METR-19399]. 2016-02-07 20:31:13 +03:00
Alexey Milovidov
c4a5b862bf dbms: tiny modification [#METR-2944]. 2016-02-07 20:30:39 +03:00
Alexey Milovidov
35d1bc10e2 dbms: fixed test [#METR-2944]. 2016-02-07 19:55:57 +03:00
Alexey Milovidov
6c38979819 dbms: fixed test [#METR-2944]. 2016-02-07 17:49:20 +03:00
Alexey Milovidov
d72720616a dbms: CSV format: development [#METR-19957]. 2016-02-07 14:49:49 +03:00
Alexey Milovidov
dadadf1b37 dbms: CSV format: additions [#METR-19957]. 2016-02-07 13:43:02 +03:00
Alexey Milovidov
dc982b1493 dbms: CSV format: added support for excessive delimiter at end of row [#METR-19957]. 2016-02-07 13:23:02 +03:00
Alexey Milovidov
73994ebb08 dbms: fixed error; added tests [#METR-19957]. 2016-02-07 12:53:48 +03:00
Alexey Milovidov
43c73cf7ee dbms: added support for CSV format [#METR-19957]. 2016-02-07 11:42:21 +03:00
Alexey Milovidov
563e410b72 Moved threadpool library to contrib [#METR-17973]. 2016-02-05 08:07:39 +03:00
Alexey Milovidov
7725b8ef8b dbms: better [#METR-17973]. 2016-02-05 05:21:18 +03:00
Alexey Milovidov
b375b6c6e6 dbms: fixed comments [#METR-17973]. 2016-02-04 00:37:52 +03:00
Alexey Milovidov
abf49e937c dbms: disabled QuickLZ [#METR-17973]. 2016-02-04 00:16:19 +03:00
Alexey Milovidov
3646bb747c dbms: additions [#METR-17973]. 2016-02-03 04:34:08 +03:00
Alexey Milovidov
de080cac60 dbms: fixed error [#METR-19866]. 2016-02-03 04:24:12 +03:00
Alexey Milovidov
3519c3cea2 dbms: separated mysqlxx::Date and mysqlxx::DateTime [#METR-17973]. 2016-02-03 04:17:58 +03:00
Alexey Milovidov
48a1fe182d dbms: attempt to fix an error [#METR-19866]. 2016-02-03 00:30:27 +03:00
Alexey Milovidov
f8ddee2443 dbms: fixed comment (tnx. chebotarev) [#METR-2944]. 2016-02-03 00:13:30 +03:00
Alexey Milovidov
038a6278d5 dbms: fixed error with multiple INSERTs in StripeLog [#METR-19901]. 2016-02-02 23:33:03 +03:00
Alexey Arno
4605992fb3 dbms: Server: Bug fix. [#METR-19860] 2016-02-02 14:49:57 +03:00
Alexey Milovidov
477c7245d4 dbms: added function regionToTopContinent [#METR-19807]. 2016-02-01 23:18:13 +03:00
Alexey Milovidov
14854540ba dbms: added test [#METR-19265]. 2016-02-01 21:40:27 +03:00
Alexey Milovidov
37d4dcb587 dbms: fixed CAST String to Enum [#METR-19265]. 2016-02-01 21:32:34 +03:00
Alexey Milovidov
b7ef4a3e7b dbms: fixed function visibleWidth for enums [#METR-19265]. 2016-02-01 20:30:46 +03:00
Alexey Milovidov
21fb1cca7c dbms: protection from attaching inactive parts at second ATTACH [#METR-19399]. 2016-01-30 06:26:24 +03:00
Alexey Milovidov
f9268b6ccb dbms: added test [#METR-19399]. 2016-01-30 05:50:14 +03:00
Alexey Milovidov
a0e7a59ab1 dbms: fixing errors with ATTACHes [#METR-19399]. 2016-01-30 05:29:20 +03:00
Alexey Milovidov
dae8a1d99d dbms: allowed to merge parts after DETACH PARTITION and then ATTACH [#METR-19397]. 2016-01-30 04:36:13 +03:00
Alexey Milovidov
f0a009bd70 dbms: attempt to fix an error [#METR-19399]. 2016-01-30 03:57:35 +03:00
Alexey Milovidov
061306d04b Merge 2016-01-29 05:24:50 +03:00
Alexey Milovidov
1b93d7d874 dbms: fixed error with possible conflict of names of parts when doing ATTACH after DROP PARTITION [#METR-18510]. 2016-01-29 05:24:03 +03:00
Alexey Milovidov
d5163b5060 Removed few old files [#METR-18510]. 2016-01-29 05:22:43 +03:00
Alexey Arno
113b592380 Merge 2016-01-28 19:06:57 +03:00
Alexey Milovidov
e5d4149ca4 Merge 2016-01-28 04:00:42 +03:00
Alexey Milovidov
67a07205b7 Merge 2016-01-28 04:00:27 +03:00
Alexey Milovidov
b7d3f0e4d6 Merge 2016-01-28 03:59:35 +03:00
Alexey Milovidov
113ff27a70 dbms: added test [#METR-19835]. 2016-01-28 03:54:56 +03:00
Alexey Milovidov
5d962f241f dbms: fixed error with ATTACH [#METR-19835]. 2016-01-28 03:39:11 +03:00
Pavel Kartavyy
fec72d8e58 Merge 2016-01-27 14:37:03 +03:00
Pavel Kartavyy
e19e2effd6 build fix 2016-01-27 10:03:15 +03:00
Alexey Milovidov
0b230fac46 dbms: fixed error [#METR-19585]. 2016-01-27 08:11:51 +03:00
Alexey Milovidov
506d79894f dbms: fixed error [#METR-19585]. 2016-01-27 07:34:10 +03:00
Alexey Milovidov
341a9e89e7 dbms: improved performance (not in all cases) [#METR-19585]. 2016-01-27 06:26:36 +03:00
Alexey Milovidov
0853c80d7c dbms: initial implementation of position functions for non-constant needle argument [#METR-19585]. 2016-01-27 06:11:28 +03:00
Alexey Milovidov
5dec54f4b5 dbms: improved URL-parsing functions for URLs with parameters without values and "parameters" after fragment identifier [#METR-19806]. 2016-01-27 00:24:09 +03:00
Alexey Milovidov
5c90d7d45c Merge 2016-01-26 05:00:25 +03:00
Alexey Milovidov
085dd9f90a Merge 2016-01-26 04:56:42 +03:00
Alexey Milovidov
d29ae515a5 Merge 2016-01-26 04:39:05 +03:00
Alexey Milovidov
9156262de6 dbms: added tests [#METR-19767]. 2016-01-26 04:35:33 +03:00
Alexey Milovidov
f715b941da dbms: done debugging [#METR-19767]. 2016-01-26 04:26:02 +03:00
Alexey Arno
ae2f7c7613 Merge 2016-01-26 03:30:18 +03:00
Alexey Milovidov
869a521aed dbms: fixing error [#METR-19767]. 2016-01-26 00:40:13 +03:00
Alexey Milovidov
525f961110 dbms: fixed error [#METR-19758]. 2016-01-24 10:10:30 +03:00
Alexey Milovidov
5688369bb1 dbms: fixed error [#METR-19758]. 2016-01-24 09:56:55 +03:00
Alexey Milovidov
b3e4adfb6d dbms: fixed error [#METR-19758]. 2016-01-24 09:38:10 +03:00
Alexey Milovidov
6d50fb4b44 dbms: fixed quorum inserts; improved performance of ordinary inserts [#METR-16779]. 2016-01-24 08:00:24 +03:00
Alexey Milovidov
409954428b dbms: using numeric constants while evaluating PKCondition [#METR-19758]. 2016-01-23 00:28:58 +03:00
Alexey Milovidov
e720a53cf2 dbms: return early on WHERE 0 [#METR-19758]. 2016-01-22 23:43:16 +03:00
Alexey Milovidov
eac439c20c dbms: fixed error with OLAP compatibility [#METRIKASUPP-6363]. 2016-01-22 07:04:52 +03:00
Alexey Milovidov
48be0fb3e4 dbms: faster removing of lost parts from queue [#METR-19754]. 2016-01-21 23:45:56 +03:00
Alexey Milovidov
a08281d2eb dbms: fixed error when replica has too large delay [#METR-19586]. 2016-01-21 22:43:00 +03:00
Alexey Arno
a3ea32b985 Merge 2016-01-21 19:30:05 +03:00
Alexey Milovidov
14d525d991 dbms: fixed error with insert quorum [#METR-16779]. 2016-01-21 07:06:20 +03:00
Alexey Milovidov
0f3e163c4e dbms: CurrentMetrics: development [#METR-19596]. 2016-01-21 04:47:28 +03:00
Alexey Milovidov
30e559636d dbms: added support for global metrics: sending to graphite; added system.metrics table [#METR-19596]. 2016-01-21 00:32:01 +03:00
Alexey Milovidov
3f89d9e0f5 dbms: added profile event for yielding leadership [#METR-17573]. 2016-01-20 23:43:42 +03:00
Alexey Milovidov
fa8c7bec8a dbms: fixed dynamic compilation [#METR-2944]. 2016-01-20 22:51:45 +03:00
Alexey Milovidov
fa22ca0d09 dbms: added comment [#METR-19586]. 2016-01-20 03:18:58 +03:00
Alexey Milovidov
277167af17 dbms: fixed error with exceptions while queue processing [#METR-19586]. 2016-01-20 00:38:01 +03:00
Alexey Milovidov
dc01ebdf8d dbms: fixed test [#METR-2944]. 2016-01-19 22:56:09 +03:00
Alexey Milovidov
acd611c326 dbms: fixed calculation of delays [#METR-17573]. 2016-01-19 21:49:37 +03:00
Alexey Milovidov
fc951a9304 dbms: pulling logs at startup for better calculation of delays [#METR-17573]. 2016-01-19 20:17:22 +03:00
Alexey Milovidov
84f4f31892 dbms: fixed error with OLAP compatibility layer [#METRIKASUPP-6363]. 2016-01-19 19:58:52 +03:00
Alexey Milovidov
f818977092 dbms: fixed dynamic compilation [#METR-2944]. 2016-01-19 05:25:07 +03:00
Alexey Milovidov
c3381e4a3f dbms: fixed error [#METR-19561]. 2016-01-19 00:33:05 +03:00
Alexey Milovidov
dd1effe99c Merge 2016-01-18 19:27:57 +03:00
Alexey Milovidov
25036fec31 dbms: addition [#METR-19586]. 2016-01-18 19:27:27 +03:00
Alexey Milovidov
83fe68727a dbms: addition [#METR-17573]. 2016-01-17 16:41:36 +03:00
Alexey Milovidov
3356bfdeec dbms: implemented TODO [#METR-17573]. 2016-01-17 16:34:36 +03:00
Alexey Milovidov
82a96d22b1 dbms: tracking replicas delays [#METR-17573]. 2016-01-17 16:00:42 +03:00
Alexey Milovidov
d1882fe766 dbms: addition to prev. revision [#METR-2944]. 2016-01-17 11:27:52 +03:00
Alexey Milovidov
d603d0a12d Merge 2016-01-17 11:12:48 +03:00
Alexey Milovidov
8f1df43f03 dbms: separated lock for zookeeper in Context [#METR-2944]. 2016-01-17 10:53:58 +03:00
Alexey Milovidov
a30532594b dbms: fixed error [#METR-19586]. 2016-01-17 08:22:22 +03:00
Alexey Milovidov
27bb0a4ea2 dbms: porting to aarch64 [#METR-19609]. 2016-01-16 04:18:42 +03:00
Alexey Milovidov
1cc27117b9 dbms: porting to aarch64 [#METR-19609]. 2016-01-16 03:45:19 +03:00
Alexey Milovidov
6692460249 dbms: addition to prev. revision [#METR-17973]. 2016-01-15 07:13:00 +03:00
Alexey Milovidov
30b4b1e4a5 dbms: removed dependency of clickhouse-server to statdaemons [#METR-17973]. 2016-01-15 06:55:07 +03:00
Alexey Milovidov
81d5b9aaab Moved embedded dictionaries to dbms [#METR-17973]. 2016-01-15 05:47:19 +03:00
Alexey Milovidov
b22ce41d59 Removing dependency of daemon to statdaemons [#METR-17973]. 2016-01-15 05:32:55 +03:00
Alexey Milovidov
9c54ecb78b Cutting dependencies [#METR-2944]. 2016-01-15 04:36:30 +03:00
Alexey Milovidov
2ae6e4ba77 dbms: attempt to fix an error [#METR-19623]. 2016-01-14 06:17:11 +03:00
Alexey Milovidov
a0a803439b dbms: porting to aarch64 [#METR-19609]. 2016-01-14 05:58:35 +03:00
Alexey Milovidov
2dc07ef0a3 dbms: porting to aarch64 [#METR-19609]. 2016-01-14 05:47:18 +03:00
Alexey Milovidov
70506f7246 dbms: porting to aarch64 [#METR-19609]. 2016-01-14 05:10:39 +03:00
Alexey Milovidov
061f2038b8 dbms: porting to aarch64 [#METR-19609]. 2016-01-14 05:05:01 +03:00
Alexey Milovidov
203d7b0886 dbms: porting to aarch64 [#METR-19609]. 2016-01-14 04:44:21 +03:00
Alexey Milovidov
0c592b05ba dbms: allowed to compile with standard library with large sizeof(std::string) [#METR-19609]. 2016-01-14 04:43:14 +03:00
Alexey Milovidov
de72545808 dbms: addition [#METR-19609]. 2016-01-14 00:17:23 +03:00
Alexey Milovidov
e513e9808b dbms: porting to aarch64 [#METR-19609]. 2016-01-14 00:05:11 +03:00
Alexey Milovidov
fefce00f5d dbms: porting to aarch64 [#METR-19609]. 2016-01-13 23:30:11 +03:00
Alexey Milovidov
c103a4ec47 dbms: porting to aarch64 [#METR-19609]. 2016-01-13 23:21:56 +03:00
Alexey Milovidov
e468626d1c dbms: addition [#METR-19561]. 2016-01-13 07:30:21 +03:00
Alexey Milovidov
c67d973c51 dbms: added setting 'max_memory_usage_for_all_queries' [#METR-19561]. 2016-01-13 06:59:24 +03:00
Alexey Milovidov
7b521a8c5e dbms: added setting 'max_memory_usage_for_user' [#METR-19561]. 2016-01-13 05:38:30 +03:00
Alexey Milovidov
d8e6b1dcf1 dbms: fixed error in prev. revision [#METR-19586]. 2016-01-13 05:36:11 +03:00
Alexey Milovidov
8a6483d21a dbms: addition [#METR-19609]. 2016-01-13 05:25:46 +03:00
Alexey Milovidov
510778e674 dbms: addition [#METR-19609]. 2016-01-13 05:25:10 +03:00
Alexey Milovidov
bb67108daa dbms: addition to prev. revision [#METR-19470]. 2016-01-13 05:21:11 +03:00
Alexey Milovidov
7f1d46fd6c dbms: renamed format ODBC to ODBCDriver [#METR-19470]. 2016-01-13 05:20:12 +03:00
Alexey Milovidov
e522ec23f9 dbms: porting to aarch64 [#METR-19609]. 2016-01-13 05:11:40 +03:00
Alexey Milovidov
54d3af930c Merge 2016-01-13 04:06:56 +03:00
Alexey Milovidov
9a53bd2a3e dbms: tiny fixes (tnx. orantius) [#METR-2944]. 2016-01-13 04:02:10 +03:00
Alexey Milovidov
b591d907e1 dbms: fixed error [#METR-19592]. 2016-01-13 03:47:12 +03:00
Alexey Milovidov
9b5a771b33 dbms: addition [#METR-2944]. 2016-01-13 03:38:28 +03:00
Alexey Milovidov
b16dc2bb5e dbms: addition [#METR-2944]. 2016-01-13 03:37:34 +03:00
Alexey Milovidov
ab1b725779 dbms: less dependencies [#METR-2944]. 2016-01-13 03:32:59 +03:00
Alexey Milovidov
df780e9429 dbms: addition to prev. revision [#METR-19586]. 2016-01-12 23:07:10 +03:00
Alexey Milovidov
949ecc2070 dbms: optimized function pullLogsToQueue [#METR-19586]. 2016-01-12 22:45:51 +03:00
Alexey Milovidov
5692015ed9 dbms: cut dependency [#METR-2944]. 2016-01-12 06:17:33 +03:00
Alexey Milovidov
fbaa1cc416 Merge 2016-01-12 05:56:52 +03:00
Alexey Milovidov
14d24a3eab dbms: benchmark: added randomization option [#METR-2944]. 2016-01-12 05:55:39 +03:00
Alexey Milovidov
fb1c505263 dbms: addition [#METR-2944]. 2016-01-12 05:42:18 +03:00
Alexey Milovidov
f5597548b3 dbms: addition [#METR-2944]. 2016-01-12 05:39:12 +03:00
Alexey Milovidov
489bcb74e8 dbms: cutting dependency [#METR-2944]. 2016-01-12 05:22:40 +03:00
Alexey Milovidov
c062fc1ce0 dbms: cutting dependency [#METR-2944]. 2016-01-12 05:21:15 +03:00
Alexey Milovidov
13c7d0983a dbms: cutting dependency [#METR-2944].. 2016-01-12 00:46:36 +03:00
Alexey Milovidov
1f7f7cd682 dbms: better [#METR-19586]. 2016-01-10 07:44:12 +03:00
Alexey Milovidov
a5b8166541 dbms: better [#METR-19586]. 2016-01-10 07:43:30 +03:00
Alexey Milovidov
47191fbb00 Additions [#METR-19593]. 2016-01-08 03:02:33 +03:00
Alexey Milovidov
09ebc85bb3 dbms: added test to reproduce the problem [#METR-19593]. 2016-01-08 01:34:53 +03:00
Alexey Milovidov
a419ce1052 Preparation to build with in-tree Poco library [#METR-19593]. 2016-01-07 22:52:21 +03:00
Alexey Milovidov
4b1ebc764e dbms: better [#METR-19593]. 2016-01-06 23:37:50 +03:00
Alexey Milovidov
6c712c1e7f dbms: improved performance of inserting into Distributed table [#METR-19595]. 2016-01-06 19:00:30 +03:00
Alexey Milovidov
27dfb21e15 dbms: fixed error [#METR-19595]. 2016-01-06 18:59:46 +03:00
Alexey Milovidov
a6b01ee987 dbms: multiple MemoryTrackers: development [#METR-19561]. 2015-12-30 18:39:11 +03:00
Andrey Mironov
2a6992689f dbms: add value to name map for enums; fix visibleWidth for enums [#METR-19265] 2015-12-30 15:12:18 +03:00
Alexey Milovidov
b9bc60fe5e dbms: fixed test [#METR-19265]. 2015-12-30 00:40:02 +03:00
Alexey Milovidov
458e0bcb32 dbms: fixed test [#METR-19265]. 2015-12-29 21:40:55 +03:00
Andrey Mironov
19362c0cce dbms: add test for Enums [#METR-19265] 2015-12-29 18:17:29 +03:00
Andrey Mironov
16912808a7 dbms: disallow direct comparison of Enums with Ints [#METR-19265] 2015-12-29 18:15:58 +03:00
Andrey Mironov
0ed12f9a15 dbms: FunctionCast: forward monotonicity info from the underlying functions for primitive types [#METR-19265] 2015-12-29 16:51:12 +03:00
Andrey Mironov
325107ad5a dbms: FunctionCast for Enums: allow changing names but not values for existing elements [#METR-19265] 2015-12-29 15:57:22 +03:00
Andrey Mironov
a75cb3a528 dbms: change underlying type of Enums to signed ints [#METR-19265] 2015-12-28 20:06:15 +03:00
Andrey Mironov
40e6f51370 dbms: allow cheap alter of Enums [#METR-19265] 2015-12-28 20:06:15 +03:00
Alexey Milovidov
0cf09f76f8 dbms: better [#METR-2944].. 2015-12-28 17:24:31 +03:00
Andrey Mironov
5a2ec718dd remove typo 2015-12-28 16:38:45 +03:00
Andrey Mironov
782382981d dbms: FunctionCast: correctly pass modified ColumnNumbers arguments [#METR-19265] 2015-12-28 15:43:23 +03:00
Andrey Mironov
433cb19ffb dbms: enums: ensure uniqueness of names and values [#METR-19265] 2015-12-28 15:43:23 +03:00
Alexey Milovidov
5ffd2eeb76 dbms: added test [#METR-19278]. 2015-12-27 15:32:39 +03:00
Alexey Milovidov
2368ac3675 dbms: fixed error with ArenaWithFreeLists; added comments; improved performance [#METR-19278]. 2015-12-27 13:58:20 +03:00
Alexey Milovidov
45d13d0426 dbms: clickhouse-benchmark: more handy [#METR-19577]. 2015-12-26 06:42:16 +03:00
Alexey Milovidov
08dc786e84 dbms: clickhouse-benchmark: added info about query [#METR-19577]. 2015-12-26 06:28:03 +03:00
Alexey Milovidov
17ba6f960f dbms: clickhouse-benchmark: added parameter 'stage' [#METR-19577]. 2015-12-26 04:04:12 +03:00
Alexey Milovidov
43350f51bb dbms: don't thrash mark_cache on merges (and ALTER MODIFY TYPE) [#METR-19575]. 2015-12-26 03:59:09 +03:00
Andrey Mironov
56b0a49e0f dbms: add enum to enum conversion and checks [#METR-19265] 2015-12-25 18:43:38 +03:00
Andrey Mironov
1506cc25c0 dbms: allow conversion of most types to enum (not enum to enum though)[#METR-19265] 2015-12-25 17:45:58 +03:00
Andrey Mironov
40f060fae8 dbms: allow type in CAST(expression AS type) without back quotes [#METR-19265] 2015-12-25 15:06:17 +03:00
Andrey Mironov
0dc042536c dbms: refactor ColumnConstTuple materialization [#METR-19265] 2015-12-25 15:06:17 +03:00
Andrey Mironov
c483485eaf dbms: create a separate type for Tuple in Field [#METR-19265] 2015-12-25 15:06:17 +03:00
Andrey Mironov
13f56d4465 dbms: use CAST internally whenever a conversion is required [#METR-19265] 2015-12-25 15:06:16 +03:00
Andrey Mironov
404c79a368 dbms: CAST(expression AS Tuple(...)) [#METR-19265] 2015-12-25 15:06:16 +03:00
Andrey Mironov
49236beee8 dbms: CAST(expression AS type) [#METR-19265] 2015-12-25 15:06:16 +03:00
Alexey Milovidov
ce70e528e0 dbms: fixed error with max_subquery_depth and GLOBAL subqueries [#METR-19569]. 2015-12-25 04:37:17 +03:00
Alexey Milovidov
f1f3619df4 dbms: cancelling fetching of parts on table shutdown [#METR-19544]. 2015-12-25 00:28:18 +03:00
Alexey Milovidov
3f6eb904d6 dbms: fixed exception message [#METR-19516]. 2015-12-24 22:57:27 +03:00
Alexey Milovidov
9177841f1b dbms: client: in multiquery mode: break at first exception [#METR-19563]. 2015-12-24 22:27:14 +03:00
Alexey Milovidov
e462bddbcc dbms: added missing file [#METR-2944]. 2015-12-24 21:38:19 +03:00
Alexey Milovidov
89c64fe863 dbms: removed unused field [#METR-2944]. 2015-12-24 21:35:01 +03:00
Alexey Milovidov
d51e03da61 dbms: added fault injection in memory tracker to more easily reproducing the bug [#METR-19278]. 2015-12-23 10:39:28 +03:00
Alexey Milovidov
8da3abcd94 dbms: better [#METR-19278]. 2015-12-23 10:35:36 +03:00
Alexey Milovidov
00b43c9c46 dbms: added comment [#METR-19278]. 2015-12-23 10:32:44 +03:00
Alexey Milovidov
1f62bf24ee dbms: more safe [#METR-19278]. 2015-12-23 10:29:20 +03:00
Alexey Milovidov
e81dce0fd7 dbms: whitespaces [#METR-19278]. 2015-12-23 10:16:44 +03:00
Alexey Milovidov
691e13fe1a dbms: better [#METR-19278]. 2015-12-23 10:06:34 +03:00
Alexey Milovidov
348f2e0e40 dbms: better [#METR-19278]. 2015-12-23 10:03:50 +03:00
Alexey Milovidov
03ec2269fa dbms: better [#METR-19278]. 2015-12-23 10:00:33 +03:00
Alexey Milovidov
59ea7c4542 dbms: added comment [#METR-19278]. 2015-12-23 09:59:53 +03:00
Alexey Milovidov
b95b48ee62 dbms: aggregate function debug: better check for double free [#METR-19278]. 2015-12-23 09:59:53 +03:00
Alexey Milovidov
1c54336078 dbms: added aggregate function 'debug' to better reproduce the problem [#METR-19278]. 2015-12-23 09:59:53 +03:00
Alexey Milovidov
8afecac7e3 dbms: fixed error with order of destruction of arenas, if exception was thrown while merging [#METR-19278]. 2015-12-23 09:48:05 +03:00
Alexey Milovidov
c2d231dc75 dbms: fixed another error [#METR-19278]. 2015-12-23 08:06:32 +03:00
Alexey Milovidov
d6ecae4588 dbms: fixed one of errors [#METR-19278]. 2015-12-23 08:04:30 +03:00
Andrey Mironov
d0e4cabba3 dbms: add conversion support for enums [#METR-19265] 2015-12-22 16:07:40 +03:00
Andrey Mironov
02ce1bede2 dbms: add support for comparing enums [#METR-19265] 2015-12-22 15:03:47 +03:00
Andrey Mironov
3fb8fedd19 AggregateFunctionSum: change type prerequisite to behavesAsNumber [#METR-19265] 2015-12-22 15:03:47 +03:00
Alexey Milovidov
c7b9b29325 dbms: almost surely fixed error [#METR-19369]. 2015-12-21 23:17:24 +03:00
Alexey Milovidov
23f8413d74 dbms: fixed error with ParserUnsignedInteger (used for tuple element access) [#METR-2944]. 2015-12-21 19:59:21 +03:00
Andrey Mironov
3c0c39e38a dbms: add basic support for types Enum8/16. [#METR-19265] 2015-12-21 16:15:21 +03:00
Roman Peshkurov
0463b94020 Merge 2015-12-17 13:08:03 +03:00
Alexey Milovidov
d98e9405d9 dbms: removed wrong code [#METR-19278]. 2015-12-17 00:20:12 +03:00
Alexey Milovidov
5b91e13f43 dbms: more safe [#METR-19278]. 2015-12-16 23:50:56 +03:00
Alexey Milovidov
d84625b4ab dbms: fixed build [#METR-19278]. 2015-12-16 23:21:52 +03:00
Roman Peshkurov
c7b5b4892f mobile-logs-api: added information about read bytes. [#MOBMET-2465] 2015-12-16 14:02:44 +03:00
Alexey Milovidov
418a0b5988 dbms: little better (but doesn't fix any error) [#METR-19278]. 2015-12-16 07:04:23 +03:00
Alexey Milovidov
fe0e9d2248 dbms: little better [#METR-19417]. 2015-12-16 05:38:11 +03:00
Alexey Milovidov
0939b5e881 Merge 2015-12-16 05:32:49 +03:00
Andrey Mironov
9d16702f84 dbms: unconditionally move evaluation of storage ALIASes to InterpterSelectQuery [#METR-19317] 2015-12-15 17:15:06 +03:00
Alexey Arno
3a9e7a7170 dbms: Server: Added more explanatory error messages for date-time-related functions. [#METR-19416] 2015-12-15 13:13:07 +03:00
Alexey Arno
ef135c5873 dbms: Server: Added more explanatory error messages for date-time-related functions. [#METR-19416] 2015-12-15 12:56:14 +03:00
Alexey Arno
e41c1dd9af dbms: Server: Fixed error messages of time-related functions. [#METR-19416] 2015-12-14 19:26:39 +03:00
Alexey Milovidov
ccec8e4adc dbms: external aggregation: better scaling [#METR-17000]. 2015-12-13 18:07:01 +03:00
Alexey Milovidov
810edc775d dbms: fixed error in prev. revision [#METR-19171]. 2015-12-13 17:29:58 +03:00
Alexey Milovidov
9c4db62704 dbms: addition to prev. revision [#METR-16779]. 2015-12-13 15:39:06 +03:00
Alexey Milovidov
9143952e83 dbms: probably better [#METR-19172]. 2015-12-13 15:02:10 +03:00
Alexey Milovidov
5cf76fd8f2 dbms: fixed error [#METR-16212]. 2015-12-13 14:35:48 +03:00
Alexey Milovidov
cc9335fa65 dbms: improvement [#METR-19264]. 2015-12-13 14:02:58 +03:00
Alexey Milovidov
1e4def963d dbms: added function 'arrayReduce' [#METR-19264]. 2015-12-13 13:43:49 +03:00
Alexey Milovidov
9060931654 dbms: probably fixed error [#METR-16212]. 2015-12-13 12:20:13 +03:00
Alexey Milovidov
d227e5f1d8 dbms: added greetings (tnx. jkee) [#METR-2944]. 2015-12-13 12:19:32 +03:00
Alexey Milovidov
42480c31ef dbms: preparation [#METR-16212]. 2015-12-13 11:51:28 +03:00
Alexey Milovidov
7f74a32c80 dbms: little more correct [#METR-17579]. 2015-12-13 10:03:30 +03:00
Alexey Milovidov
34236c3913 dbms: addition to prev. revision [#METR-17579]. 2015-12-13 10:00:43 +03:00
Alexey Milovidov
28c63f20f6 dbms: addition to prev. revision [#METR-17579]. 2015-12-13 09:56:00 +03:00
Alexey Milovidov
2aeb48be2d dbms: added backoff on slow reads [#METR-17579]. 2015-12-13 07:52:13 +03:00
Alexey Milovidov
236f04d2dc dbms: Buffer: fixed error [#METR-19371], 2015-12-11 05:19:32 +03:00
Alexey Milovidov
0b5220adcf dbms: added test [#METR-19371]. 2015-12-11 04:54:47 +03:00
Alexey Milovidov
8addc4b7c7 dbms: little better [#METR-19371]. 2015-12-11 04:21:53 +03:00
Alexey Milovidov
c150e0afd6 dbms: Aggregator: fixes [#METR-19371]. 2015-12-11 04:11:59 +03:00
Alexey Milovidov
8eb820bc74 dbms: fixed error (for real) [#METR-19371]. 2015-12-11 04:08:19 +03:00
Alexey Milovidov
8a37319677 dbms: Aggregator: fixes [#METR-19371]. 2015-12-11 03:34:00 +03:00
Andrey Mironov
72ef6b08b6 dbms: fix MongoDB dictionary source for UInt32 clamped to Int32[#METR-18946] 2015-12-10 19:27:20 +03:00
Alexey Milovidov
f27bfcdc0b dbms: temporarily set 'aggregation_memory_efficient_merge_threads' to 1 because of incorrect implementation [#METR-17000]. 2015-12-10 05:40:31 +03:00
Andrey Mironov
b7f496eb7b dbms: fix MongoDB dictionary source for UInt8 [#METR-18946] 2015-12-09 15:30:45 +03:00
Andrey Mironov
e7c435c27e dbms: fix typo and absent support of Float64 for MongoDB dictionaries [#METR-18946] 2015-12-09 15:30:45 +03:00
Alexey Milovidov
db8d82f13e dbms: Buffer: better [#METR-19249]. 2015-12-09 09:55:49 +03:00
Alexey Milovidov
e473834770 dbms: StorageBuffer: write correct info about block flushed [#METR-19249]. 2015-12-09 09:16:24 +03:00
Alexey Milovidov
9e33ab5519 dbms: fixed error with StorageBuffer [#METR-19249]. 2015-12-09 09:10:13 +03:00
Alexey Milovidov
6eb47b0db4 dbms: fixed error with StorageBuffer [#METR-19249]. 2015-12-09 09:04:00 +03:00
Alexey Milovidov
6260ac34a3 dbms: fixed high CPU usage on shutdown [#METR-19056]. 2015-12-09 08:05:42 +03:00
Alexey Milovidov
e0653fda4e dbms: little better [#METR-19172]. 2015-12-09 07:41:46 +03:00
Alexey Milovidov
03f091c01c dbms: fixed error [#METR-19316]. 2015-12-09 07:28:01 +03:00
Alexey Milovidov
e348105481 dbms: get rid of bad idea [#METR-19056]. 2015-12-09 07:06:44 +03:00
Alexey Milovidov
d1fc6175f3 dbms: added revision to query_log table [#METR-19319]. 2015-12-09 06:30:54 +03:00
Alexey Milovidov
a43272c9b8 dbms: fixed error in memory-efficient merging of aggregated states [#METR-17000]. 2015-12-09 05:56:18 +03:00
Alexey Milovidov
7560351942 dbms: removed old code [#METR-17000]. 2015-12-09 05:55:35 +03:00
Alexey Milovidov
69942f38d4 dbms: fixed error with ParserAlterQuery [#METR-13097]. 2015-12-09 05:27:45 +03:00
Alexey Milovidov
d852ef480b dbms: external aggregation: fixed error [#METR-19316]. 2015-12-09 04:29:01 +03:00
Alexey Milovidov
ccd51123bf dbms: fixed error [#METR-19316]. 2015-12-09 00:29:38 +03:00
Alexey Milovidov
3b9466ee08 dbms: added test [#METR-19298]. 2015-12-08 23:05:49 +03:00
Alexey Milovidov
f6973a32c4 dbms: added support for empty StripeLog tables [#METR-19298]. 2015-12-08 23:04:11 +03:00
Andrey Mironov
c8e3d90536 dbms: SmallObjectPool: fix odr-use in debug build 2015-12-08 12:16:40 +03:00
Andrey Mironov
a57f996770 dbms: fix transform() accepting non constant second argument 2015-12-08 12:16:40 +03:00
Alexey Milovidov
50d463d08b dbms: fixed error [#METR-17000]. 2015-12-08 05:01:46 +03:00
Alexey Milovidov
18c3aa441a dbms: removing old temporary files on startup [#METR-17000]. 2015-12-08 04:43:39 +03:00
Alexey Milovidov
dc7372ab71 dbms: fixed error [#METR-19271]. 2015-12-08 04:17:57 +03:00
Alexey Milovidov
35db0d65b9 dbms: fixed error [#METR-19288]. 2015-12-07 23:08:00 +03:00
Alexey Milovidov
78b560c846 dbms: fixed error [#METR-19283]. 2015-12-07 22:30:50 +03:00
Andrey Mironov
cf2c86956e dbms: SmallObjectPool: remove minimum size check [#METR-18946] 2015-12-07 19:30:26 +03:00
Andrey Mironov
479f1fc346 dbms: fix typo and absent support of Float64 for MySQL dictionaries [#METR-18946] 2015-12-07 19:30:26 +03:00
Andrey Mironov
d019af9ace dbms: add test for float formatting which has proven problematic [#METR-19166] 2015-12-07 15:46:13 +03:00
Alexey Milovidov
0d7135fcf6 dbms: fixed errors [#METR-17000]. 2015-12-06 22:42:28 +03:00
Alexey Milovidov
9ecd4a0fa2 dbms: additions [#METR-17000]. 2015-12-06 21:55:09 +03:00
Alexey Milovidov
513eb33b5b dbms: fixed error [#METR-17000]. 2015-12-06 19:42:17 +03:00
Alexey Milovidov
7dc5661521 dbms: more memory efficient merging aggregated states [#METR-17000]. 2015-12-06 19:22:01 +03:00
Alexey Milovidov
071b1e367c dbms: fixed error [#METR-19700]. 2015-12-06 18:29:16 +03:00
Alexey Milovidov
0ef797d9f3 dbms: fixed error [#METR-17000]. 2015-12-06 17:27:09 +03:00
Alexey Milovidov
2b1614825e dbms: improvement [#METR-17000]. 2015-12-06 10:33:39 +03:00
Alexey Milovidov
ed0c42253d dbms: MergingAggregatedMemoryEfficientBlockInputStream: correctly set memory tracker [#METR-17000]. 2015-12-06 08:43:36 +03:00
Alexey Milovidov
b76731a578 dbms: improved startup times for lagged replica [#METR-18563]. 2015-12-05 10:03:17 +03:00
Alexey Milovidov
7fa1a57165 dbms: fixed excessive memory allocation when splitting single-level block in Aggregator [#METR-17000]. 2015-12-05 10:01:18 +03:00
Alexey Milovidov
2e08b4e816 dbms: fixed error [#METR-17000]. 2015-12-05 08:54:10 +03:00
Alexey Milovidov
fa76a1a452 dbms: MergingAggregatedMemoryEfficientBlockInputStream: reading data in parallel [#METR-17000]. 2015-12-05 07:20:37 +03:00
Alexey Milovidov
e1deff76a9 dbms: fixed error [#METR-19262]. 2015-12-05 06:04:13 +03:00
Alexey Milovidov
6859f2085e dbms: fixed error with TOTALS [#METR-19259]. 2015-12-04 23:33:38 +03:00
Alexey Milovidov
5890747c56 dbms: instrumenting external sort/aggregation [#METR-17000]. 2015-12-04 00:23:21 +03:00
Pavel Kartavyy
1b1a1143a9 Merge 2015-12-03 14:02:02 +03:00
Alexey Milovidov
ec34b0bdcf dbms: more simple [#METR-19056]. 2015-12-03 08:29:08 +03:00
Alexey Milovidov
2755e90b15 dbms: fixed not-an-error [#METR-19056]. 2015-12-03 08:18:22 +03:00
Alexey Milovidov
0ceb0280f7 dbms: added setting 'aggregation_memory_efficient_merge_threads' [#METR-17000]. 2015-12-03 08:03:23 +03:00
Alexey Milovidov
117060cf43 dbms: fixed error [#METR-18167]. 2015-12-03 07:03:20 +03:00
Alexey Milovidov
11aa07ccbc dbms: fixed tests [#METR-17000]. 2015-12-03 06:56:50 +03:00
Alexey Milovidov
2b835d67e2 dbms: fixed dynamic compilation [#METR-17000]. 2015-12-03 06:18:42 +03:00
Alexey Milovidov
7012dc56a3 dbms: MergingAggregatedMemoryEfficientBlockInputStream: fixed two errors [#METR-17000]. 2015-12-03 05:43:40 +03:00
Alexey Milovidov
99d7aa59b8 dbms: allowed to merge partial-aggregated streams memory-efficient in parallel [#METR-17000]. 2015-12-02 01:35:48 +03:00
Alexey Milovidov
d76d57dda2 dbms: better [#METR-17000]. 2015-12-02 00:20:14 +03:00
Alexey Milovidov
b04fc9bdf0 dbms: fixed build [#METR-17000]. 2015-12-01 20:10:24 +03:00
Alexey Milovidov
7c753e1403 dbms: fixed build [#METR-17000]. 2015-12-01 20:08:33 +03:00
Alexey Milovidov
8844334423 dbms: external aggregation: development [#METR-17000]. 2015-12-01 19:58:15 +03:00
Alexey Milovidov
fe8f947a43 dbms: allowed external aggregation with non-parallel aggregation [#METR-17000]. 2015-12-01 17:43:51 +03:00
Alexey Milovidov
4352307bbc Merge 2015-12-01 17:11:51 +03:00
Alexey Milovidov
eef5fcc466 dbms: addition to prev. revision [#METR-17000]. 2015-12-01 17:11:31 +03:00
Alexey Milovidov
02b16fce06 dbms: external aggregation: initial implementation [#METR-17000]. 2015-12-01 17:09:05 +03:00
Andrey Mironov
eba1cb4ca3 dbms: FieldVisitorToString::formatFloat emit trailing dec pt [#METR-17328] 2015-12-01 14:16:50 +03:00
Alexey Milovidov
a7387d9ce4 dbms: improvement [#METR-2944]. 2015-11-30 23:20:37 +03:00
Alexey Milovidov
48e840a199 dbms: external aggregation: development [#METR-17000]. 2015-11-30 22:57:46 +03:00
Andrey Mironov
386d560d39 dbms: refactor DoubleConverter [#METR-17328] 2015-11-30 20:55:42 +03:00
Andrey Mironov
1ca3d930da dbms: do not allocate memory for default strings in cache dictionaries [#METR-17328] 2015-11-30 20:55:42 +03:00
Alexey Milovidov
83cf1f81ec dbms: Aggregator: preparation [#METR-17000]. 2015-11-30 19:57:05 +03:00
Dmitry Galuza
2e6266ceed Merge 2015-11-30 18:07:23 +03:00
Alexey Milovidov
ea45c07638 dbms: fixed error [#METR-19025]. 2015-11-30 09:56:27 +03:00
Alexey Milovidov
eb4034f7f2 dbms: better [#METR-2944]. 2015-11-29 20:06:30 +03:00
Alexey Milovidov
cc75d4603b dbms: improved performance of INSERT SELECT [#METR-19025]. 2015-11-29 16:18:12 +03:00
Alexey Milovidov
39004c76f5 dbms: addition [#METR-19052]. 2015-11-29 15:54:58 +03:00
Alexey Milovidov
b6aaf1fe32 dbms: development; provided monotonicity properties for date-time functions [#METR-19052]. 2015-11-29 14:58:44 +03:00
Alexey Milovidov
d9bc972a59 dbms: allowed to use index if column is wrapped by piecewise-monotonic functions: initial implementation [#METR-19052]. 2015-11-29 11:06:29 +03:00
Alexey Milovidov
e64197d436 dbms: addition [#METR-19025]. 2015-11-27 23:50:48 +03:00
Alexey Milovidov
7e5b79fbe9 dbms: added test for merges [#METR-19025]. 2015-11-27 23:48:55 +03:00
Dmitry Galuza
30c946aea1 Merge 2015-11-27 14:55:16 +03:00
Alexey Milovidov
fb88629d67 dbms: added test [#METR-19128]. 2015-11-27 00:36:23 +03:00
Alexey Milovidov
98b3bfa48d dbms: workaround for incompatibility with gcc and clang [#METR-19128]. 2015-11-27 00:31:06 +03:00
Alexey Milovidov
3a5d47014f dbms: added test result [#METR-18778]. 2015-11-26 20:28:26 +03:00
Dmitry Galuza
5ca181053c Merge 2015-11-26 16:34:07 +03:00
Alexey Milovidov
747525d818 dbms: quantileTDigest: attempt to fix an error (incomplete) [#METR-19024]. 2015-11-26 00:42:41 +03:00
Alexey Milovidov
8c8210062a dbms: added support for hex escape sequences in strings [#METR-19072]. 2015-11-25 06:11:17 +03:00
Andrey Mironov
699e5480f6 dbms: use ArenaWithFreeLists for strings in cache dictionary [#METR-17328] 2015-11-24 15:47:51 +03:00
Andrey Mironov
7159c57280 dbms: fix error with ternary operator having priority lower than binary + [#METR-17328] 2015-11-24 14:28:29 +03:00
Andrey Mironov
ee21853933 dbms: MongoDBDictionarySource now can use complex keys[#METR-17328] 2015-11-24 14:28:29 +03:00
Andrey Mironov
24f986c9f1 dbms: fixed ArenaWithFreeLists "off-by-one" error which lead to allocating blocks of size less than required. 2015-11-24 14:28:29 +03:00
Alexey Milovidov
eca62f753c dbms: fixed error [#METR-19024]. 2015-11-24 06:21:37 +03:00
Alexey Milovidov
d189c6206a dbms: fixed error [#METR-19024]. 2015-11-24 04:21:28 +03:00
Alexey Milovidov
26a5aad691 dbms: added test (result pending) [#METR-18778]. 2015-11-24 00:35:42 +03:00
Alexey Milovidov
26d19fe1bc dbms: fixed error with GLOBAL JOIN [#METR-19048]. 2015-11-24 00:34:36 +03:00
Alexey Milovidov
bb88a1e1bf dbms: quantiles: allowed parameters in non-increasing order [#METR-18778]. 2015-11-24 00:33:43 +03:00
Alexey Milovidov
49be9e9b3e dbms: added comment [#METR-19024]. 2015-11-23 23:24:54 +03:00
Dmitry Galuza
fa73a9e3af ███████████: New fields in visits log [#METR-18831] 2015-11-23 18:33:53 +03:00
Alexey Milovidov
c9ea87ec11 dbms: addition to prev. revision [#METR-2944]. 2015-11-21 22:52:31 +03:00
Alexey Milovidov
7cf850f194 dbms: fixed error in prev. revision [#METR-2944]. 2015-11-21 22:51:47 +03:00
Alexey Milovidov
1889600e39 dbms: improved performance of Aggregator in non-compiled case [#METR-2944]. 2015-11-21 22:46:27 +03:00
Alexey Milovidov
6584d9ca6c dbms: better [#METR-2944]. 2015-11-21 21:56:54 +03:00
Alexey Milovidov
8a592860ef dbms: improved performance of INSERT SELECT (experimental) [#METR-19025]. 2015-11-21 19:26:48 +03:00
Alexey Milovidov
c461d32474 dbms: fixed comment [#METR-2944]. 2015-11-21 18:51:09 +03:00
Alexey Milovidov
8314861690 dbms: improved performance of INSERT SELECT [#METR-19025]. 2015-11-21 18:47:32 +03:00
Alexey Milovidov
2c67747a0d dbms: implemented quantilesTDigest and quantilesTDigestWeighted aggregate functions [#METR-19024]. 2015-11-21 17:04:43 +03:00
Alexey Milovidov
31c09b4d2d dbms: added weighted variants of t-digest [#METR-19024]. 2015-11-21 16:24:51 +03:00
Alexey Milovidov
57e8a8fdbb dbms: added t-digest algorithm [#METR-19024]. 2015-11-21 15:47:41 +03:00
Alexey Milovidov
d7c24b8203 dbms: fixed build [#METR-2944]. 2015-11-21 06:20:31 +03:00
Alexey Milovidov
659cf5a940 dbms: improved performance of ColumnArray::filter [#METR-19022]. 2015-11-21 06:19:43 +03:00
Andrey Mironov
715d2f6ce5 dbms: add key description to system.dictionaries[#METR-17328] 2015-11-20 19:20:54 +03:00
Andrey Mironov
aece1d21f8 dbms: improve dictGet functions for constant defaults [#METR-17328], [#METR-18520] 2015-11-20 18:53:23 +03:00
Dmitry Galuza
9558802570 ███████████: Refactoring, update ut [#METR-18831] 2015-11-20 18:41:39 +03:00
Alexey Milovidov
0713e4c592 dbms: addition to prev. revision [#METR-18847]. 2015-11-20 06:08:12 +03:00
Alexey Milovidov
5e2499eb77 dbms: addition to prev. revision [#METR-18847]. 2015-11-20 05:42:26 +03:00
Alexey Milovidov
4318712300 dbms: addition to prev. revision [#METR-18847]. 2015-11-20 05:29:16 +03:00
Dmitry Galuza
65e912a05c ███████████: New fields into example [#METR-18831] 2015-11-20 00:48:17 +03:00
Alexey Milovidov
2d8457418f dbms: added test [#METR-18847]. 2015-11-20 00:43:20 +03:00
Alexey Milovidov
2d00e5d84f dbms: SAMPLE ... OFFSET development: using rational numbers [#METR-18847]. 2015-11-20 00:34:53 +03:00
Andrey Mironov
295e23a587 dbms: reimplement ArenaWithFreeLists on top of Arena [#METR-17328], [#METR-18520] 2015-11-19 18:06:00 +03:00
Andrey Mironov
de8eb7b914 dbms: fix debug build of ArenaWithFreeLists. [#METR-17328], [#METR-18520] 2015-11-19 16:41:35 +03:00
Andrey Mironov
6c8c0e03cb dbms: slightly refactor most dictionaries, add dictHas function for all dictionaries supporting dictGet*OrDefault. [#METR-17328], [#METR-18520] 2015-11-19 16:15:02 +03:00
Andrey Mironov
6d42868283 dbms: ClickHouseDictionarySource: check that key is present before dereferencing [#METR-18945] 2015-11-19 09:50:05 +03:00
Alexey Milovidov
f67c8e63a2 dbms: SAMPLE ... OFFSET development [#METR-18847]. 2015-11-19 06:40:15 +03:00
Alexey Milovidov
4c778ca1f6 dbms: added test (not passing yet) [#METR-18847]. 2015-11-19 06:38:09 +03:00
Alexey Milovidov
1b08920e50 dbms: SAMPLE OFFSET: development [#METR-18847]. 2015-11-19 06:24:59 +03:00
Alexey Milovidov
09dd253636 dbms: added support for SAMPLE ... OFFSET [#METR-18847]. 2015-11-19 00:37:28 +03:00
Alexey Milovidov
8255d76754 dbms: added missing include [#METR-18945]. 2015-11-19 00:35:24 +03:00
Andrey Mironov
e4ecbf42b1 dbms: fix cache-type dictionary memory effect on default values [#METR-17382] 2015-11-18 17:06:53 +03:00
Andrey Mironov
8feafa0da2 dbms: add dictGet*OrDefault for all new dictionaries [#METR-17382] 2015-11-18 16:31:29 +03:00
Andrey Mironov
4f1caeb0e4 dbms: SmallObjectPool for ComplexKeyCacheDictionary [#METR-17382] 2015-11-18 14:53:15 +03:00
Andrey Mironov
2e8cc93664 dbms: ArenaWithFreeLists basic implementation. [#METR-17382] 2015-11-17 19:09:43 +03:00
Alexey Milovidov
0270f2ff4d dbms: addition [#METR-18778]. 2015-11-17 02:49:18 +03:00
Alexey Milovidov
4056b3f2c8 dbms: fixed error [#METR-18778]. 2015-11-16 23:33:43 +03:00
Andrey Mironov
b6930dafa1 dbms: support loading composite keys in MySQLDictionarySource [#METR-17328] 2015-11-16 20:49:39 +03:00
Andrey Mironov
0fd1fc9cdc dbms: add ComplexKeyCacheDictionary, not yet complete [#METR-17328]
Requires a way of deallocating keys in memory Arena (a new type of arena, actually), MySQLDictionarySource not yet capable of requesting complex keys.
2015-11-16 20:49:39 +03:00
Andrey Mironov
7798c45b5b dbms: rename validateKeyColumns to validateKeyTypes [#METR-17328] 2015-11-16 20:49:39 +03:00
Alexey Milovidov
408a2e4751 Fixed errors in gcc-5 [#METR-18843]. 2015-11-16 07:56:31 +03:00
Alexey Milovidov
af37192e0c dbms: fixed errors on gcc-5 [#METR-18843]. 2015-11-16 07:15:53 +03:00
Alexey Milovidov
302e726a14 dbms: fixed error in gcc-5 [#METR-18843]. 2015-11-16 07:00:46 +03:00
Alexey Milovidov
df3f04cdeb dbms: fixing warnings in gcc-5 [#METR-18843]. 2015-11-16 06:28:10 +03:00
Alexey Milovidov
27ff4dd5d8 Updated double-conversion library (fixed warning in gcc-5) [#METR-18843]. 2015-11-16 06:10:37 +03:00
Alexey Milovidov
a82692e655 dbms: fixed error [#METR-2944]. 2015-11-15 12:17:51 +03:00
Alexey Milovidov
4b7db2cc36 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 12:17:11 +03:00
Alexey Milovidov
dc04cb7b88 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 12:14:22 +03:00
Alexey Milovidov
a7469e82d1 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 12:12:40 +03:00
Alexey Milovidov
2870fbb655 dbms: moved file [#METR-18778]. 2015-11-15 12:06:53 +03:00
Alexey Milovidov
ce0f3da2b2 dbms: modified test [#METR-18778]. 2015-11-15 11:52:21 +03:00
Alexey Milovidov
49580a9048 dbms: added aggregate function quantileExactWeighted and companions [#METR-18778]. 2015-11-15 11:31:08 +03:00
Alexey Milovidov
3a1a8c9567 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 10:05:01 +03:00
Alexey Milovidov
a2efbc1efc dbms: renamed functions [#METR-18778]. 2015-11-15 09:23:44 +03:00
Alexey Milovidov
3a6f91fc70 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 09:19:34 +03:00
Alexey Milovidov
4a537fcb84 dbms: moved file [#METR-18778]. 2015-11-15 09:18:43 +03:00
Alexey Milovidov
749e54749c dbms: moved file [#METR-18778]. 2015-11-15 09:11:58 +03:00
Alexey Milovidov
eb7421640e dbms: added tests [#METR-18778]. 2015-11-15 08:58:01 +03:00
Alexey Milovidov
f353711e5e dbms: improved performance of quantile and quantileDeterministic aggregate functions [#METR-18778]. 2015-11-15 08:52:41 +03:00
Alexey Milovidov
8732e7a3f1 dbms: improved performance of aggregate function groupArray [#METR-18778]. 2015-11-15 07:54:56 +03:00
Alexey Milovidov
8a0892f2fb dbms: quantileExact: added small set optimization [#METR-18778]. 2015-11-15 06:20:29 +03:00
Alexey Milovidov
4c87ec04b4 dbms: quantileExact: initial implementation [#METR-18778]. 2015-11-15 06:11:24 +03:00
Alexey Milovidov
959ae7cd78 dbms: unified allocators [#METR-18778]. 2015-11-15 06:09:40 +03:00
Alexey Milovidov
109eec92ff dbms: fixed error with UNION ALL and subqueries in IN [#METR-18808]. 2015-11-13 23:50:51 +03:00
Alexey Milovidov
513b4e0dc2 dbms: fixed error message [#METR-18810]. 2015-11-13 23:31:02 +03:00
Evgeniy Gatov
998f5fd552 dbms: temporarily disabled shards multiplexing [#METR-18300]. 2015-11-13 20:21:16 +03:00
Andrey Mironov
078cc8dbb4 dbms: significantly simplify ComplexKeyDictionary code and length [#METR-17328]
Add commentary about dictGet*OrDefault to FlatDictionary.
2015-11-13 17:01:30 +03:00
Andrey Mironov
c0ba6bedcb dbms:rename ComplexKeyDictionary to ComplexKeyHashedDictionary [#METR-17328] 2015-11-13 14:21:40 +03:00
Andrey Mironov
a863b2b0a4 dbms: take ComplexKeyDictionary::keys_pool size into account when determining bytes_allocated [#METR-17328] 2015-11-13 14:08:25 +03:00
Andrey Mironov
5c641ffc78 dbms: dictGet* functions for complex_key dictionary. No dictGet*OrDefault variants yet [#METR-17328] 2015-11-13 04:44:41 +03:00
Andrey Mironov
701bed3fae dbms: add ComplexKeyDictionary, no fetching of values yet [#METR-17328] 2015-11-12 19:29:07 +03:00
Andrey Mironov
2642f2fec4 dbms: add parsing of complex key definitions [#METR-17328] 2015-11-12 19:29:06 +03:00
Alexey Milovidov
fea8d76c77 dbms: fixed deadlock [#METR-18755]. 2015-11-12 05:14:28 +03:00
Alexey Milovidov
7f736e4065 dbms: temporarily disabled shards multiplexing [#METR-18300]. 2015-11-12 04:17:44 +03:00
Alexey Milovidov
9b991b3d6c dbms: whitespaces [#METR-2944]. 2015-11-11 05:13:24 +03:00
Alexey Milovidov
02fcbbbdd5 dbms: better [#METR-2944]. 2015-11-11 05:04:23 +03:00
Alexey Milovidov
f6cce1f55d dbms: fixed error with -State functions and WITH TOTALS [#METR-18727]. 2015-11-11 04:28:34 +03:00
Alexey Milovidov
d88b9bc889 dbms: improvement [#METR-15573]. 2015-11-11 03:20:22 +03:00
Alexey Milovidov
94cf448929 dbms: addition to prev. revision [#METR-18748]. 2015-11-11 00:23:45 +03:00
Alexey Milovidov
60054d177c dbms: removed madvise because it is bad [#MTRSADMIN-1703]. 2015-11-11 00:21:24 +03:00
Alexey Milovidov
ec163175ab dbms: explicitly disabled arguments of type AggregateFunction of aggregate functions min, max, any, anyLast family [#METR-18758]. 2015-11-10 23:48:49 +03:00
Alexey Milovidov
b75d6c163a dbms: fixed error [#METR-18758]. 2015-11-10 23:39:11 +03:00
Alexey Milovidov
d21307c535 dbms: fixed error with views [#METR-18748]. 2015-11-10 23:07:38 +03:00
Andrey Mironov
32614f5206 dbms: dictGetOrDefault for all types, explicit StringRef(string) [#METR-18520] 2015-11-10 12:29:30 +03:00
Alexey Milovidov
66ac9359dc dbms: (almost) fixed error [#METR-18727]. 2015-11-10 04:23:08 +03:00
Alexey Milovidov
f8e58463a6 dbms: addition to prev. revision [#METR-17573]. 2015-11-10 00:07:22 +03:00
Alexey Milovidov
e78ed9f802 dbms: replication delays: development [#METR-17573]. 2015-11-09 23:30:54 +03:00
Alexey Milovidov
4b29a48124 dbms: fixed error [#METR-17109]. 2015-11-09 21:45:55 +03:00
Alexey Milovidov
eed74c506e dbms: fixed error [#METR-15573]. 2015-11-09 02:52:40 +03:00
Alexey Milovidov
dd3ee906e2 dbms: fixed build [#METR-2944]. 2015-11-09 02:27:51 +03:00
Alexey Milovidov
f74c115faf dbms: fixed error [#METR-15573]. 2015-11-09 02:23:31 +03:00
Alexey Milovidov
ddd311ca98 dbms: fixed error [#METR-15573]. 2015-11-09 02:14:24 +03:00
Alexey Milovidov
ce292c4c55 dbms: fixed error [#METR-15573]. 2015-11-08 20:37:15 +03:00
Alexey Milovidov
52a3b686cd dbms: fixed error; parsing 'ON' expression in JOINs [#METR-18692]. 2015-11-08 05:42:33 +03:00
Alexey Milovidov
ffa33eea3d dbms: fixed error [#METR-15573]. 2015-11-08 05:07:13 +03:00
Alexey Milovidov
d6766eea2f dbms: fixed error [#METR-15573]. 2015-11-08 04:44:02 +03:00
Alexey Milovidov
9d95be8933 dbms: fixed error [#METR-15573]. 2015-11-08 04:33:33 +03:00
Alexey Milovidov
0e5bf428d0 dbms: better handling of compound identifiers [#METR-18692]. 2015-11-08 04:29:37 +03:00
Alexey Milovidov
4482871274 dbms: allowed aliases without AS keyword in SELECT clause at top level [#METR-15573]. 2015-11-08 03:28:12 +03:00
Alexey Milovidov
6f9c9d05a5 dbms: fixed priority of parsing tuple element operator [#METR-18692]. 2015-11-08 02:18:39 +03:00
Alexey Milovidov
a43d225da7 Merge 2015-11-06 21:46:23 +03:00
Alexey Milovidov
d7831a6317 dbms: fixed error [#METR-17573]. 2015-11-06 21:45:48 +03:00
Alexey Arno
29dc5f91d1 Merge 2015-11-06 20:44:01 +03:00
Alexey Milovidov
4a35d9169f dbms: merges don't block ALTERs [#METR-18690]. 2015-11-06 20:34:48 +03:00
Andrey Mironov
f8e5fed856 dbms: dictGetStringOrDefault, other functions on the way [#METR-18520] 2015-11-06 17:54:04 +03:00
Alexey Milovidov
0572f5aed7 dbms: added /replicas_status handle [#METR-17573]. 2015-11-05 23:24:27 +03:00
Alexey Milovidov
53dd07b8ca dbms: checking replication delays: development [#METR-17573]. 2015-11-05 23:08:18 +03:00
Alexey Milovidov
e29df2814c dbms: checking replication delays [#METR-17573]. 2015-11-05 22:44:19 +03:00
Alexey Milovidov
11447a4e1a dbms: accurate checking of replication delays (incomplete) [#METR-17573]. 2015-11-05 20:38:24 +03:00
Andrey Mironov
977954f9ce AIOContextPool: wait for all io_events in flight before destruction [#METR-18618] 2015-11-05 18:40:01 +03:00
Andrey Mironov
ad27ad476d AIOContextPool: type aliases for clarity, commentary corrections [#METR-18618] 2015-11-05 17:11:09 +03:00
Andrey Mironov
249a5922fe AIOContextPool: refactor, extract member functions, employ a condition_variable to minimize CPU waste [#METR-18618] 2015-11-05 16:52:21 +03:00
Alexey Milovidov
1f08dccab2 Merge 2015-11-05 15:43:15 +03:00
Alexey Milovidov
4e732a4d65 dbms: added test [#METR-18644]. 2015-11-05 15:42:54 +03:00
Alexey Arno
67d42f3aa8 dbms: Server: Bug fix. If the FROM section of a subquery does not refer to a table, the depth (as specified in the algorithm for distributed IN/JOIN subqueries processing) of this subquery must not increase. [#METR-18524] 2015-11-05 14:11:20 +03:00
Alexey Milovidov
c3a196904f dbms: fixed error with ARRAY JOIN and UNION ALL [#METR-18646]. 2015-11-05 03:42:18 +03:00
Alexey Milovidov
1a01606bf6 dbms: fixed error with GLOBAL subqueries and aliases [#METR-18650]. 2015-11-05 01:02:52 +03:00
Alexey Milovidov
d2bebebff5 dbms: ODBC: development [#METR-18538]. 2015-11-04 03:50:09 +03:00
Alexey Milovidov
85c2f926cc dbms: ODBC: development [#METR-18538]. 2015-11-04 03:48:14 +03:00
Alexey Milovidov
7829695455 Merge 2015-11-03 22:01:06 +03:00
Alexey Milovidov
127918a032 dbms: when limit for rows to read/result exceeded, will break at next block [#METR-18644]. 2015-11-03 21:58:43 +03:00
Andrey Mironov
32f31eedc4 AIOContextPool: handle EAGAIN from a call to io_submit [#METR-18618] 2015-11-03 18:37:21 +03:00
Andrey Mironov
9bfd90bb0f dbms: use AIOContextPool in ReadBufferAIO [#METR-18618] 2015-11-03 18:15:45 +03:00
Alexey Milovidov
213a6dedbd dbms: probably fixed error [#METR-18611]. 2015-11-02 22:19:29 +03:00
Alexey Arno
3c115c4dbe dbms: Server: Compilation fix. [#METR-16213] 2015-11-02 13:53:40 +03:00
Alexey Milovidov
c0ca0f117f dbms: ODBC: development [#METR-18538]. 2015-11-01 15:48:32 +03:00
Alexey Milovidov
0636e898fb dbms: ODBC: development [#METR-18538]. 2015-11-01 15:09:52 +03:00
Alexey Milovidov
d91836a1ef dbms: ODBC: development [#METR-18538]. 2015-11-01 15:00:49 +03:00
Alexey Milovidov
5af2b68775 dbms: ODBC: development [#METR-18538]. 2015-11-01 13:11:30 +03:00
Alexey Milovidov
6c54723409 dbms: ODBC: development [#METR-18538]. 2015-11-01 11:40:57 +03:00
Alexey Milovidov
30a31aac84 dbms: ODBC: development [#METR-18538]. 2015-11-01 07:40:26 +03:00
Alexey Milovidov
9bd245bb63 dbms: ODBC: development [#METR-18538]. 2015-11-01 07:39:17 +03:00
Alexey Milovidov
00a7e27398 dbms: ODBC: development [#METR-18538]. 2015-11-01 06:57:05 +03:00
Alexey Milovidov
fb699106f8 dbms: ODBC: development [#METR-18538]. 2015-11-01 05:36:19 +03:00
Alexey Milovidov
b17cc7181e dbms: ODBC: development [#METR-18538]. 2015-10-31 10:14:03 +03:00
Alexey Milovidov
e553d55974 dbms: ODBC: development [#METR-18538]. 2015-10-31 09:46:09 +03:00
Alexey Milovidov
00ea6b6b94 dbms: ODBC: more conscious [#METR-18538]. 2015-10-31 08:48:28 +03:00
Alexey Milovidov
184bdebf18 dbms: added test [#METR-18603]. 2015-10-31 00:24:41 +03:00
Alexey Milovidov
89848a098a dbms: setting Content-Type header in HTTP interface [#METR-18603]. 2015-10-31 00:19:54 +03:00
Alexey Milovidov
6e18299a45 dbms: added test [#METR-18564]. 2015-10-30 05:39:16 +03:00
Alexey Milovidov
b13c6cdd1e dbms: fixed error [#METR-18564]. 2015-10-30 05:34:24 +03:00
Alexey Milovidov
e7aabfe43c dbms: fixed error [#MTRSADMIN-1690]. 2015-10-30 05:29:53 +03:00
Alexey Milovidov
1331e1fb42 dbms: preparation [#METR-18603]. 2015-10-29 23:38:37 +03:00
Andrey Mironov
37ba429c1e dbms: handle ALIAS columns differently, support them in ARRAY JOIN. [#METR-18221] 2015-10-29 18:42:40 +03:00
Alexey Milovidov
75bde11360 dbms: implemented TODO [#METR-18564]. 2015-10-29 07:13:18 +03:00
Alexey Milovidov
02284881be dbms: renamed file [#METR-18564]. 2015-10-29 07:04:43 +03:00
Alexey Milovidov
bb7d8f3ed5 dbms: implemented exact version of uniq of variadic number of arguments; improved performance of non-exact version [#METR-18564]. 2015-10-29 07:02:22 +03:00
Alexey Milovidov
5862506095 dbms: added variadic variant of aggregate function uniqUpTo [#METR-18564]. 2015-10-29 06:41:09 +03:00
Alexey Milovidov
dc1460ad44 dbms: little better [#METR-18564]. 2015-10-29 05:41:13 +03:00
Alexey Milovidov
459900269f dbms: uniqExact: 16% better [#METR-18564]. 2015-10-29 05:19:56 +03:00
Alexey Milovidov
45065d53aa dbms: aggregate functions uniq with variable number of arguments: initial implementation [#METR-18564]. 2015-10-29 05:13:37 +03:00
Alexey Milovidov
270652a55b dbms: preparation [#METR-18564]. 2015-10-29 04:57:22 +03:00
Alexey Milovidov
e10a65ff1c dbms: added test [#METRIKASUPP-5937]. 2015-10-29 03:55:27 +03:00
Alexey Milovidov
aacc364d6d dbms: OptimizedRegularExpression: fixed error [#METRIKASUPP-5937]. 2015-10-29 03:18:40 +03:00
Alexey Milovidov
b2edb7bc5e dbms: allow to materialize tuples [#METR-18586]. 2015-10-29 03:17:50 +03:00
Alexey Milovidov
9f16f6fb6e dbms: allowed to hashing tuples [#METR-18564]. 2015-10-29 03:12:04 +03:00
Alexey Milovidov
c9a8f19def dbms: fixed error with tuples of consts [#METR-18586]. 2015-10-29 00:21:18 +03:00
Alexey Milovidov
400588148c dbms: fixed error in PKCondition [#METR-18585]. 2015-10-29 00:00:44 +03:00
Alexey Milovidov
248dec8194 dbms: added comment [#METR-15790]. 2015-10-27 22:40:14 +03:00
Alexey Milovidov
3f52d7d509 dbms: when parsing DateTime in unix timestamp form, allow timestamps with leading zeros [#METR-15790]. 2015-10-27 03:53:38 +03:00
Alexey Milovidov
23144fb2c1 Revert "dbms: fixed error with ARRAY JOIN, ORDER BY and LIMIT when no aggregation and joined arrays is not used before ORDER BY [#METR-18534]."
This reverts commit d5a33de26e7f69f65d7c056394e6a1d70b3a3f2a.
2015-10-27 03:50:01 +03:00
Alexey Arno
a5e1c3a603 dbms: Server: Set max_threads to max_distributed_connections in order to improve response times of CHECK TABLE. [#METR-16213] 2015-10-26 17:16:29 +03:00
Alexey Arno
46113b0fb3 dbms: Server: Small improvement [#METR-17985] 2015-10-26 16:30:36 +03:00
Alexey Arno
1bea69c0e2 dbms: Server: Small improvement [#METR-17985] 2015-10-26 16:26:24 +03:00
Alexey Arno
c326cf8624 dbms: Server: Small improvement [#METR-17985] 2015-10-26 16:21:46 +03:00
Alexey Milovidov
3a7985b09b dbms: ODBC: development [#METR-18538]. 2015-10-26 10:41:05 +03:00
Alexey Milovidov
9bcb09c371 dbms: ODBC: development [#METR-18538]. 2015-10-26 08:09:50 +03:00
Alexey Milovidov
03abdc0b93 dbms: ODBC: development [#METR-18538]. 2015-10-26 04:08:26 +03:00
Alexey Milovidov
a23b3c487c dbms: ODBC: development [#METR-18538]. 2015-10-25 11:01:19 +03:00
Alexey Milovidov
9fdec4bcd2 dbms: ODBC: development [#METR-18538]. 2015-10-25 07:53:30 +03:00
Alexey Milovidov
3a2a7a2e17 dbms: ODBC: development [#METR-18538]. 2015-10-25 07:45:02 +03:00
Alexey Milovidov
1bf1883c87 dbms: ODBC: just "connecting" [#METR-18538]. 2015-10-25 03:47:15 +03:00
Alexey Milovidov
c42ad08ff0 dbms: added ODBC driver stub [#METR-18538]. 2015-10-24 22:12:37 +03:00
Alexey Arno
497b9ba3c8 Merge 2015-10-24 01:43:06 +03:00
Alexey Milovidov
6affd9f342 dbms: fixed error with ARRAY JOIN, ORDER BY and LIMIT when no aggregation and joined arrays is not used before ORDER BY [#METR-18534]. 2015-10-23 22:05:21 +03:00
Alexey Milovidov
d2ba5e1afe dbms: updated test result (meaningless values was changed) [#METR-17109]. 2015-10-23 20:21:26 +03:00
Alexey Milovidov
09e3e62539 Merge 2015-10-23 04:44:50 +03:00
Alexey Milovidov
5cd5c0dde5 dbms: using 'max_rows_to_group_by' limit while merging aggregate states (in certain cases) [#METR-18507]. 2015-10-23 04:43:42 +03:00
Alexey Milovidov
6f00b5949c dbms: fixed ARRAY JOIN when joined array is not used, but original is used [#METR-18406]. 2015-10-22 23:56:52 +03:00
Alexey Arno
33650462c2 Merge 2015-10-22 18:31:42 +03:00
Alexey Milovidov
90ff83b1ba dbms: using max_rows_to_group_by limit while merging aggregate states (incomplete) [#METR-18507]. 2015-10-22 04:44:33 +03:00
Alexey Milovidov
9b0da24558 dbms: allowed to GROUP BY constants with no aggregates [#METR-18298]. 2015-10-22 00:43:42 +03:00
Alexey Milovidov
7fcae3dddd dbms: allowed to parse unix timestamp as DateTime for small unix timestamps [#METR-15790]. 2015-10-21 22:04:02 +03:00
Alexey Arno
fbe7b48dc9 dbms: Server: Code cleanup [#METR-16213] 2015-10-21 18:04:20 +03:00
Alexey Arno
e059442193 Merge 2015-10-21 17:57:10 +03:00
Andrey Mironov
d2188a1183 dbms: alter: allow altering between any default types. [#METR-18221]
add commentary about altering to FixedString(N) columns with existing files
2015-10-21 17:54:13 +03:00
Andrey Mironov
8242d24d1d dbms: fix alters involving FixedString columns and defaults [#METR-18221] 2015-10-21 17:54:13 +03:00
Alexey Arno
2660fbaa21 dbms: Server: merged branch METR-16213 into master 2015-10-20 17:59:29 +03:00
Alexey Milovidov
7600d9135a dbms: added support for array argument for function reverse [#METR-18022]. 2015-10-20 00:07:24 +03:00
Alexey Milovidov
a552f7b723 dbms: added function arrayStringConcat [#METR-18022]. 2015-10-19 21:49:52 +03:00
Alexey Milovidov
ea567490b6 dbms: fixed (falsely broken) test [#METR-18490]. 2015-10-19 18:56:33 +03:00
Alexey Milovidov
1eaa3cb309 dbms: implemented method getExtremes for ColumnTuple [#METR-18474]. 2015-10-16 23:32:44 +03:00
Alexey Milovidov
d5e8f3e427 dbms: attempt to fix memory usage [#METR-18456]. 2015-10-16 20:27:11 +03:00
Alexey Milovidov
203beb9621 dbms: caching DNS for table function 'remote' [#METR-18472]. 2015-10-16 19:10:10 +03:00
Alexey Milovidov
9b15c2e0f1 Merge 2015-10-16 18:36:43 +03:00
Alexey Milovidov
5e21d6a11d dbms: implemented TODO [#METR-18472]. 2015-10-16 18:36:23 +03:00
Alexey Arno
a5c49720fc Merge 2015-10-16 18:00:50 +03:00
Andrey Mironov
4195842841 dbms: add ext::identity and ext::collection_cast, use in ITableDeclaration 2015-10-16 14:44:44 +03:00
Alexey Arno
ce93036534 dbms: Server: Fixed comment typo. [#METR-16213] 2015-10-16 14:25:29 +03:00
Alexey Arno
caaf0235b9 dbms: Server: merged branch METR-16213 into master [#METR-16213] 2015-10-16 14:02:48 +03:00
Alexey Milovidov
9bf8199cae Merge 2015-10-15 22:42:06 +03:00
Alexey Milovidov
5249748571 dbms: fixed memory usage when using distributed_aggregation_memory_efficient [#METR-18456]. 2015-10-15 22:41:32 +03:00
Andrey Mironov
3b879c444d dbms: simplify ITableDeclaration::getColumnsList 2015-10-15 20:58:28 +03:00
Andrey Mironov
b0d70b6753 dbms: ITableDeclaration::getColumnsListIterator: simplify awesome code even further 2015-10-15 20:51:23 +03:00
Andrey Mironov
ecf917de65 dbms: ITableDeclaration::getColumnsListIterator: simplify awesome code even further 2015-10-15 19:50:10 +03:00
Alexey Milovidov
fc745dbfa1 dbms: fixed error with removing temporary columns [#METR-18448]. 2015-10-15 19:10:08 +03:00
Alexey Arno
3d7a3bcd92 dbms: Server: Fixed typo in comment. [#METR-18155] 2015-10-15 16:07:35 +03:00
Andrey Mironov
a4657df04e dbms: move Volnitsky to DB namespace 2015-10-15 16:05:27 +03:00
Andrey Mironov
6a4a1887a8 dbms: DB::UTF8::syncForward remove default parameter value 2015-10-15 15:55:34 +03:00
Andrey Mironov
39189f48d3 dbms: UTF8Helpers.h: make all functions inline 2015-10-15 15:54:33 +03:00
Andrey Mironov
53a251d1f5 dbms: ext.hpp include fix 2015-10-15 15:40:17 +03:00
Alexey Arno
66c46b1a49 dbms: Server: Fixed inverted columns. [#METR-16213] 2015-10-15 15:16:04 +03:00
Andrey Mironov
97ca8e5945 Merge 2015-10-15 14:36:39 +03:00
Andrey Mironov
e4f0f59742 dbms: fix unsigned vs signed comparison [#METR-18210] 2015-10-15 14:17:02 +03:00
Alexey Arno
f4d2d42ea8 dbms: Server: Fixed bug in query analysis ordering. [#METR-18155] 2015-10-15 14:07:39 +03:00
Andrey Mironov
797b947425 dbms: add concatAssumeInjective [#METR-18261] 2015-10-14 15:50:21 +03:00
Alexey Arno
be68994963 dbms: Server: Compilation fix for benchmark. [#METR-16213] 2015-10-14 15:19:55 +03:00
Andrey Mironov
957c8ecafe dbms: refactor position function family, remove debug versions. [#METR-18210] 2015-10-14 15:12:56 +03:00
Pavel Kartavyy
3069d6fe8f Merge 2015-10-14 14:58:16 +03:00
Andrey Mironov
4355b32890 dbms: external dictionaries: store null_values in sample_block, use them instead of IColumn::insertDefault for MySQL and MongoDB [#METR-17854] 2015-10-13 18:38:22 +03:00
Pavel Kartavyy
c469b726c1 Merge 2015-10-13 15:38:38 +03:00
Andrey Mironov
dd45d300bf Merge 2015-10-13 15:17:23 +03:00
Andrey Mironov
1657e38c97 dbms: prefer static version of boost_regex, add support for loading specific ids with MongoDBDictionarySource [#METR-17854] 2015-10-13 15:17:09 +03:00
Andrey Mironov
a36436a64b Revert "dbms: temporarily disabled MongoDB dictionary source (to enable automatic builds) [#METR-17854]."
This reverts commit 7060e5a7c839040ff23aebd160e0a1d088778fa7.
2015-10-13 13:20:48 +03:00
Alexey Arno
0f923131c6 dbms: Server: Removed unused header include. [#METR-16213] 2015-10-12 18:10:08 +03:00
Alexey Arno
abcf2ebc75 dbms: Server: Updated comment. [#METR-16213] 2015-10-12 18:05:30 +03:00
Alexey Arno
5f17c9d55d Merge 2015-10-12 17:53:16 +03:00
Andrey Mironov
7c64c3dc30 Merge 2015-10-12 13:23:31 +03:00
Andrey Mironov
e28dca4d4d dbms: add MongoDBBlockInputStream commentary [#METR-17854] 2015-10-12 13:22:16 +03:00
Alexey Milovidov
7f06d70d45 dbms: added test [#METR-18382]. 2015-10-12 10:15:57 +03:00
Alexey Milovidov
bb283e6602 dbms: added support for different numeric types in function has [#METR-18382]. 2015-10-12 10:05:54 +03:00
Alexey Milovidov
d12532e7b1 dbms: fixed error [#METR-18382]. 2015-10-12 07:27:02 +03:00
Alexey Milovidov
cbaaa0a4d7 dbms: addition to prev. revision [#METR-18149]. 2015-10-12 04:43:58 +03:00
Alexey Milovidov
4201a685b5 dbms: added support of tuple arguments to comparison functions [#METR-18149]. 2015-10-12 04:42:47 +03:00
Alexey Milovidov
8ab8ab5a2b dbms: added 'override' to functions [#METR-18149]. 2015-10-12 02:36:45 +03:00
Alexey Milovidov
ff06c18850 dbms: fixed error with 'replace' functions [#METR-18401]. 2015-10-11 07:25:02 +03:00
Alexey Milovidov
62061c3969 dbms: temporarily disabled MongoDB dictionary source (to enable automatic builds) [#METR-17854]. 2015-10-11 04:08:39 +03:00
Alexey Milovidov
31e94fb6cb dbms: OLAP compatibility: fixed error for ███████████.yandex-team.ru [#METR-17929]. 2015-10-09 23:22:33 +03:00
Alexey Milovidov
3733ac9ead dbms: fixed comment [#METR-17854]. 2015-10-09 23:21:20 +03:00
Andrey Mironov
d5caf72ca7 Merge 2015-10-09 17:52:45 +03:00
Andrey Mironov
4e66eb2884 Merge 2015-10-09 17:51:57 +03:00
Andrey Mironov
8e4f30fff0 dbms: MongoDB dictionary source draft (actually it works, but there are some improvements to be made) [#METR-17854] 2015-10-09 17:51:31 +03:00
Alexey Milovidov
75c6e83b71 dbms: added test [#METR-18382]. 2015-10-09 00:29:17 +03:00
Alexey Milovidov
a7fc2040d9 dbms: handling of compatible types in IN section with explicitly provided set [#METR-18382]. 2015-10-09 00:22:49 +03:00
Alexey Milovidov
0a7b4dd536 dbms: fixed little error [#METR-16457]. 2015-10-08 23:01:09 +03:00
Alexey Milovidov
e118d055da dbms: fixed error with OLAP compatibility layer [#METR-17929]. 2015-10-08 22:00:50 +03:00
Alexey Arno
e86428b4ac Merge 2015-10-08 17:23:23 +03:00
Pavel Kartavyy
2163af290a Merge 2015-10-08 16:21:23 +03:00
Alexey Milovidov
a2e53d50ec dbms: addition to prev. revision [#METR-18361]. 2015-10-08 06:49:04 +03:00
Alexey Milovidov
dca0bb0a45 dbms: added test [#METR-18361]. 2015-10-08 06:45:17 +03:00
Alexey Milovidov
a62fdf0e24 dbms: removing temporary columns early [#METR-18361]. 2015-10-08 06:41:11 +03:00
Alexey Milovidov
9f5aa6c26e dbms: Set 'merge_tree_uniform_read_distribution' to true by default [#METR-16457]. 2015-10-08 03:09:48 +03:00
Alexey Milovidov
382d73270b dbms: Better exception message [#METR-18306]. 2015-10-06 23:03:10 +03:00
Andrey Mironov
3e3dfa0362 dbms: SSE versions for position(UTF8) [#METR-18210] 2015-10-06 18:12:45 +03:00
Pavel Kartavyy
1bf0b9841a ReadHelpers: add braces 2015-10-06 15:04:50 +03:00
Pavel Kartavyy
04dfbc5728 ReadHelpers: don't throw exception in tryReadFloatText [#METR-18288] 2015-10-06 13:40:24 +03:00
Pavel Kartavyy
7c7829051b dbms::ReadHelpers: rewrite readFloatText for better perfomance when exception happens [#METR-18288] 2015-10-05 17:28:06 +03:00
Pavel Kartavyy
7b308a8153 dbms: add read_float_perf test. On common data new version if 2 times slower [#METR-18288] 2015-10-05 17:28:06 +03:00
Alexey Milovidov
9facd5bc56 Removed link-time dependency [#METR-17973]. 2015-10-05 10:04:42 +03:00
Alexey Milovidov
687958aa0b Addition [#METR-17973]. 2015-10-05 09:12:54 +03:00
Alexey Milovidov
4e75ccee03 Probably better [#METR-17973]. 2015-10-05 08:40:27 +03:00
Alexey Milovidov
baa25bf288 Addition to prev. revision [#METR-17973]. 2015-10-05 04:52:00 +03:00
Alexey Milovidov
3183deadef Moved files [#METR-17973]. 2015-10-05 04:50:42 +03:00
Alexey Milovidov
0ddb9cffdd Addition to prev. revision [#METR-17973]. 2015-10-05 04:40:00 +03:00
Alexey Milovidov
918422ad48 Moved files [#METR-17973]. 2015-10-05 04:35:28 +03:00
Alexey Milovidov
7f6bc50055 Moved files [#METR-17973]. 2015-10-05 04:31:57 +03:00
Alexey Milovidov
feec229066 Moved files [#METR-17973]. 2015-10-05 04:26:43 +03:00
Alexey Milovidov
f90c3003ea Moved files [#METR-17973]. 2015-10-05 04:11:12 +03:00
Alexey Milovidov
3a5032fd4a Moved files [#METR-17973]. 2015-10-05 03:52:29 +03:00
Alexey Milovidov
4a061b97cb Moved file [#METR-17973]. 2015-10-05 03:44:40 +03:00
Alexey Milovidov
fefd3791f1 Moved files [#METR-17973]. 2015-10-05 03:33:43 +03:00
Alexey Milovidov
0ced5b4013 dbms: improved performance of aggregation by arrays [#METR-13168]. 2015-10-04 09:51:22 +03:00
Alexey Milovidov
49852e67fb dbms: added tests [#METR-13168]. 2015-10-04 09:25:33 +03:00
Alexey Milovidov
804216f678 dbms: added full support of GROUP BY arrays [#METR-13168]. 2015-10-04 09:10:48 +03:00
Alexey Milovidov
6546fa7dbd dbms: fixed build [#METR-17573]. 2015-10-04 06:44:58 +03:00
Alexey Milovidov
058e5e8de7 dbms: addition to prev. revision [#METR-13168]. 2015-10-04 06:41:00 +03:00
Alexey Milovidov
4309ccd0d6 dbms: addition to prev. revision [#METR-13168]. 2015-10-04 06:20:03 +03:00
Alexey Milovidov
733324645f dbms: aggregation by arrays: preparation [#METR-13168]. 2015-10-04 06:17:36 +03:00
Alexey Milovidov
f356545bbe dbms: allowed DROP/DETACH partition on non-leader [#METR-17573]. 2015-10-03 00:28:19 +03:00
Alexey Milovidov
51cdac107b dbms: tests: removed executable flag on few files [#METR-2944]. 2015-10-02 23:45:43 +03:00
Alexey Milovidov
b8c8662457 dbms: preparation [#METR-18167]. 2015-10-02 21:33:46 +03:00
Alexey Milovidov
fba839199a dbms: limited queries to OLAP compatibility layer [#METR-18008]. 2015-10-02 21:02:56 +03:00
Andrey Mironov
a18933eeb3 dbms: Volnitsky: incorporate best of SSE2 string searching into fallback algorithm [#METR-18210] 2015-10-02 17:04:33 +03:00
Alexey Arno
3ab5226a56 dbms: Server: Fixed typo in comment. [#METR-17506] 2015-10-01 18:14:39 +03:00
Alexey Arno
ddf5996c44 Merge 2015-10-01 18:10:41 +03:00
Alexey Arno
700e545ebf dbms: Server: Fixed reference file for functional test. [#METR-18059] 2015-10-01 12:03:14 +03:00
Alexey Milovidov
d339ad0048 Merge 2015-10-01 06:30:50 +03:00
Alexey Milovidov
f725116826 dbms: fixed error [#METR-18249] [#METR-17924]. 2015-10-01 04:35:18 +03:00
Andrey Mironov
c915538fa7 dbms: add UTF-8 and case insensitive comparison support to Volnitsky [#METR-18210] 2015-09-30 21:07:02 +03:00
Andrey Mironov
dc087ac04d dbms: rename test 00234 to 00235[#METR-18251] 2015-09-30 16:57:40 +03:00
Andrey Mironov
b8e3d35f92 dbms: add test [#METR-18251] 2015-09-30 16:56:58 +03:00
Pavel Kartavyy
269b4b8155 Merge 2015-09-30 16:55:20 +03:00
Alexey Arno
3a8d096be2 dbms: Server: Added functional test + comment. [#METR-18059] 2015-09-30 16:43:25 +03:00
Andrey Mironov
e42022adce dbms: allow CREATE TEMPORARY TABLE AS [#METR-18251] 2015-09-30 16:35:32 +03:00
Alexey Milovidov
7ea5da8b53 dbms: test: increased padding [#METR-2944]. 2015-09-30 02:58:26 +03:00
Alexey Milovidov
28f67084a4 Merge 2015-09-30 01:31:22 +03:00
Alexey Milovidov
9be353dd28 dbms: added old modification [#METR-2944]. 2015-09-30 01:30:59 +03:00
Alexey Milovidov
bfce8aee43 dbms: fixed error with Throttler (incomplete) [#METR-18233]. 2015-09-30 00:16:16 +03:00
Alexey Milovidov
914067c861 dbms: fixed error [#METR-18202]. 2015-09-29 23:47:15 +03:00
Alexey Milovidov
1f6def094f dbms: fixed build [#METR-18202]. 2015-09-29 22:19:54 +03:00
Alexey Milovidov
fa252f2208 dbms: SimpleCache: better (tnx. hertz) [#METR-18213]. 2015-09-29 22:10:54 +03:00
Alexey Arno
8bdb8f93c0 Merge 2015-09-29 17:40:23 +03:00
Alexey Milovidov
fda3591d92 dbms: moved code to .cpp [#METR-18202]. 2015-09-29 17:09:01 +03:00
Alexey Milovidov
d496f6cd4e dbms: get rid of boost::property_tree [#METR-18202]. 2015-09-29 03:53:10 +03:00
Alexey Milovidov
003cc854fd dbms: changed 'at most' to 'at least' for rows to read when specifying absolute SAMPLE size [#METRIKASUPP-5748]. 2015-09-28 22:10:07 +03:00
Alexey Milovidov
949dfb4226 dbms: fixed build [#METR-2807]. 2015-09-27 17:28:43 +03:00
Alexey Milovidov
932a09ad6e dbms: fixed race condition in ATTACH [#METR-17573]. 2015-09-27 17:22:23 +03:00
Alexey Milovidov
e96705ed44 dbms: fixed error [#METR-16779]. 2015-09-27 16:45:20 +03:00
Alexey Milovidov
88f8d02ae7 dbms: fixed error [#METR-16779]. 2015-09-27 16:35:14 +03:00
Alexey Milovidov
9a4a46af9b dbms: fixed error [#METR-16779]. 2015-09-27 16:03:41 +03:00
Alexey Milovidov
1a2f063fc8 dbms: addition to prev. revision [#METR-16779]. 2015-09-27 15:52:58 +03:00
Alexey Milovidov
9025f88561 dbms: fixed error [#METR-18061]. 2015-09-27 15:34:32 +03:00
Alexey Milovidov
87e1e69ff6 dbms: allowed to write block again after failed quorum write [#METR-16779]. 2015-09-27 13:45:49 +03:00
Alexey Milovidov
3979b2aa49 dbms: don't use unreplicated data if there are no parts [#METR-18198]. 2015-09-27 10:11:00 +03:00
Alexey Milovidov
6e3394496f dbms: don't move conditions of type PKColumn IN (subquery) to PREWHERE [#METR-18198]. 2015-09-27 09:50:36 +03:00
Alexey Milovidov
d04c213b27 dbms: addition to prev. revision [#METR-18213]. 2015-09-27 05:45:55 +03:00
Alexey Milovidov
e1836a1e27 dbms: addition to prev. revision [#METR-18213]. 2015-09-27 05:40:39 +03:00
Alexey Milovidov
c1bb394e8d dbms: caching DNS requests for authentification [#METR-18213]. 2015-09-27 05:18:00 +03:00
Alexey Milovidov
b06032a322 dbms: fixed error in prev. revision [#METR-18202]. 2015-09-26 04:42:32 +03:00
Alexey Milovidov
555ad5ac3f dbms: parallel loading of tables [#METR-18202]. 2015-09-26 04:02:07 +03:00
Alexey Milovidov
b714813c76 dbms: improved startup time [#METR-18202]. 2015-09-25 21:57:17 +03:00
Alexey Milovidov
642584e0c8 dbms: explicitly allowed / and /ping URIs for health checks [#METR-18208]. 2015-09-25 19:28:17 +03:00
Alexey Milovidov
fa1e2cc70f dbms: support for HEAD method in /ping [#METR-18208]. 2015-09-25 18:54:54 +03:00
Andrey Mironov
04b0f73c86 dbms: add test for position function family [#METR-16752] 2015-09-25 18:38:31 +03:00
Andrey Mironov
8d3783153a dbms: fix Volnitsky correctness for zero-length needle 2015-09-25 18:11:12 +03:00
Andrey Mironov
07a3ea8eb1 Merge 2015-09-25 16:39:13 +03:00
Andrey Mironov
a5bf937335 Merge 2015-09-25 16:39:13 +03:00
Andrey Mironov
bd57afb76c dbms: stop reading from parts without PREWHERE prematurely by calling isCancelled() [#METR-16457] 2015-09-25 16:39:13 +03:00
Alexey Milovidov
093a8b12a7 dbms: added 'max_network_bytes' setting [#METR-18186]. 2015-09-25 15:52:47 +03:00
Alexey Milovidov
d86761f504 dbms: fixed error with 'max_concurrent_queries_for_user' setting in distributed queries [#METR-17965]. 2015-09-25 15:47:33 +03:00
Andrey Mironov
efc1f35c21 dbms: fix reverse order of ranges for FINAL with merge_tree_uniform_read_distribution = 1 [#METR-16457] 2015-09-25 14:35:58 +03:00
Alexey Milovidov
1a16709162 dbms: fixed error [#METR-18170]. 2015-09-25 10:51:00 +03:00
Alexey Milovidov
056f792a1b dbms: little better [#METR-18133]. 2015-09-24 22:33:16 +03:00
Alexey Milovidov
8584faf609 dbms: don't log internal queries [#METR-18133]. 2015-09-24 22:25:18 +03:00
Alexey Milovidov
7989024c76 dbms: addition to prev. revision [#METR-2944]. 2015-09-24 22:14:43 +03:00
Alexey Milovidov
c757bf9063 dbms: setting thread names [#METR-2944]. 2015-09-24 21:54:21 +03:00
Andrey Mironov
01e767afa0 dbms: refactor, fix out of bounds access when needle is empty [#METR-16752] 2015-09-24 17:28:31 +03:00
Andrey Mironov
fd6dca0432 dbms: (lower|upper)UTF-8 refactor a bit [#METR-16752] 2015-09-24 15:58:28 +03:00
Alexey Arno
19bc3181f2 Merge 2015-09-24 15:40:36 +03:00
Andrey Mironov
90e9e8ab1a dbms: UTF-8 position function family fix for constants [#METR-16752] 2015-09-24 14:39:51 +03:00
Andrey Mironov
03e7932164 dbms: positionCaseInsensitiveUTF8 code point counting fix. [#METR-16752] 2015-09-24 12:33:28 +03:00
Alexey Milovidov
fb654a1255 Merge 2015-09-24 10:39:47 +03:00
Alexey Milovidov
0e57c8c423 dbms: allowed to specify passwords in hashed form [#METR-18119]. 2015-09-24 10:18:05 +03:00
Alexey Milovidov
07b34aa432 dbms: fixed build [#METR-2944]. 2015-09-24 10:03:20 +03:00
Alexey Milovidov
a3e706ead8 dbms: fixed error [#METR-18167]. 2015-09-24 09:20:50 +03:00
Alexey Milovidov
3d817fe625 dbms: lowered data size in ZK [#METR-18170]. 2015-09-24 08:47:17 +03:00
Alexey Milovidov
6fc99c48e1 dbms: better [#METR-2944]. 2015-09-24 07:52:02 +03:00
Alexey Milovidov
1481d7f293 dbms: specifying port to send queries in ZK [#METR-18167]. 2015-09-24 07:50:53 +03:00
Alexey Milovidov
7784606c6a dbms: addition to prev. revision [#METR-2944]. 2015-09-24 07:14:35 +03:00
Alexey Milovidov
a531680a92 dbms: removed most of log messages 'all_data_parts is locked' [#METR-2944]. 2015-09-24 07:13:06 +03:00
Alexey Milovidov
75a16854db dbms: moved files [#METR-2944]. 2015-09-24 06:50:09 +03:00
Alexey Milovidov
dc209def73 dbms: table system.replication_queue: development [#METR-18061]. 2015-09-24 04:18:25 +03:00
Alexey Milovidov
f8d94fcbd9 dbms: just-written parts does not participate in sanity check [#METR-18169]. 2015-09-24 04:17:10 +03:00
Alexey Milovidov
a840af70ab dbms: addition to prev. revision [#METR-18061]. 2015-09-24 03:31:47 +03:00
Alexey Milovidov
6af8215af5 dbms: added table system.replication_queue [#METR-18061]. 2015-09-24 03:21:02 +03:00
Andrey Mironov
2efae5a5b9 dbms: positionCaseInsensitiveUTF8 and some fixes (out of bounds access etc.) for positionCaseInsensitive. [#METR-16752] 2015-09-23 20:00:01 +03:00
Pavel Kartavyy
d1bd09246d gcc-4.9.2: compilation fix 2015-09-23 18:03:08 +03:00
Alexey Milovidov
0f8b651fe8 dbms: fixing error with 'nonincrement_block_numbers' [#METR-18139]. 2015-09-23 05:39:07 +03:00
Alexey Milovidov
ef7afd0b9a dbms: fixed dynamic compilation with clang [#METR-2944]. 2015-09-23 00:16:00 +03:00
Alexey Arno
7d52bb7ccf dbms: Server: Small code simplification. [#METR-17668] 2015-09-22 18:23:49 +03:00
Andrey Mironov
666a33e435 dbms: add try-catch around reloadFromFile in ExternalDictionaries.cpp [#METR-18128] 2015-09-22 18:15:19 +03:00
Andrey Mironov
0f6c2839c2 dbms: put right brace back once again [#METR-16752] 2015-09-22 18:13:47 +03:00
Andrey Mironov
02064e1029 dbms: positionCaseInsensitive function (no tests attached yet) [#METR-16752] 2015-09-22 16:43:41 +03:00
Alexey Milovidov
926a661e38 Merge 2015-09-22 01:44:18 +03:00
Alexey Milovidov
c89541646c dbms: instrumenting replication queue [#METR-18061]. 2015-09-22 01:43:38 +03:00
Alexey Milovidov
5df201add2 dbms: clarification [#METR-2944]. 2015-09-22 01:33:20 +03:00
Alexey Milovidov
1799be41ec dbms: removed obsolete test [#METR-2944]. 2015-09-21 23:51:24 +03:00
Alexey Milovidov
4e28608077 dbms: fixed error [#METR-16779]. 2015-09-21 21:47:46 +03:00
Andrey Mironov
244eabb54b dbms: allow moving primary key columns to PREWHERE if the can't be used by PKCondition [#METR-18063] 2015-09-21 15:13:11 +03:00
Alexey Milovidov
726443131b dbms: addition to prev. revision [#METR-16779]. 2015-09-20 15:25:10 +03:00
Alexey Milovidov
4047e4ed5b dbms: tiny modification [#METR-2944]. 2015-09-20 14:56:14 +03:00
Alexey Milovidov
6571769d3b dbms: added setting 'select_sequential_consistency' [#METR-16779]. 2015-09-20 14:54:58 +03:00
Alexey Milovidov
3b5a3e7325 dbms: quorum insert: development [#METR-16779]. 2015-09-20 14:02:59 +03:00
Alexey Milovidov
dcf40ef7c8 dbms: addition [#METR-17573]. 2015-09-20 09:40:17 +03:00
Alexey Milovidov
a78ac9c6ee dbms: addition to prev. revision [#METR-18099]. 2015-09-20 09:35:28 +03:00
Alexey Milovidov
b14bbf3928 Merge 2015-09-20 09:31:19 +03:00
Alexey Milovidov
227b41b0eb dbms: set queue entry time when cloning replica or repairing missing or damaged parts [#METR-18085]. 2015-09-20 08:50:15 +03:00
Alexey Milovidov
615181b3a6 dbms: added last_queue_update column to system.replicas table; clarifications [#METR-17573]. 2015-09-20 08:21:43 +03:00
Alexey Milovidov
69b1789b83 dbms: added test [#METR-16184]. 2015-09-20 07:14:15 +03:00
Alexey Milovidov
311c9b2f39 dbms: added test [#METR-17986]. 2015-09-20 07:09:21 +03:00
Alexey Milovidov
27c1d4e807 dbms: added VerticalRaw format [#METR-17986]. 2015-09-20 07:04:52 +03:00
Alexey Milovidov
c89b063288 dbms: fixed deadlock on shutdown [#METR-18098]. 2015-09-20 07:03:53 +03:00
Alexey Milovidov
6ceb83dc7d dbms: added function formatReadableSize [#METR-16184]. 2015-09-20 05:03:12 +03:00
Alexey Milovidov
32b7fcb933 dbms: added override [#METR-2944]. 2015-09-20 04:55:29 +03:00
Alexey Milovidov
72a964d865 dbms: fixed test [#METR-17536]. 2015-09-19 12:44:02 +03:00
Alexey Milovidov
3ea789e23f dbms: fixed log message [#METR-2944]. 2015-09-19 11:19:25 +03:00
Alexey Milovidov
75ea48970c dbms: BackgroundProcessingPool: attempt to fix an error [#METR-18098]. 2015-09-19 10:55:01 +03:00
Alexey Milovidov
b068913aeb dbms: removed bogus messages from error log; improved diagnostics; extended system.replicas table [#METR-17573]. 2015-09-19 08:56:40 +03:00
Alexey Milovidov
5af56824f2 dbms: improved texts [#METR-17688]. 2015-09-19 00:35:35 +03:00
Alexey Arno
9958e569b7 dbms: Server: Compilation fix for some older versions of g++. [#METR-17668] 2015-09-18 18:53:48 +03:00
Alexey Arno
1cae6e8b54 Merge 2015-09-18 16:36:10 +03:00
Andrey Mironov
16be53f475 dbms: add support of non-const second arg to has, indexOf, equalCount [#METR-18062] 2015-09-18 15:40:42 +03:00
Andrey Mironov
38ae453855 Merge 2015-09-18 15:40:09 +03:00
Andrey Mironov
9b9e5bedf4 dbms: redesign stateless test 00229 2015-09-18 13:02:22 +03:00
Alexey Milovidov
a53f7473d3 dbms: removed misleading error messages about canceled merges [#METR-18087]. 2015-09-18 09:39:39 +03:00
Alexey Milovidov
5884a7b536 dbms: doing synchronous merges non-aggressively [#METR-18006]. 2015-09-18 03:48:48 +03:00
Alexey Milovidov
fa9553307e dbms: fixed error [#METR-17286]. 2015-09-18 03:46:36 +03:00
Alexey Milovidov
7a7a2ac6e0 dbms: attempt to fix an error (incomplete) [#METR-17286]. 2015-09-18 00:31:26 +03:00
Alexey Milovidov
10b86afd3c dbms: saving create time for log entries in ZK [#METR-18085]. 2015-09-18 00:30:43 +03:00
Alexey Milovidov
51b2951d62 dbms: fixed error [#METR-18011]. 2015-09-17 23:00:38 +03:00
Alexey Milovidov
43ee70e1fe dbms: fixed error [#METR-18011]. 2015-09-17 23:00:19 +03:00
Alexey Milovidov
662471de29 dbms: ParallelReplicas: fixed error [#METR-18011]. 2015-09-17 22:53:57 +03:00
Alexey Milovidov
b0b44b1565 dbms: removing old queue entries: continue development [#METR-18035]. 2015-09-17 00:12:59 +03:00
Alexey Milovidov
13112cc66e dbms: better [#METR-18035]. 2015-09-16 23:40:01 +03:00
Alexey Milovidov
cf7d220f10 dbms: fixed error [#METR-18035]. 2015-09-16 23:38:50 +03:00
Alexey Milovidov
7dfc436c83 dbms: fixed error with renaming unexpected parts [#METR-18009]. 2015-09-16 22:25:49 +03:00
Andrey Mironov
7b149be2c6 Merge 2015-09-16 20:49:08 +03:00
Andrey Mironov
fd60ee37d3 dbms: add 'zookeeper' substring to test 226 2015-09-16 18:48:39 +03:00
Andrey Mironov
c6ec4f9ff5 dbms:: add test for missing column in PREWHERE [#METR-18009] 2015-09-16 18:33:58 +03:00
Andrey Mironov
9716ef7b34 Merge 2015-09-16 18:27:30 +03:00
Andrey Mironov
5ffd4898e8 Merge 2015-09-16 17:33:58 +03:00
Andrey Mironov
b6449b00f0 dbms: fix read order with merge_tree_uniform_read_distribution to be consistent with old method [#METR-16457] [#METR-18009] 2015-09-16 16:14:45 +03:00
Andrey Mironov
b3db6a06fc dbms: fix for non-final select just in case [#METR-16457] 2015-09-16 15:15:25 +03:00
Andrey Mironov
55087bddc7 dbms: fix segfault when SELECT FINAL selects zero parts[#METR-16457] 2015-09-16 14:49:09 +03:00
Alexey Milovidov
fa0e61086f dbms: removed bad code [#METR-17988]. 2015-09-16 08:09:58 +03:00
Alexey Milovidov
200742d632 Merge 2015-09-16 07:18:52 +03:00
Alexey Milovidov
d51404633b dbms: fixed error [#METR-16457]. 2015-09-16 07:18:16 +03:00
Alexey Milovidov
94d6d70310 Revert "dbms: fix filter size mismatch with size of column [#METR-18009]"
This reverts commit a8da5e498cd9744189c9600d062e82a6fd334609.
2015-09-16 05:02:22 +03:00
Andrey Mironov
0922693bf0 dbms: fix filter size mismatch with size of column [#METR-18009] 2015-09-15 20:45:39 +03:00
Alexey Milovidov
d829d9fe10 dbms: clearing impossible queue entries: development [#METR-18035]. 2015-09-15 04:55:22 +03:00
Alexey Milovidov
23a11f19c7 dbms: clearing impossible entries from replication queue [#METR-18035]. 2015-09-15 04:20:40 +03:00
Alexey Milovidov
7f2a6d8ee0 Merge 2015-09-15 01:50:06 +03:00
Alexey Milovidov
0743a87ebd dbms: clearing impossible entries from replication queue [#METR-18035]. 2015-09-15 01:45:19 +03:00
Alexey Milovidov
9e8b28131e dbms: fixed error [#METR-17536]. 2015-09-15 00:09:33 +03:00
Andrey Mironov
2318e27485 Merge 2015-09-14 23:03:54 +03:00
Andrey Mironov
8022f0941e dbms: add refernce file for test 00228_quantiles_deterministic_merge_overflow 2015-09-14 13:06:08 +03:00
Pavel Kartavyy
44c810b228 ███████████: split ClickHouse query to several sub queries [#METR-17968] 2015-09-14 11:50:35 +03:00
Alexey Milovidov
6ffb49fbe4 dbms: fixed progress bar for subqueries in IN and JOIN [#METR-18025]. 2015-09-14 05:39:54 +03:00
Alexey Milovidov
8e23685201 dbms: allowed tuples with one element; allowed empty sets [#METR-18020]. 2015-09-11 23:58:44 +03:00
Alexey Milovidov
5b68045461 dbms: removed limit for at least two elements in tuple [#METR-18020]. 2015-09-11 23:27:01 +03:00
Andrey Mironov
739a3dae8b Merge 2015-09-11 18:11:41 +03:00
Andrey Mironov
9f32c9b9cf dbms:investigation [#METR-16938] 2015-09-11 18:11:41 +03:00
Andrey Mironov
be230b1859 dbms: ReservoirSamplerDeterministic make internal member function private 2015-09-11 11:27:00 +03:00
Alexey Milovidov
15a6ac31f4 dbms: quorum inserts: development [#METR-16779]. 2015-09-11 05:51:35 +03:00
Alexey Milovidov
d53f173478 dbms: quorum inserts: development [#METR-16779]. 2015-09-11 05:13:59 +03:00
Alexey Milovidov
f395a408ef dbms: fixed error [#METR-16779]. 2015-09-11 00:36:48 +03:00
Alexey Milovidov
3b6ef8b28c dbms: quorum inserts: development [#METR-16779]. 2015-09-11 00:32:33 +03:00
Alexey Milovidov
a26a43fcc0 dbms: quorum inserts: development [#METR-16779]. 2015-09-10 23:43:42 +03:00
Alexey Milovidov
5bb64243b7 dbms: fixed tiny error with query_log [#METR-18008]. 2015-09-10 22:23:15 +03:00
Andrey Mironov
484c354d93 dbms: add test for quantileDeterministic overflow [#METR-13932] 2015-09-10 19:29:13 +03:00
Andrey Mironov
cb78c88e34 dbms: add test for quantilesTiming order fix [#METR-14503] 2015-09-10 19:29:13 +03:00
Andrey Mironov
61988e6a37 dbms: fix quantileDeterministic (no hash was saved with samples) [#METR-13932] 2015-09-10 18:07:47 +03:00
Alexey Milovidov
540c411aa8 dbms: fixed error [#METR-17536]. 2015-09-10 04:58:37 +03:00
Alexey Milovidov
217ef544c2 dbms: fixed error [#METR-17536]. 2015-09-10 00:32:29 +03:00
Alexey Milovidov
b34d3366fd dbms: added test [#METR-17988]. 2015-09-09 22:33:24 +03:00
Alexey Milovidov
ec2151e646 dbms: removing deduplicated parts immediately [#METR-17988]. 2015-09-09 22:03:46 +03:00
Alexey Milovidov
f6cfc72000 dbms: addition to prev. revision [#METR-16779]. 2015-09-09 21:34:58 +03:00
Alexey Milovidov
53967b5c85 Merge 2015-09-09 21:16:09 +03:00
Alexey Milovidov
aaa70348af dbms: quorum inserts: development [#METR-16779]. 2015-09-09 21:15:36 +03:00
Andrey Mironov
5caf4e401f dbms: style corrections and comments [#METR-16457] 2015-09-09 20:46:56 +03:00
Alexey Milovidov
47f291d721 dbms: fixed error with MemoryTracker in synchronous loading of external dictionaries [#METR-17969]. 2015-09-09 03:54:17 +03:00
Alexey Milovidov
4e54056c66 dbms: allowed to specify duplicate columns in JOIN subquery [#METR-17664]. 2015-09-09 03:52:35 +03:00
Alexey Arno
64d47f35df dbms: Server: Fixed possible cyclic dependencies. [#METR-14099] 2015-09-09 01:13:43 +03:00
Alexey Milovidov
0ca77545b2 dbms: added setting 'max_concurrent_queries_for_user' [#METR-17965]. 2015-09-09 00:01:43 +03:00
Alexey Milovidov
a3588ad5ff dbms: updated test [#METR-17536]. 2015-09-08 23:20:39 +03:00
Alexey Milovidov
a476396e70 dbms: fixed error [#METR-17536]. 2015-09-08 23:19:30 +03:00
Alexey Milovidov
50690565c1 dbms: improvement [#METR-17536]. 2015-09-08 22:53:16 +03:00
Pavel Kartavyy
aee3f9a868 ███████████: add state descriptor to task [#METR-16142] 2015-09-08 17:24:25 +03:00
Alexey Arno
9656f0799b Merge 2015-09-08 13:27:34 +03:00
Andrey Mironov
0bcf25e518 dbms: naive implementation of non-const array() function for now[#METR-17948] 2015-09-08 12:38:45 +03:00
Andrey Mironov
43b0e8a46c dbms: working out array() non-const implementation [#METR-17948] 2015-09-08 12:38:44 +03:00
Andrey Mironov
aa68fd2aec dbms: add expression support for id, range_min and range_max [#METR-17888]
Fix type-checking of range_hashed dictionary with mysql as a source.
Parenthesise all expressions to avoid errors.
2015-09-08 12:38:44 +03:00
Alexey Arno
38fc81074f Merge 2015-09-08 12:16:15 +03:00
Alexey Arno
0f5b2097f0 dbms: Server: Updated functional test. [#METR-17276] 2015-09-08 12:15:32 +03:00
Alexey Milovidov
690237d800 dbms: fixed test [#METR-17536]. 2015-09-08 03:50:15 +03:00
Alexey Milovidov
fb04cf1a99 dbms: added comment [#METR-17536]. 2015-09-08 00:20:28 +03:00
Alexey Milovidov
9f3cab500d dbms: memory efficient distributed aggregation: development [#METR-17536]. 2015-09-07 23:08:02 +03:00
Alexey Arno
437ca51ce8 dbms: Server: Bug fixes in the serialization/deserialization code. [#METR-17276] 2015-09-07 22:03:14 +03:00
Alexey Milovidov
e5677bea4d dbms: added function randConstant for testing purposes [#METR-17536]. 2015-09-07 20:56:56 +03:00
Andrey Mironov
f8b21b5fd6 dbms: add tests for sequenceCount and sequenceMatch, fix infinite loop for sequenceCount of empty pattern, fix decltype deducing reference type [#METR-17427] 2015-09-07 17:50:02 +03:00
Alexey Milovidov
2311c69d53 dbms: development of memory efficient distributed aggregation method [#METR-17536]. 2015-09-07 10:40:14 +03:00
Alexey Milovidov
8d25390c48 dbms: fixed error [#METR-17758]. 2015-09-06 01:47:13 +03:00
Alexey Milovidov
87465416b0 dbms: pull method for GLOBAL subqueries: supported JOINs [#METR-17758]. 2015-09-05 04:53:16 +03:00
Alexey Milovidov
66b130a2e5 dbms: implemented method 'pull' for GLOBAL subqueries [#METR-17758]. 2015-09-05 04:22:09 +03:00
Alexey Milovidov
9f38f15294 dbms: pull scheme for GLOBAL subqueries: development [#METR-17758]. 2015-09-05 00:39:10 +03:00
Alexey Milovidov
e82e19ee75 dbms: pull scheme for GLOBAL subqueries: development: added ability to SELECT from temporary tables of another query [#METR-17758]. 2015-09-04 23:52:00 +03:00
Alexey Milovidov
193113dc63 Merge 2015-09-04 23:00:32 +03:00
Alexey Milovidov
767a3c8090 dbms: fixed error with WITH TOTALS in subquery with distributed table with one shard and LIMIT [#METR-17561]. 2015-09-04 22:40:55 +03:00
Alexey Milovidov
e923dd2ff6 dbms: added test [#METR-17550]. 2015-09-03 23:50:41 +03:00
Alexey Milovidov
7dc7144011 dbms: fixed error with column order in RIGHT and FULL JOINs [#METR-17550]. 2015-09-03 23:48:02 +03:00
Alexey Milovidov
bf6544693e dbms: tiny modifications [#METR-17588]. 2015-09-03 22:19:19 +03:00
Alexey Milovidov
69be9e7dd0 dbms: increased default limit on query size [#METRIKASUPP-5557]. 2015-09-03 21:48:41 +03:00
Alexey Arno
d18544c981 dbms: Server: Improved implementation. [#METR-17588] 2015-09-03 18:35:34 +03:00
Alexey Arno
1dc1cbc021 Merge 2015-09-03 17:21:55 +03:00
Andrey Mironov
65c309550d Merge 2015-09-03 16:36:18 +03:00
Andrey Mironov
40026a8e7b Merge 2015-09-03 16:30:50 +03:00
Alexey Arno
1491260e3b dbms: Server: Fixed behavior of LIKE. Now % correctly matches newlines. [#METR-17588] 2015-09-03 15:09:47 +03:00
Andrey Mironov
e8111d7e07 Merge 2015-09-03 15:07:46 +03:00
Andrey Mironov
11857853a4 Merge 2015-09-03 12:20:04 +03:00
Andrey Mironov
5ca53c8b10 Merge 2015-09-03 12:17:25 +03:00
Alexey Milovidov
0e26b64968 dbms: allowed columns with duplicate names in GLOBAL subqueries [#METR-17552]. 2015-09-02 23:35:38 +03:00
Alexey Milovidov
57c03c0dce dbms: whitespace [#METR-17552]. 2015-09-02 22:58:29 +03:00
Alexey Milovidov
df90e447fb dbms: increased limit for max_suspicious_broken_parts [#METR-17811]. 2015-09-02 22:39:19 +03:00
Alexey Milovidov
f46326c4e8 dbms: StorageBuffer: better [#METR-17889]. 2015-09-02 20:47:29 +03:00
Andrey Mironov
9cc9cb241f Merge 2015-09-02 20:11:47 +03:00
Andrey Mironov
6b642e8749 dbms: round subtask size up to multiple of max_block_size [#METR-16457] 2015-09-02 19:09:32 +03:00
Andrey Mironov
288f46936a Merge 2015-09-02 18:48:10 +03:00
Andrey Mironov
70ec50316e Merge 2015-09-02 18:32:17 +03:00
Alexey Arno
277fab46b9 Merge 2015-09-02 16:05:17 +03:00
Andrey Mironov
959d66cfa4 dbms: use actual settings [#METR-16457] 2015-09-02 14:15:16 +03:00
Pavel Kartavyy
7ef5c508d9 Revert "dbms::Allocator: support big alignments for ███████████ [#METR-17814]"
This reverts commit 8d5d4b6b9265e2b5a103a6d713df81d7fe232745.
2015-09-02 13:29:23 +03:00
Pavel Kartavyy
044b70ff8c dbms::Allocator: support big alignments for ███████████ [#METR-17814] 2015-09-02 13:29:23 +03:00
Alexey Milovidov
c5e0d759e5 dbms: fixed build [#METR-17276]. 2015-09-02 03:17:10 +03:00
Alexey Milovidov
dab47ec36d dbms: fixed error with StorageBuffer [#METR-17889]. 2015-09-02 00:48:38 +03:00
Andrey Mironov
ef356f9267 Merge 2015-09-01 19:09:12 +03:00
Andrey Mironov
1b394d9324 dbms: DB::Memory::resize alloc instead of realloc when m_capacity == 0 [#METR-16457] 2015-09-01 18:08:37 +03:00
Andrey Mironov
cbe8fb0b67 Merge 2015-09-01 17:15:07 +03:00
Andrey Mironov
b2fa52394b dbms: support final with new code [#METR-16457] 2015-09-01 15:24:38 +03:00
Andrey Mironov
bc5007fc36 Merge 2015-08-31 23:22:06 +03:00
Andrey Mironov
7b818fe243 dbms: somehow fix memory corruption [#METR-16457] 2015-08-31 22:14:45 +03:00
Andrey Mironov
77a0a22de6 dbms: existing_memory support for ReadBufferAIO.cpp 2015-08-31 19:49:09 +03:00
Andrey Mironov
84d24ae336 merge branch 'master' 2015-08-31 18:50:06 +03:00
Alexey Arno
e0e7ebfc0a dbms: Server: Coding style fix. [#METR-17276] 2015-08-31 18:32:01 +03:00
Andrey Mironov
6b5b1f2723 optimistic codepath for bitTest(All|Any) when all positions are constant [#METR-17427] 2015-08-31 17:03:31 +03:00
Alexey Arno
f93141355b Merge 2015-08-31 16:53:16 +03:00
Andrey Mironov
fbfaa83b1a Merge 2015-08-25 13:25:45 +03:00
Andrey Mironov
acb10923de add aggregate function sequenceCount [#METR-17427] 2015-08-21 18:58:31 +03:00
Andrey Mironov
d43a8cce1f fix linking of ███████████ 2015-08-21 12:16:52 +03:00
Andrey Mironov
914e74f796 dbms: fix quantilesTiming for levels specified in non-increasing order [#METR-14503] 2015-08-20 19:47:10 +03:00
Andrey Mironov
8b890f1c06 dbms: add functions bitTestAny, bitTestAll (non-vectorized) and tests [#METR-17245] 2015-08-20 16:58:09 +03:00
Alexey Milovidov
10a3d616f6 dbms: pull scheme for GLOBAL subqueries: development [#METR-17758]. 2015-08-20 00:15:27 +03:00
Alexey Milovidov
5374c2a927 dbms: removed random shuffling of data parts on SELECT [#METR-17757]. 2015-08-19 21:35:02 +03:00
Andrey Mironov
b4b33364e9 dbms: add function bitTest(val, pos), pos starts from 0 [#METR-17245] 2015-08-19 19:11:48 +03:00
Andrey Mironov
24e9805c9f dbms: remove dead code from FunctionsDictionaries.h 2015-08-19 19:11:48 +03:00
Andrey Mironov
9d406de8c9 dbms: add dictionary name to messages of most exceptions occurring during their creation [#METR-17487] 2015-08-19 16:19:37 +03:00
Andrey Mironov
4bdecf9c29 dbms: print detailed exception text in system.dictionaries.last_exception [#METR-17487] 2015-08-19 16:19:37 +03:00
Anton Tikhonov
330d0a99b0 Merge 2015-08-19 12:07:41 +03:00