Commit Graph

1890 Commits

Author SHA1 Message Date
Alexey Milovidov
91dbb13653 dbms: added support for negative array indices [#METR-9723]. 2014-01-29 01:59:01 +00:00
Pavel Kartavyy
827694fa39 clickhouse-server: bugfix [#METR-9464] 2014-01-28 19:26:42 +00:00
Pavel Kartavyy
e805aa1af5 dbms: bugfix [#METR-9464] 2014-01-28 19:26:41 +00:00
Pavel Kartavyy
7d01327b0d dbms: added sample setting to OLAP compability layer [#METR-9464] 2014-01-28 19:26:40 +00:00
Pavel Kartavyy
92d5a9c302 dbms: added default_sample [#METR-9464] 2014-01-28 19:26:39 +00:00
Pavel Kartavyy
f17494744c dbms: add settings default sample [#METR-9464] 2014-01-28 19:26:37 +00:00
Alexey Milovidov
42ed5f89a6 dbms: fixed error with IN and limits [#METR-9748]. 2014-01-28 19:24:50 +00:00
Sergey Fedorov
a7edba5032 table functions: main interface implementation, function merge implementation, plug for remote function [METR-9750] 2014-01-28 16:45:10 +00:00
Sergey Fedorov
8beae0f470 functions: substitutions in replaceRegexp functions [METR-9582] 2014-01-28 13:02:37 +00:00
Sergey Fedorov
0e8477312f functions: replaceRegexpOne and replaceRegexpAll implementation [METR-9582] 2014-01-27 16:01:53 +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
6c2507870e functions: replaceOne replaceAll implementation, few code-style changes [METR-9750] 2014-01-27 13:49:06 +00:00
Sergey Fedorov
c12f36b900 functions: replace implementation [METR-9582] 2014-01-23 14:26:12 +00:00
Sergey Fedorov
2c98354df3 functions: removed couple of unused date time funstions [METR-9582] 2014-01-23 12:12:55 +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
Sergey Fedorov
1d874c5f95 functions: Relative Date-time functions + regionToContinent support [METR-9582] 2014-01-22 12:27:55 +00:00
Alexey Milovidov
3ba9a9ca4b dbms: fixed error [#METR-9664]. 2014-01-20 16:41:24 +00:00
Sergey Fedorov
cd8448d2c6 Removed unused file [METR-9172] 2014-01-17 15:43:15 +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
5d00bf81ea streams: adding const column, important for virtual columns [METR-9172] 2014-01-16 15:19:50 +00:00
Sergey Fedorov
4bd32c8c81 common: utils for virtual columns [METR-9172] 2014-01-16 15:15:28 +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
Michael Kolupaev
532945a535 dbms: refactored compressed read buffers. [#METR-9633] 2014-01-15 14:53:20 +00:00
Michael Kolupaev
589ed293c2 clickhouse: CachedCompressedReadBuffer is not wuite fixed yet; commenting it again. [#METR-9633] 2014-01-14 14:57:19 +00:00
Michael Kolupaev
69b90550cc dbms: fixed CachedCompressedReadBuffer::readBig. [#METR-9633] 2014-01-14 12:02:04 +00:00
Michael Kolupaev
936fc15640 clickhouse: better error message when an aggregate function is missing. [#METR-9590] 2014-01-13 11:29:24 +00:00
Alexey Milovidov
841e866c68 Addition to prev. revision [#METR-8766]. 2014-01-11 20:04:07 +00:00
Sergey Fedorov
91609727a8 Merge 2014-01-10 13:24:50 +00:00
Alexey Milovidov
395d741212 Removed duplicated code [#METR-2807]. 2014-01-09 19:11:49 +00:00
Alexey Milovidov
eba56181d2 dbms: Added comment [#METR-2944]. 2014-01-09 13:39:06 +00:00
Alexey Milovidov
a1de392d32 Addition to prev. revision [#METR-8766]. 2014-01-08 19:05:50 +00:00
Alexey Milovidov
9c4043de67 Removed 'tr1' [#METR-2807]. 2014-01-08 16:33:28 +00:00
Alexey Milovidov
16ed91c728 dbms: tiny modification [#METR-2944]. 2014-01-08 16:23:31 +00:00
Alexey Milovidov
22fda035cc Allowed to use std::vector instead of DB::Array for Arrays in ssqls [#METR-8766]. 2014-01-05 13:40:11 +00:00
Alexey Milovidov
cb91ab992d dbms: fixed error [#METR-2944]. 2014-01-04 11:43:16 +00:00
Alexey Milovidov
a57d64b7fa dbms: more instrumentation [#METR-2944]. 2014-01-04 04:53:07 +00:00
Alexey Milovidov
6820638c30 dbms: IO: added test [#METR-2944]. 2014-01-04 04:52:22 +00:00
Alexey Milovidov
b9d6fc48eb dbms: tiny modification [#METR-2944]. 2014-01-03 09:06:42 +00:00
Alexey Milovidov
fd414800d5 dbms: added ProfileEvents system [#METR-2944]. 2014-01-03 08:20:13 +00:00
Alexey Milovidov
af3d957de1 Addition to prev. revision [#METR-9578]. 2014-01-03 06:31:32 +00:00
Alexey Milovidov
5d7fb8ecce dbms: Fixed error with uninitialized data in FixedString columns [#METR-9621]. 2013-12-30 17:25:50 +00:00
Michael Kolupaev
1499c5df4a clickhouse: fixed ARRAY JOIN of constant array. [#METR-9373] 2013-12-30 13:13:53 +00:00
Michael Kolupaev
bdcc7d9e93 clickhouse: readable exception instead of NULL pointer for some higher order functions in some cases. [#METR-9254] 2013-12-30 13:08:47 +00:00
Alexey Milovidov
6e359ab5c5 Addition to prev. revision [#METR-2944]. 2013-12-27 18:01:53 +00:00
Alexey Milovidov
377d42c17e dbms: tiny improvement [#METR-2944]. 2013-12-27 17:43:36 +00:00
Michael Kolupaev
2b7863617d clickhouse: not allowing comparison between Date and DateTime. [#METR-2807] 2013-12-27 14:51:31 +00:00
Sergey Fedorov
d2fe6e0fa9 dbms: update in expression analyzer, now * is only for virtual columns 2013-12-27 14:11:11 +00:00
Michael Kolupaev
5ac8541e2b ClickHouse: changed readSuffix calling requirements to match what RemoteBlockInputStream expects; changed some streams to meet that requirements. It fixed segfault with DISTINCT with LIMIT from Distributed table. [#METR-9598] 2013-12-27 13:22:32 +00:00
Michael Kolupaev
aff4e40bc2 ClickHouse: disabled broken readBig in CachedCompressedReadBuffer. [#METR-9598] 2013-12-27 13:18:33 +00:00
Michael Kolupaev
e5835a412d clickhouse-client: small refactoring. [#METR-2807] 2013-12-27 11:11:21 +00:00
Sergey Fedorov
1a5f04d3bf Merge 2013-12-26 13:55:19 +00:00
Pavel Kartavyy
e78d87d9f3 dbms: added message [#METR-9462] 2013-12-26 09:42:32 +00:00
Michael Kolupaev
666ff5201f clickhouse: fixed DISTINCT with ORDER BY and LIMIT. [#METR-9598] 2013-12-25 13:12:43 +00:00
Sergey Fedorov
6bf937e897 [materialized view]: Couple of changes in format and metadata [METR-9076] 2013-12-24 17:01:50 +00:00
Pavel Kartavyy
4a3827cd96 dbms: development [#METR-9462] 2013-12-24 14:00:18 +00:00
Michael Kolupaev
9b68bd4212 clickhouse: arrayEnumerateUniq now accepts multiple parallel arrays. [#METR-8821] 2013-12-24 11:56:38 +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
097405ff6f dbms: fixed error in CachedCompressedReadBuffer::readBig [#METR-2944]. 2013-12-23 05:56:59 +00:00
Alexey Milovidov
4289f599db dbms: fixed error with CachedCompressedReadBuffer::readBig [#METR-9091]. 2013-12-23 04:16:59 +00:00
Alexey Milovidov
2765113a08 dbms: removed old code [#METR-2944]. 2013-12-23 03:10:55 +00:00
Alexey Milovidov
e9d69e51a8 Merge 2013-12-23 03:10:12 +00:00
Alexey Milovidov
f382c50c4e dbms: fixed error in prev. revision [#METR-9091]. 2013-12-22 22:36:12 +00:00
Alexey Milovidov
3d3fef11eb dbms: fixed error in prev. revision [#METR-9091]. 2013-12-22 21:36:54 +00:00
Alexey Milovidov
947a7930a8 dbms: added missing readBig function [#METR-9091]. 2013-12-22 17:28:47 +00:00
Alexey Milovidov
7ed3228660 dbms: removed one virtual function call in aggregation inner loop [#METR-2944]. 2013-12-22 08:06:30 +00:00
Sergey Fedorov
32e0d8397e [dmbs and libs] Function toFirstDayOfQuarter in DateLUT and FunctonsDateTime [METR-9400] 2013-12-20 14:12:20 +00:00
Michael Kolupaev
c1e77fdc6c clickhouse-server: no timeout for insert query (previously you had to send at least one block each 5 minutes during an insert). [#METR-9093] 2013-12-20 10:07:10 +00:00
Alexey Milovidov
f1af3dadff dbms: tiny fix [#METR-9508]. 2013-12-19 19:01:08 +00:00
Alexey Milovidov
e0179cd968 dbms: fixed DISTINCT in subqueries in FROM [#METR-9549]. 2013-12-18 20:16:04 +00:00
Pavel Kartavyy
a0acabc46b dbms: alter Distributed table. bugfix [#METR-9493] 2013-12-18 11:19:37 +00:00
Pavel Kartavyy
788e8596de dbms: improved error message 2013-12-18 11:19:36 +00:00
Alexey Milovidov
ce21a286af dbms: probably fixed error [#METR-9532]. 2013-12-17 19:45:18 +00:00
Alexey Milovidov
cad8abce91 Removed useless whitespace [#METR-2807]. 2013-12-17 19:40:23 +00:00
Sergey Fedorov
d930aa4f0c dbms: Rename all binary operations from bitwise* to bit* (e.g. bitwiseAnd -> bitAnd) [METR-9508] 2013-12-17 16:06:52 +00:00
Sergey Fedorov
1fb34154c6 dbms, ParserCreateQuery: fixed using uninitialized variable [METR-9531] 2013-12-17 14:07:59 +00:00
Sergey Fedorov
be3f3beb3d dbms: Two new binary operations: FunctionBitwiseShiftLeft and FunctionBitwiseShiftRight, and one new function - FunctionHostName [METR-9508] 2013-12-17 13:49:21 +00:00
Alexey Milovidov
dac017c03d dbms: fixed error with FINAL [#METR-9514]. 2013-12-16 07:12:30 +00:00
Alexey Milovidov
6d49edfecb dbms: addition to prev. revision [#METR-9515]. 2013-12-16 05:32:08 +00:00
Alexey Milovidov
92c74bb0ff dbms: probably fixed error [#METR-9515]. 2013-12-16 05:27:38 +00:00
Alexey Milovidov
cb03078f47 dbms: probably fixed error [#METR-9515]. 2013-12-16 05:12:55 +00:00
Alexey Milovidov
42fabf4936 dbms: probably fixed error with sorting arrays [#METR-9515]. 2013-12-16 04:30:21 +00:00
Alexey Milovidov
febe35c0bf dbms: OPTIMIZE query is merging aggressive [#METR-9516]. 2013-12-16 03:51:30 +00:00
Alexey Milovidov
8d53dcde32 dbms: improved performance for small queries [#METR-8582]. 2013-12-16 02:32:00 +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
Michael Kolupaev
f5b30483e1 ███████████: reading metrage data; not using it yet, and consuming lots of memory. [#METR-9093] 2013-12-13 12:53:17 +00:00
Alexey Milovidov
27e0b89026 dbms: fixed error [#METR-9454]. 2013-12-13 01:51:57 +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
c9fe09e8ab dbms: probably fixed error [#METR-9463]. 2013-12-12 00:50:54 +00:00
Alexey Milovidov
df90b0bbce dbms: investigating error [#METR-9463]. 2013-12-11 20:44:06 +00:00
Michael Kolupaev
c2888905e3 dbms: Added a small comment to CachedCompressedReadBuffer. [#METR-2807] 2013-12-11 13:36:07 +00:00