Commit Graph

297 Commits

Author SHA1 Message Date
Michael Kolupaev
6df8500852 Fixed dropping tables. [#METR-10202] 2014-03-20 17:28:49 +04:00
Michael Kolupaev
c5da5fd5f0 Merge 2014-03-20 17:00:42 +04:00
Michael Kolupaev
67c563a4d3 Added locks to IStorage. Some race conditions are fixed, some are introduced, along with some possible deadlocks. [#METR-10202] 2014-03-19 14:45:13 +04:00
Michael Kolupaev
5b67cc94ce Small style change. [#METR-10202] 2014-03-13 23:14:25 +04:00
Michael Kolupaev
2a766770fc Merge 2014-03-13 23:07:17 +04:00
Michael Kolupaev
00d9c28571 Merge 2014-03-13 21:44:00 +04:00
Michael Kolupaev
36a86a4fc9 Merge 2014-03-13 16:48:07 +04:00
Michael Kolupaev
58ea3b108b Merge 2014-03-09 21:36:01 +04:00
Pavel Kartavyy
5bc75d93b5 dbms: ignore missing files [#METR-10242] 2014-03-05 23:39:34 +04:00
Pavel Kartavyy
774206e517 Revert "dbms: ignore missed columns in alter [#METR-10242]"
This reverts commit 9060ec63fb8d81741171213fa1689c7f202c7ea9.
2014-03-05 23:32:34 +04:00
Pavel Kartavyy
becc2e21c7 dbms: ignore missed columns in alter [#METR-10242] 2014-03-05 23:06:32 +04:00
Pavel Kartavyy
6f5c19d4b4 dbms: fixed deadlock in alter modify [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
0abe7f6435 dbms: added sync [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
2c1629a9d2 dbms: added exception for nested and array types [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
0b023ec06d dbms: added tab [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
108342491f dbms: added reset of cache in alter modify [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
9c269c7b81 dbms: removed useless [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
ada47dcc44 dbms: bugfixes in alter [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
68540416c6 dbms: added code to modify column type [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
50fc514bf8 Merge 2014-03-05 22:20:55 +04:00
Alexey Milovidov
11001c52b4 dbms: fixed error [#METR-10257]. 2014-03-04 04:17:20 +04:00
Alexey Milovidov
46cb5ea0a2 Merge 2014-03-02 00:37:04 +04:00
Alexey Milovidov
78e9b847e0 dbms: style [#METR-10255]. 2014-03-01 00:19:00 +04:00
Michael Kolupaev
89e91f3dc4 Merge 2014-02-28 14:32:07 +04:00
Alexey Milovidov
7fb97708f3 dbms: removing old_ parts before attempt to merge [#METR-10069]. 2014-02-14 19:38:13 +00:00
Alexey Milovidov
b5923961ad dbms: allowed all rows to be removed while merging parts [#METR-9909]. 2014-02-09 22:07:01 +00:00
Alexey Milovidov
eba56181d2 dbms: Added comment [#METR-2944]. 2014-01-09 13:39:06 +00:00
Alexey Milovidov
febe35c0bf dbms: OPTIMIZE query is merging aggressive [#METR-9516]. 2013-12-16 03:51:30 +00:00
Sergey Fedorov
6fb0caf597 Merge 2013-12-13 16:20:06 +00:00
Sergey Fedorov
9ba96ea811 merge tree: sharedptr buf fixed, correct calculating directory size in bytes, a few more changes [METR-9279] [METR-9444] 2013-12-13 14:23:04 +00:00
Sergey Fedorov
aa56701c8a merge tree: fixed incorrect usage of Singleton [METR-9279] [METR-9444] 2013-12-12 15:12:18 +00:00
Sergey Fedorov
4787aefff9 merge tree: update in CurrentlyMergingInfo. Now looking on available disk space before merge [METR-9279] [METR-9444] 2013-12-12 14:11:40 +00:00
Sergey Fedorov
ee1fff79f2 merge tree: fixed currently merging vulnerability, added singleton with total merging files size [METR-9279] [METR-9444] 2013-12-12 13:54:16 +00:00
Alexey Milovidov
df90b0bbce dbms: investigating error [#METR-9463]. 2013-12-11 20:44:06 +00:00
Alexey Milovidov
9690a3003b Merge 2013-12-09 00:29:24 +00:00
Sergey Fedorov
67745b8a7e Merge 2013-12-03 16:14:36 +00:00
Sergey Fedorov
544f935bcf Merge 2013-12-03 16:10:20 +00:00
Sergey Fedorov
10918b67cc Merge 2013-12-03 15:06:59 +00:00
Sergey Fedorov
2bc11e4271 Merge 2013-12-03 14:40:20 +00:00
Michael Kolupaev
4d85e7b1a4 Merge 2013-12-02 09:46:30 +00:00
Michael Kolupaev
596b2bc1d9 ClickHouse: Parsing and passing around PREWHERE condition. No actual filtering yet. [#METR-9091] 2013-11-28 13:16:46 +00:00
Pavel Kartavyy
06759d5f3e dbms: style fix 2013-11-13 09:47:12 +00:00
Alexey Milovidov
9fbaa3f823 dbms: removed now-useless log message [#METR-2944]. 2013-11-11 03:38:40 +00:00
Michael Kolupaev
99041b3173 Merge 2013-10-25 12:15:12 +00:00
Alexey Milovidov
ee6ca65243 Merge 2013-10-22 18:39:14 +00:00
Michael Kolupaev
d195799419 Merge 2013-10-03 12:46:17 +00:00
Alexey Milovidov
4ebdcee47e dbms: addition to prev. revision [#CONV-8806]. 2013-10-01 20:39:26 +00:00
Alexey Milovidov
c084250925 Merge 2013-09-30 19:54:25 +00:00
Alexey Milovidov
0629fb4fdd Merge 2013-09-30 01:29:19 +00:00
Pavel Kartavyy
1bf0490191 Merge 2013-09-23 12:01:19 +00:00
Pavel Kartavyy
37ed6f55d4 dbms: fixed error with missed .mrk file [#CONV-2944] 2013-09-19 15:20:31 +00:00
Alexey Milovidov
808cec6d53 Merge 2013-09-15 03:44:32 +00:00
Alexey Milovidov
fd4f4a9a86 dbms: fixed error [#CONV-2944]. 2013-09-14 05:14:22 +00:00
Alexey Milovidov
a47faab727 dbms: style [#CONV-2807]. 2013-09-13 23:52:10 +00:00
Alexey Milovidov
2be066285a dbms: lowered memory usage for merge operations [#CONV-8705]. 2013-09-13 23:28:40 +00:00
Alexey Milovidov
97b923fd7b dbms: uncompressed cache: better [#CONV-8661]. 2013-09-08 07:30:52 +00:00
Alexey Milovidov
efae271ae0 dbms: added uncompressed cache (experimental) [#CONV-8661]. 2013-09-08 05:53:10 +00:00
Pavel Kartavyy
18d1ee2eb2 Fixed incorrect working with nested tables in ALTER [#conv-8383] 2013-08-14 16:52:40 +00:00
Alexey Milovidov
be67c3e3d6 Removed useless namespace [#CONV-2807]. 2013-08-11 03:40:14 +00:00
Alexey Milovidov
c2fc882312 dbms: tiny improvements [#CONV-8383]. 2013-08-09 00:12:59 +00:00
Pavel Kartavyy
4c07a0bccb Merge 2013-08-08 09:50:15 +00:00
Pavel Kartavyy
a5c799d7a3 Merge 2013-08-07 13:07:42 +00:00
Vyacheslav Alipov
090aae8e7b propagated [de]serialization to storages and (in|out)put streams [#CONV-7967] 2013-07-12 13:35:05 +00:00
Alexey Milovidov
3fbd36fde9 dbms: improvement [#CONV-2944]. 2013-06-21 21:05:16 +00:00
Michael Kolupaev
e8d77fe8ec Merge 2013-06-18 09:43:35 +00:00
Michael Kolupaev
84050bc8bb Merge 2013-06-04 11:00:33 +00:00
Michael Kolupaev
f7aedd227d Merge 2013-06-03 13:17:17 +00:00
Michael Kolupaev
dd72f5b8b8 clickhouse: switched to ExpressionAnalyzer [#CONV-7444]. 2013-06-03 10:18:41 +00:00
Michael Kolupaev
503ca18634 clickhouse: removed heuristic for FINAL [#CONV-7363]. 2013-05-20 15:48:38 +00:00
Michael Kolupaev
5c386bb038 clickhouse: fixed sampling [#CONV-7363]. 2013-05-15 11:32:31 +00:00
Michael Kolupaev
e03e85184f clickhouse: fixed FINAL ans SAMPLE broken by some changes in Expression [#CONV-7363]. 2013-05-15 09:55:09 +00:00
Alexey Milovidov
01177e16fe Merge 2013-05-06 12:15:34 +00:00
Alexey Milovidov
d38fd54295 dbms: fixed cyclic references (leak) [#CONV-2944]. 2013-05-05 20:07:11 +00:00
Alexey Milovidov
2efd1bc6b0 dbms: removed few cyclic SharedPtr references [#CONV-2944]. 2013-05-05 18:02:05 +00:00
Michael Kolupaev
e3999c23af clickhouse: code indentation [#CONV-2807]. 2013-04-29 11:34:06 +00:00
Michael Kolupaev
ffdeac3136 clickhouse: fixed FINAL with one data part [#CONV-7363]. 2013-04-29 11:20:10 +00:00
Michael Kolupaev
a34f86cc7b clickhouse: FINAL only returning positive rows [#CONV-7363]. 2013-04-26 13:20:42 +00:00
Michael Kolupaev
cd1183267c clickhouse: added CollapsingFinalBlockInputStream [#CONV-7363]. 2013-04-25 15:46:14 +00:00
Michael Kolupaev
12e73e0692 clickhouse: fixed reading sign column with FINAL modifier [#CONV-7363]. 2013-04-25 11:37:20 +00:00
Michael Kolupaev
fb180683c1 clickhouse: faster SELECT ... FINAL [#CONV-7363]. 2013-04-24 12:17:29 +00:00
Michael Kolupaev
a263b0b265 clickhouse: fixed FINAL [#CONV-7363]. 2013-04-24 11:39:12 +00:00
Michael Kolupaev
5be6bd2408 Merge 2013-04-24 10:31:32 +00:00
Michael Kolupaev
77ae92d8ab Merge 2013-04-23 11:35:09 +00:00
Michael Kolupaev
2c135ca1e2 clickhouse: slightly improved comment [#CONV-7363]. 2013-04-23 11:12:36 +00:00
Michael Kolupaev
d97d22919e Merge 2013-04-23 11:08:41 +00:00
Alexey Milovidov
2bf90fb924 Renamed file [#CONV-6992]. 2013-04-08 19:47:25 +00:00
Michael Kolupaev
7393b0033b Merge 2013-02-25 10:23:31 +00:00
Michael Kolupaev
fa771f6573 clickhouse: slightly refactored storages [#CONV-6561]. 2013-02-21 09:11:18 +00:00
Michael Kolupaev
0184d23e1c Merge 2013-02-14 11:22:56 +00:00
Michael Kolupaev
e7c3e10814 clickhouse: slightly refactored storage creation [#CONV-6561]. 2013-02-06 11:26:35 +00:00
Alexey Milovidov
7cc2871e30 dbms: allowed to send custom settings with query; sending current settings to remote servers for distributed query processing [#CONV-2944]. 2013-02-01 19:02:04 +00:00
Michael Kolupaev
c4b52f7232 clickhouse: fixed dropping tables [#CONV-6561]. 2013-01-23 17:43:19 +00:00
Michael Kolupaev
9b3b82c750 clickhouse: fixed segfault when a table is dropped while in use [#CONV-6561]. 2013-01-23 17:38:03 +00:00
Michael Kolupaev
572211a44a Merge 2013-01-23 11:16:32 +00:00
Alexey Milovidov
5b341830e9 Merge 2013-01-14 18:22:07 +00:00
Michael Kolupaev
190179d7ba dbms: fixed typo in comment [#CONV-2944]. 2013-01-09 10:19:24 +00:00
Alexey Milovidov
f800b5b769 dbms: using special array for Row and instead of std::vector<AggregateFunctionPlainPtrs> (experimental) [#CONV-2944]. 2013-01-07 00:57:43 +00:00
Alexey Milovidov
7b3f533ecd Using own Field class instead of boost::variant (experimental) [#CONV-2944]. 2013-01-05 20:03:19 +00:00
Alexey Milovidov
b312f42808 dbms: reverted previous modification [#CONV-2944]. 2012-12-16 00:23:41 +00:00
Alexey Milovidov
62a8ecc749 dbms: probably improved performance of inserting, merging and sorting [#CONV-2944]. 2012-12-15 23:10:14 +00:00
Alexey Milovidov
4a06e09f79 dbms: tiny improvement [#CONV-2944]. 2012-12-15 02:11:37 +00:00
Alexey Milovidov
2c9ff38ab2 dbms: fixed error [#CONV-2944]. 2012-12-13 20:28:10 +00:00
Michael Kolupaev
c77e8e98ef clickhouse: improved integer sample size processing [#6201]. 2012-12-13 10:08:54 +00:00
Michael Kolupaev
60bf093973 clickhouse: added minor diagnostic output [#6201]. 2012-12-13 09:38:36 +00:00
Michael Kolupaev
93143369ce clickhouse: added support for non-UInt32 sampling columns [#6201]. 2012-12-13 09:32:08 +00:00
Michael Kolupaev
a5e5b3dd9f clickhouse: fixed SAMPLE by count [#6201]. 2012-12-12 16:39:32 +00:00
Michael Kolupaev
b9de3987f2 clickhouse: fixed [#6201]. 2012-12-12 16:26:18 +00:00
Michael Kolupaev
b5681acdb7 clickhouse: fixed [#6201]. 2012-12-12 16:11:27 +00:00
Michael Kolupaev
81883201ec clickhouse: fixed [#6201]. 2012-12-12 15:45:08 +00:00
Michael Kolupaev
3f2da2d2e3 clickhouse: fixed [#6201]. 2012-12-12 15:37:43 +00:00
Michael Kolupaev
2350e09c51 clickhouse: fixed compiler warnings [#6201]. 2012-12-12 14:38:39 +00:00
Michael Kolupaev
42073f42ec clickhouse: added support for SAMPLE clause of SELECT query (works only in merge tree storage) [#6201]. 2012-12-12 14:25:55 +00:00
Alexey Milovidov
de13137958 dbms: changed signature of IDataType::serializeBinary [#CONV-2944]. 2012-12-11 20:31:39 +00:00
Michael Kolupaev
7f27cbbcb7 Merge 2012-12-10 10:23:10 +00:00
Alexey Milovidov
60ae1a07b1 dbms: fixed warning [#CONV-2944]. 2012-12-06 17:36:51 +00:00
Michael Kolupaev
2b9f4ca2bf Merge 2012-12-06 13:07:29 +00:00
Michael Kolupaev
35184afdc2 Merge 2012-12-06 12:51:15 +00:00
Michael Kolupaev
655b7e0300 Merge 2012-12-06 12:24:08 +00:00
Michael Kolupaev
8600340828 Merge 2012-12-06 11:48:41 +00:00
Michael Kolupaev
8f512c546a Merge 2012-12-06 11:10:05 +00:00
Michael Kolupaev
5555027deb Merge 2012-12-06 09:45:09 +00:00
Michael Kolupaev
03c96075f9 Merge 2012-12-05 13:39:38 +00:00
Michael Kolupaev
5c9f35b2a3 Merge 2012-12-05 13:31:33 +00:00
Michael Kolupaev
dba35f0364 Merge 2012-12-05 12:44:55 +00:00
Michael Kolupaev
b6139c17bc Merge 2012-12-03 10:43:25 +00:00
Michael Kolupaev
01fa6de3bc Merge 2012-12-03 10:03:47 +00:00
Michael Kolupaev
02973d945b clickhouse: fixed compiler warning [#CONV-6108]. 2012-12-03 09:39:04 +00:00
Michael Kolupaev
2d8026c0b0 Merge 2012-12-03 08:52:58 +00:00
Michael Kolupaev
c54004b880 Merge 2012-11-30 08:33:36 +00:00
Alexey Milovidov
b167cc3711 dbms: tiny improvement [#CONV-2944]. 2012-11-30 05:40:28 +00:00
Alexey Milovidov
5aa8c9efc4 Merge 2012-11-30 02:01:02 +00:00
Alexey Milovidov
a09c023956 dbms: addition to prev. revision [#CONV-2944]. 2012-11-30 00:59:02 +00:00
Alexey Milovidov
a0972784b1 Merge 2012-11-30 00:52:45 +00:00
Michael Kolupaev
e49cd16868 Merge 2012-11-29 17:43:23 +00:00
Michael Kolupaev
9ad859149f Merge 2012-11-29 17:04:12 +00:00
Michael Kolupaev
e255b5e249 Merge 2012-11-29 16:39:29 +00:00
Michael Kolupaev
21ef4655ca Merge 2012-11-29 12:26:34 +00:00
Michael Kolupaev
c2ba1fc202 Merge 2012-11-29 12:24:08 +00:00
Michael Kolupaev
fa2066d350 Merge 2012-11-29 11:50:16 +00:00
Michael Kolupaev
906f1f0026 Merge 2012-11-29 11:48:27 +00:00
Michael Kolupaev
5306e4e1ff Merge 2012-11-29 11:32:29 +00:00
Michael Kolupaev
8073045c7e Merge 2012-11-29 11:29:11 +00:00
Michael Kolupaev
982686f51c Merge 2012-11-29 10:50:17 +00:00
Michael Kolupaev
f55d19f71a Merge 2012-11-29 08:41:20 +00:00
Michael Kolupaev
912cf7c4eb Merge 2012-11-28 17:17:17 +00:00
Michael Kolupaev
58a4dc8d2d Merge 2012-11-28 13:29:30 +00:00
Michael Kolupaev
ae9c8ffc9b Merge 2012-11-28 11:49:14 +00:00
Michael Kolupaev
e200c1c478 Merge 2012-11-28 08:52:15 +00:00
Michael Kolupaev
fba19e8eb6 clickhouse: fixed possible deadlock [#CONV-6108]. 2012-11-22 17:57:10 +00:00
Alexey Milovidov
2ae2cf32bb dbms: fixed error [#CONV-2944]. 2012-11-20 22:48:38 +00:00