Commit Graph

476 Commits

Author SHA1 Message Date
Michael Kolupaev
015fb32382 clickhouse: parsing multiple infix AND and OR into a function call with more than two arguments; fixed handling of variadic and and or in virtual columns and PKCondition. [#METR-9599] 2014-02-13 11:05:51 +00:00
Sergey Fedorov
b75fe2f6eb dbms: query Id is String valued now, show process list also shows query_id, query_id is stored in processlist, now query could be replaced [METR-8818] 2014-02-12 17:31:02 +00:00
Sergey Fedorov
79feefb6a7 storages: index on virtual columns fully supported [METR-9172] 2014-02-11 18:38:21 +00:00
Sergey Fedorov
45dccb01b7 storages: index on virtual columns, huge optimization in queries like select smth where _host = .. [METR-9750] 2014-02-11 17:10:48 +00:00
Michael Kolupaev
5fa9d07b35 clickhouse: fixed tiny flaw in PKCondition that prevented prewhere_test.sh from finding the bug mentioned in task. [#METR-9835] 2014-02-10 12:44:51 +00:00
Michael Kolupaev
217b5cf013 clickhouse: better test for PKCondition. [#METR-9835] 2014-02-10 12:10:18 +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
Sergey Fedorov
b74904a4be storages: virtual column port in storag distributed now work properly [METR-9172] 2014-02-07 15:39:55 +00:00
Sergey Fedorov
325cc47ca5 table functions: implementation of function remote, updates in cluster and storageDistributed [METR-9750] 2014-02-07 15:11:57 +00:00
Alexey Milovidov
16fd573314 dbms: fixed error with virtual columns [#METR-9172]. 2014-02-04 15:44:15 +00:00
Sergey Fedorov
1e220376cd storages: few more comments on virtual columns, couple of code style changes [METR-9172] 2014-01-27 13:52:01 +00:00
Sergey Fedorov
f8b5613b82 storages: Virtual columns for storage distributed + few style fixes [METR-9172] 2014-01-22 14:24:05 +00:00
Sergey Fedorov
14620b3347 Merge 2014-01-22 12:50:19 +00:00
Alexey Milovidov
3ba9a9ca4b dbms: fixed error [#METR-9664]. 2014-01-20 16:41:24 +00:00
Sergey Fedorov
9cc974568e Merge 2014-01-17 15:19:20 +00:00
Sergey Fedorov
dba74f16f2 storages: fixed two warnings, which cause a compilation error [METR-9172] 2014-01-16 15:25:54 +00:00
Sergey Fedorov
da115c14f7 Merge 2014-01-16 14:52:13 +00:00
Michael Kolupaev
fd05f7ea53 clickhouse: fixed a leak of file descriptors and memory. [#METR-9664] 2014-01-15 16:12:48 +00:00
Sergey Fedorov
91609727a8 Merge 2014-01-10 13:24:50 +00:00
Alexey Milovidov
eba56181d2 dbms: Added comment [#METR-2944]. 2014-01-09 13:39:06 +00:00
Alexey Milovidov
9c4043de67 Removed 'tr1' [#METR-2807]. 2014-01-08 16:33:28 +00:00
Alexey Milovidov
fd414800d5 dbms: added ProfileEvents system [#METR-2944]. 2014-01-03 08:20:13 +00:00
Sergey Fedorov
1a5f04d3bf Merge 2013-12-26 13:55:19 +00:00
Pavel Kartavyy
a97a959b6c dbms: fixed error messages 2013-12-23 09:29:42 +00:00
Pavel Kartavyy
60f69f8be0 dbms: fixed error messages in alter 2013-12-23 09:29:27 +00:00
Alexey Milovidov
2765113a08 dbms: removed old code [#METR-2944]. 2013-12-23 03:10:55 +00:00
Pavel Kartavyy
a0acabc46b dbms: alter Distributed table. bugfix [#METR-9493] 2013-12-18 11:19:37 +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
Alexey Milovidov
bda42aec99 Fixed build [#METR-2807]. 2013-12-13 00:05:20 +00:00
Alexey Milovidov
0a40b9f24c dbms: fixed one of errors [#METR-9454]. 2013-12-12 22:55:47 +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
Sergey Fedorov
15989ee930 merge tree test: updates in logic, removed compilation warnings [METR-9279] 2013-12-12 11:39:52 +00:00
Alexey Milovidov
df90b0bbce dbms: investigating error [#METR-9463]. 2013-12-11 20:44:06 +00:00
Pavel Kartavyy
d930b49c75 dbms: can change load_balancing in runtime [#METR-9350] 2013-12-11 11:51:01 +00:00
Pavel Kartavyy
ec2e5ff860 dbms: create cluster when distributed tables are created[#METR-9350] 2013-12-10 17:06:57 +00:00
Alexey Milovidov
9690a3003b Merge 2013-12-09 00:29:24 +00:00
Pavel Kartavyy
278f5a9246 dbms: added Cluster class [#METR-9350] 2013-12-07 16:51:29 +00:00
Pavel Kartavyy
74309378d7 dbms: development [#METR-9268] 2013-12-05 17:39:33 +00:00
Pavel Kartavyy
c6aabe89e4 dbms: limited timeouts to be less than limits.max_execution_time [#METR-9268] 2013-12-05 17:24:05 +00:00
Michael Kolupaev
6135f27af0 ClickHouse: added a test for PREWHERE. [#METR-9091] 2013-12-04 10:17:43 +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
Sergey Fedorov
6a100c0117 Merge 2013-11-29 16:15:12 +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
26f58e99d0 Merge 2013-11-28 10:31:21 +00:00
Pavel Kartavyy
de71157b10 StorageDistributed: development [#METR-9244] 2013-11-28 10:31:17 +00:00
Sergey Fedorov
831d6cfb4a Merge 2013-11-27 16:45:01 +00:00
Sergey Fedorov
5c95506548 Merge 2013-11-27 16:41:48 +00:00
Sergey Fedorov
5539ea6c6b Merge 2013-11-27 14:57:23 +00:00
Sergey Fedorov
1de8ddb8df dbms: Pushing to Views fixed workflow with constant columns [#METR-9076] 2013-11-20 16:02:45 +00:00
Alexey Milovidov
e36408e473 dbms: better [#METR-9194]. 2013-11-18 17:17:45 +00:00
Alexey Milovidov
037b52e848 Fixed warning [#METR-2807]. 2013-11-16 16:44:43 +00:00
Sergey Fedorov
ac21314784 dbms: Couple of unimportant fixes (includes, code simplification) in View and Materialized View [#METR-9076] 2013-11-15 09:43:50 +00:00
Sergey Fedorov
13bd27c498 dbms: View and Materialized View fixes, logic updates, implementation [#METR-9076] 2013-11-13 14:39:48 +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
Sergey Fedorov
b6b40d4c4e dbms: View and Materialized View implementation [#METR-9076] 2013-11-08 17:43:03 +00:00
Michael Kolupaev
e38ee8343a dbms: fast seek in ReadBufferFromFile[Descriptor] and a speed test for it. [#METR-2807] 2013-11-08 12:27:44 +00:00
Alexey Milovidov
9437657b7b dbms: modified Limits, Quotas, Progress, ProcessList [#METR-8459], [#METR-8894]. 2013-11-03 05:32:42 +00:00
Sergey Fedorov
be738dc12b dbms: Erase extra includes in StorageView.cpp and extra variables in Parser [#METR-9076] 2013-10-30 14:04:27 +00:00
Sergey Fedorov
07bbedc07d dbms: added support for simple VIEW engine. [#METR-9076] 2013-10-30 13:52:02 +00:00
Michael Kolupaev
bcd3a116be ClickHouse: fixed FINAL behavior with deleted visits; added test for it. [#METR-9072] 2013-10-30 09:15:41 +00:00
Michael Kolupaev
732302c263 Merge 2013-10-30 08:50:58 +00:00
Alexey Milovidov
a38317e1f5 dbms: better exception messages [#METR-8224]. 2013-10-26 03:20:51 +00:00
Michael Kolupaev
99041b3173 Merge 2013-10-25 12:15:12 +00:00
Alexey Milovidov
b65bb6cbe2 dbms: StorageChunks: changed error to warning in log [#METR-2944]. 2013-10-22 19:11:33 +00:00
Alexey Milovidov
ac83b94b0b Merge 2013-10-22 19:11:03 +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
Michael Kolupaev
6745803ef7 Merge 2013-10-03 12:13:16 +00:00
Michael Kolupaev
43fc9b09d8 Merge 2013-10-02 15:33:18 +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
Alexey Milovidov
7dca2f21b9 Merge 2013-09-26 19:16:43 +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
8fc69c2a8e dbms: more fsync [#CONV-2944]. 2013-09-15 01:40:29 +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
Alexey Milovidov
d055d54380 dbms: added SHOW PROCESSLIST query and 'max_concurrent_queries' setting [#CONV-8665] [#CONV-8664]. 2013-09-03 20:21:28 +00:00
Alexey Milovidov
0b2ef14d19 dbms: added test [#CONV-2944]. 2013-08-25 03:44:11 +00:00
Alexey Milovidov
760a1fbca3 dbms: StorageMemory: fixed perf [#CONV-8572]. 2013-08-22 16:14:44 +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
f3f6268ee5 dbms: users: development [#CONV-8458]. 2013-08-10 09:04:45 +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
Alexey Milovidov
d0bc18a815 Merge 2013-07-28 01:15:52 +00:00
Vyacheslav Alipov
ac42eb45a4 SELECT and table reads/writes may be wokring now [NOT TESTED] [#CONV-7967] 2013-07-16 14:55:01 +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
858b2805eb dbms: probably better [#CONV-2944]. 2013-06-30 17:12:34 +00:00
Alexey Milovidov
3fbd36fde9 dbms: improvement [#CONV-2944]. 2013-06-21 21:05:16 +00:00
Alexey Milovidov
fe0dd1d0b2 dbms: improvement [#CONV-2944]. 2013-06-21 20:34:19 +00:00
Michael Kolupaev
e8d77fe8ec Merge 2013-06-18 09:43:35 +00:00
Alexey Milovidov
170d408ba3 dbms: improvement to prev. revision [#CONV-7889]. 2013-06-17 07:57:58 +00:00
Alexey Milovidov
e853c4b320 dbms: don't write .sql files for ChunkRef tables [#CONV-7889]. 2013-06-17 07:01:31 +00:00
Alexey Milovidov
8fad2d42e2 dbms: StorageLog: fixed error in one of prev. revision [#CONV-2944]. 2013-06-17 05:28:15 +00:00
Alexey Milovidov
b2f02c372a dbms: style fix [#CONV-2944]. 2013-06-15 08:48:30 +00:00
Alexey Milovidov
91a062a575 Merge 2013-06-15 08:38:30 +00:00
Alexey Milovidov
16e5dc1f70 dbms: removed TODO [#CONV-7885]. 2013-06-15 04:08:53 +00:00
Alexey Milovidov
b7f98d9f6a dbms: lowered memory consumption [#CONV-7885]. 2013-06-15 03:33:45 +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
8bc64303be clickhouse: addition to previous commit [#CONV-6705]. 2013-05-15 13:45:44 +00:00
Michael Kolupaev
c0b803d204 clickhouse: addition to previous commit [#CONV-6705]. 2013-05-15 13:33:19 +00:00
Michael Kolupaev
ea836bbdce clickhouse: addition to previous commit [#CONV-6705]. 2013-05-15 12:34:26 +00:00
Michael Kolupaev
471f6b3a66 Merge 2013-05-15 12:32:40 +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
Vyacheslav Alipov
755031efc6 performing sign rewrite from distributed table too [#CONV-6778] 2013-05-08 10:30:29 +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
Alexey Milovidov
ce4161b4e0 dbms: development [#CONV-2944]. 2013-05-04 04:05:15 +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
Vyacheslav Alipov
cff712858a Merge 2013-04-24 12:52:49 +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
21fa1370c7 clickhouse: rewound last change, it was slightly incorrect [#CONV-2807]. 2013-03-14 12:54:59 +00:00
Michael Kolupaev
ad0f1cfa3a Merge 2013-03-14 12:52:22 +00:00
Michael Kolupaev
b6404afed4 Merge 2013-03-14 12:38:15 +00:00
Michael Kolupaev
c4bbb1fe45 Merge 2013-03-14 12:11:23 +00:00
Michael Kolupaev
a163bfcd49 Merge 2013-03-14 11:43:43 +00:00
Michael Kolupaev
15f31802f6 clickhouse: fixed arrays in TinyLog [#CONV-2944]. 2013-03-07 17:44:32 +00:00
Michael Kolupaev
961e3c9c87 clickhouse: fixed arrays in TinyLog [#CONV-2944]. 2013-03-07 17:40:24 +00:00
Michael Kolupaev
061f99e117 clickhouse: removed unused code [#CONV-6705]. 2013-02-26 13:48:47 +00:00