Commit Graph

3951 Commits

Author SHA1 Message Date
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
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
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
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
e513e9808b dbms: porting to aarch64 [#METR-19609]. 2016-01-14 00:05:11 +03:00
Alexey Milovidov
c103a4ec47 dbms: porting to aarch64 [#METR-19609]. 2016-01-13 23:21:56 +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
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
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
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
Andrey Mironov
16912808a7 dbms: disallow direct comparison of Enums with Ints [#METR-19265] 2015-12-29 18:15:58 +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
Alexey Milovidov
5ffd2eeb76 dbms: added test [#METR-19278]. 2015-12-27 15:32:39 +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
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
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
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
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
Andrey Mironov
02ce1bede2 dbms: add support for comparing enums [#METR-19265] 2015-12-22 15:03:47 +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
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 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
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
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
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
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
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
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
f6973a32c4 dbms: added support for empty StripeLog tables [#METR-19298]. 2015-12-08 23:04:11 +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
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
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
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
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
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
Alexey Milovidov
83cf1f81ec dbms: Aggregator: preparation [#METR-17000]. 2015-11-30 19:57:05 +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
8c8210062a dbms: added support for hex escape sequences in strings [#METR-19072]. 2015-11-25 06:11:17 +03:00
Alexey Milovidov
26d19fe1bc dbms: fixed error with GLOBAL JOIN [#METR-19048]. 2015-11-24 00:34:36 +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
8a592860ef dbms: improved performance of INSERT SELECT (experimental) [#METR-19025]. 2015-11-21 19:26:48 +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
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
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
Alexey Milovidov
2d00e5d84f dbms: SAMPLE ... OFFSET development: using rational numbers [#METR-18847]. 2015-11-20 00:34:53 +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
Alexey Milovidov
f67c8e63a2 dbms: SAMPLE ... OFFSET development [#METR-18847]. 2015-11-19 06:40:15 +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
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
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
2870fbb655 dbms: moved file [#METR-18778]. 2015-11-15 12:06:53 +03:00
Alexey Milovidov
49580a9048 dbms: added aggregate function quantileExactWeighted and companions [#METR-18778]. 2015-11-15 11:31:08 +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
8732e7a3f1 dbms: improved performance of aggregate function groupArray [#METR-18778]. 2015-11-15 07:54:56 +03:00
Alexey Milovidov
4c87ec04b4 dbms: quantileExact: initial implementation [#METR-18778]. 2015-11-15 06:11:24 +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
c0ba6bedcb dbms:rename ComplexKeyDictionary to ComplexKeyHashedDictionary [#METR-17328] 2015-11-13 14:21:40 +03:00
Andrey Mironov
701bed3fae dbms: add ComplexKeyDictionary, no fetching of values yet [#METR-17328] 2015-11-12 19:29:07 +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
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
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
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
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
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
89848a098a dbms: setting Content-Type header in HTTP interface [#METR-18603]. 2015-10-31 00:19:54 +03:00
Alexey Milovidov
e7aabfe43c dbms: fixed error [#MTRSADMIN-1690]. 2015-10-30 05:29:53 +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
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
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
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
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 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
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 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
a552f7b723 dbms: added function arrayStringConcat [#METR-18022]. 2015-10-19 21:49:52 +03:00
Alexey Milovidov
203beb9621 dbms: caching DNS for table function 'remote' [#METR-18472]. 2015-10-16 19:10:10 +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
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
Alexey Arno
66c46b1a49 dbms: Server: Fixed inverted columns. [#METR-16213] 2015-10-15 15:16:04 +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
Pavel Kartavyy
3069d6fe8f Merge 2015-10-14 14:58:16 +03:00
Pavel Kartavyy
c469b726c1 Merge 2015-10-13 15:38:38 +03:00
Alexey Arno
5f17c9d55d Merge 2015-10-12 17:53:16 +03:00
Alexey Milovidov
bb283e6602 dbms: added support for different numeric types in function has [#METR-18382]. 2015-10-12 10:05:54 +03:00
Alexey Milovidov
d12532e7b1 dbms: fixed error [#METR-18382]. 2015-10-12 07:27:02 +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
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
a62fdf0e24 dbms: removing temporary columns early [#METR-18361]. 2015-10-08 06:41:11 +03:00
Alexey Milovidov
382d73270b dbms: Better exception message [#METR-18306]. 2015-10-06 23:03:10 +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
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
804216f678 dbms: added full support of GROUP BY arrays [#METR-13168]. 2015-10-04 09:10:48 +03:00
Alexey Milovidov
058e5e8de7 dbms: addition to prev. revision [#METR-13168]. 2015-10-04 06:41:00 +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
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
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 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
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
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 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
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
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
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
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
07a3ea8eb1 Merge 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
Alexey Arno
19bc3181f2 Merge 2015-09-24 15:40:36 +03:00
Alexey Milovidov
fb654a1255 Merge 2015-09-24 10:39:47 +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
Andrey Mironov
666a33e435 dbms: add try-catch around reloadFromFile in ExternalDictionaries.cpp [#METR-18128] 2015-09-22 18:15:19 +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
27c1d4e807 dbms: added VerticalRaw format [#METR-17986]. 2015-09-20 07:04:52 +03:00
Alexey Milovidov
6ceb83dc7d dbms: added function formatReadableSize [#METR-16184]. 2015-09-20 05:03:12 +03:00
Alexey Milovidov
3ea789e23f dbms: fixed log message [#METR-2944]. 2015-09-19 11:19:25 +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 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
Alexey Milovidov
a53f7473d3 dbms: removed misleading error messages about canceled merges [#METR-18087]. 2015-09-18 09:39:39 +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
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
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
Pavel Kartavyy
44c810b228 ███████████: split ClickHouse query to several sub queries [#METR-17968] 2015-09-14 11:50:35 +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
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
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
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
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
aaa70348af dbms: quorum inserts: development [#METR-16779]. 2015-09-09 21:15:36 +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
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
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 Milovidov
9f3cab500d dbms: memory efficient distributed aggregation: development [#METR-17536]. 2015-09-07 23:08:02 +03:00
Alexey Milovidov
e5677bea4d dbms: added function randConstant for testing purposes [#METR-17536]. 2015-09-07 20:56:56 +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
7dc7144011 dbms: fixed error with column order in RIGHT and FULL JOINs [#METR-17550]. 2015-09-03 23:48:02 +03:00
Andrey Mironov
40026a8e7b Merge 2015-09-03 16:30:50 +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
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
f46326c4e8 dbms: StorageBuffer: better [#METR-17889]. 2015-09-02 20:47:29 +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
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
b2fa52394b dbms: support final with new code [#METR-16457] 2015-09-01 15:24:38 +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
f93141355b Merge 2015-08-31 16:53:16 +03:00
Andrey Mironov
acb10923de add aggregate function sequenceCount [#METR-17427] 2015-08-21 18:58:31 +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
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
Alexey Milovidov
f1655cc62f Merge 2015-08-18 00:09:36 +03:00
Alexey Milovidov
3d2a766964 Revert "dbms: using huge pages everywhere (experimental) [#METR-2944]."
This reverts commit a127a866704f95ef31684ef042d0765f7202677a.
2015-08-16 18:11:06 +03:00
Alexey Milovidov
f68478b638 dbms: using huge pages everywhere (experimental) [#METR-2944]. 2015-08-16 17:44:02 +03:00
Alexey Milovidov
38fa9c8982 dbms: addition to prev. revision [#METR-17716]. 2015-08-16 11:21:19 +03:00
Alexey Milovidov
5011e4d581 dbms: added StripeLog engine [#METR-17716]. 2015-08-16 11:18:34 +03:00
Alexey Milovidov
5744b77040 dbms: addition to prev. revision [#METR-17716]. 2015-08-16 10:30:01 +03:00
Alexey Milovidov
469b409ba0 dbms: added storage StripeLog (incomplete) [#METR-17716]. 2015-08-16 10:01:41 +03:00
Alexey Milovidov
3fbb61cbad dbms: fixed error with multiple GLOBAL subqueries [#METR-17622]. 2015-08-15 00:07:17 +03:00
Alexey Milovidov
3688bca270 dbms: addition to prev. revision [#METR-17704]. 2015-08-14 05:47:07 +03:00
Alexey Milovidov
cf4a0e85ef dbms: lowered memory usage for INSERT [#METR-17704]. 2015-08-14 05:45:40 +03:00
Alexey Milovidov
5505474f2a dbms: attempt to lower memory reservation when reading String columns with NativeBlockInputStream [#METR-17704]. 2015-08-14 00:16:23 +03:00
Anton Tikhonov
daf2a78ca0 Merge 2015-08-12 18:18:36 +03:00