Commit Graph

657 Commits

Author SHA1 Message Date
Alexey Milovidov
8d70fd4d51 MergingAggregatedMemoryEfficient: clarifications, probably fixed error with aggregation_memory_efficient_merge_threads > 1 [#METR-22237]. 2016-09-19 08:01:32 +03:00
Alexey Arno
b7ca838dc0 dbms: Server: cleanups [#METR-19266] 2016-09-11 13:06:34 +03:00
Alexey Arno
18930e5bb5 dbms: Better. [#METR-18510] 2016-09-01 11:19:19 +03:00
Alexey Arno
5dc3b28774 dbms: Fixed deadlock. [#METR-18510] 2016-08-31 19:42:04 +03:00
Alexey Arno
4c8d5b1630 dbms: fixed issue with columns having default values [#METR-19266] 2016-08-25 23:01:36 +03:00
Alexey Arno
27e095f095 dbms: Do not allow inserting NULLs into non-nullable columns [#METR-19266] 2016-08-25 17:04:26 +03:00
Alexey Arno
4b71823b49 dbms: better [#METR-19266] 2016-08-25 16:24:06 +03:00
Alexey Arno
ae2d8d9adb dbms: better [#METR-19266] 2016-08-25 16:23:24 +03:00
Alexey Arno
d4da820f6c dbms: Allow INSERT when source columns and target columns have compatible types up to nullability. [#METR-19266] 2016-08-25 15:38:47 +03:00
Alexey Milovidov
349d303558 Addition to prev. revision [#METR-22400]. 2016-08-17 23:17:16 +03:00
Alexey Milovidov
a50c733345 Make tests deterministic [#METR-22400]. 2016-08-17 23:03:22 +03:00
Alexey Milovidov
9531d6413b Statistics in JSON formats: development [#METR-22400]. 2016-08-17 07:53:14 +03:00
Alexey Milovidov
01b3f8e90e Statistics in JSON formats: development [#METR-22400]. 2016-08-17 07:38:19 +03:00
Alexey Milovidov
ee40dfb9cb Statistics in JSON formats: development [#METR-22400]. 2016-08-17 06:29:26 +03:00
Alexey Milovidov
db4950c868 Added address and query into (text) error log [#METR-22441]. 2016-08-16 23:33:00 +03:00
Alexey Milovidov
0cf32c8aed Renamed method [#METR-22400]. 2016-08-13 05:21:17 +03:00
Alexey Milovidov
19f861464a Moving code [#METR-2944]. 2016-08-13 04:57:35 +03:00
Alexey Arno
e2b6e10ec1 dbms: Various fixes + more comments [#METR-19266] 2016-08-10 22:12:29 +03:00
Alexey Arno
531ff3d5ac dbms: Merged with master [#METR-19266] 2016-08-05 18:44:19 +03:00
Alexey Milovidov
fb5981871a Avoid copying ColumnWithTypeAndName [#METR-22173]. 2016-08-05 02:35:07 +03:00
Alexey Milovidov
6c476974d4 Maybe better [#METR-22173]. 2016-08-04 07:51:41 +03:00
Alexey Milovidov
9a07830dbb Removed useless code (experimental) [#METR-2944]. 2016-08-02 04:46:05 +03:00
Alexey Milovidov
6f4fc79cde Better [#METR-2944]. 2016-07-31 06:53:16 +03:00
Alexey Arno
44aa30fedf dbms: better [#METR-19266] 2016-07-26 12:18:28 +03:00
Alexey Milovidov
e1411af2ed Fixed error with external sorting when constants are present [#METR-21787]. 2016-07-25 23:57:05 +03:00
Alexey Milovidov
e6e6953bf3 Miscellaneous modifications [#METR-2944]. 2016-07-10 05:33:50 +03:00
Alexey Milovidov
c2929666fd Fixed error [#METR-21877]. 2016-07-07 04:57:48 +03:00
Alexey Milovidov
77f178e046 Squashing transforms: development [#METR-21877]. 2016-07-07 00:50:16 +03:00
Alexey Milovidov
5f81c096f6 Squashing transforms: development [#METR-21877]. 2016-07-07 00:48:11 +03:00
Alexey Milovidov
1a420a14e9 Squashing small blocks on INSERT (when passing blocks via TCP interface or when doing INSERT SELECT) [#METR-21877]. 2016-07-02 00:02:13 +03:00
Alexey Milovidov
df538babc8 Text formats: detecting and skipping UTF-8 BOM when possible [#METR-21817]. 2016-06-23 22:39:20 +03:00
Alexey Milovidov
87f612345e Fixed error [#METR-21408]. 2016-05-31 04:04:34 +03:00
Alexey Milovidov
646d70a545 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 17:14:18 +03:00
Alexey Milovidov
3c1c9d46f7 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 15:22:22 +03:00
Alexey Milovidov
4c7eb03b63 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:35:44 +03:00
Alexey Milovidov
6863e72f3d Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:15:36 +03:00
Alexey Milovidov
f9b2cd5ab6 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 11:23:36 +03:00
Alexey Milovidov
a5397d0382 Fixed error [#METR-21408]. 2016-05-24 21:22:15 +03:00
Alexey Milovidov
77e520e993 Addition [#METR-21408]. 2016-05-21 00:37:30 +03:00
Alexey Milovidov
7adfb230ff Second attempt [#METR-21408]. 2016-05-20 23:43:07 +03:00
Alexey Milovidov
7f4d8d15cd Attempt to fix suboptimal performance when running query with ORDER BY and without GROUP BY to distributed table with very many remote servers [#METR-21408]. 2016-05-20 23:30:53 +03:00
Alexey Milovidov
aae7269dd0 Revert "Attempt to fix suboptimal performance when running query with ORDER BY and without GROUP BY to distributed table with very many remote servers [#METR-21408]."
This reverts commit bd47aaeefe38a1c55ed5a225cbda49db0f8ce1dc.
2016-05-20 23:27:04 +03:00
Alexey Milovidov
b7a05d0608 Attempt to fix suboptimal performance when running query with ORDER BY and without GROUP BY to distributed table with very many remote servers [#METR-21408]. 2016-05-20 23:01:34 +03:00
Alexey Milovidov
e344f3275b Merge 2016-04-24 22:46:37 +03:00
Alexey Milovidov
07f04d70d3 Merge 2016-04-24 12:44:47 +03:00
Alexey Milovidov
73fd006e12 Merge 2016-04-24 09:05:41 +03:00
Alexey Milovidov
2bb5a4749b Merge 2016-04-15 22:09:42 +03:00
Alexey Milovidov
3923c7abce Merge 2016-04-15 20:42:51 +03:00
Alexey Milovidov
1d2c603ecf Fixed errors [#METR-12588]. 2016-04-14 08:03:33 +03:00
Alexey Milovidov
b664f367d8 Improved Summing/Aggregating streams [#METR-12588]. 2016-04-14 00:15:36 +03:00
Alexey Milovidov
49cf0f148c Better [#METR-12588]. 2016-04-13 07:15:30 +03:00
Alexey Milovidov
edc1bb39c7 Merge 2016-04-13 06:56:22 +03:00
Alexey Arno
09985be3ba dbms: Added more comments. Made some code more understandable. [#METR-18510] 2016-03-28 16:00:00 +03:00
Alexey Arno
4ce2d94be7 dbms: Removed code that was not needed anymore since we have now a better way to check issues with connections. [#METR-18510] 2016-03-10 18:42:36 +03:00
Alexey Milovidov
0a48e6296e Fixing warnings on clang [#METR-2807]. 2016-03-07 07:35:06 +03:00
Alexey Arno
f5c520bde1 dbms: Improved locking. [#METR-18510] 2016-03-04 19:33:31 +03:00
Alexey Arno
6efc98d1f3 Merge 2016-03-01 20:47:53 +03:00
Alexey Milovidov
b5ac93cf0e Fixed segfault [#METR-20155]. 2016-02-25 05:37:31 +03:00
Alexey Milovidov
93c5ba2d4d Added support for unknown fields in TSKVRowInputStream [#METR-20081]. 2016-02-19 19:59:31 +03:00
Alexey Milovidov
799ccc739b Addition to prev. revision [#METR-20081]. 2016-02-18 14:45:32 +03:00
Alexey Milovidov
e8802db2c3 Added format JSONEachRow [#METR-20081]. 2016-02-18 14:44:50 +03:00
Alexey Milovidov
2f35f6a350 Added support for format TSKV for input [#METR-20081]. 2016-02-18 06:13:52 +03:00
Alexey Milovidov
8b3afeb60d Squashed commit of the following:
commit f968e7e7f0d84c89fd26dea1d541bd9f6041d7c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 06:11:29 2016 +0300

    Addition [#METR-2944].

commit 7524981fa7c4f22929dd5009444a0ae28500f620
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 06:08:43 2016 +0300

    Fixed error (incomplete) [#METR-2944].

commit 2f1e7bf9f46cd9ce958ade9041c00ce067940fd2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 05:37:43 2016 +0300

    Improving performance of row formats [#METR-2944].

commit 9848910f235863c9571ef1ebe0d87d4929ee283c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 00:37:12 2016 +0300

    Improving performance of text formats [#METR-2944].

commit 3aedc7fd784af962e64ffdd10ec23ac53827d8e2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 00:18:00 2016 +0300

    Improving performance of row formats [#METR-2944].

commit cb5932c2b0385604477e69c8262dc31a4bb4b23b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Mon Feb 15 00:53:27 2016 +0300

    Fixed error.

commit 42863fd4eddeef594e846c598b92877b6ff86fa6
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sun Feb 14 23:13:46 2016 +0300

    Improving performance of row formats [#METR-2944].

commit 71c6fb19a85a79297433ceb486fdb97e551d964f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sun Feb 14 16:58:56 2016 +0300

    Improving performance of row formats [#METR-2944].
2016-02-16 19:39:39 +03:00
Alexey Milovidov
79814b090d Implemented format XML [#METR-20026]. 2016-02-14 06:06:26 +03:00
Alexey Milovidov
8efb3e5ade Initial implementation of XML output format [#METR-20026]. 2016-02-14 05:37:42 +03:00
Alexey Milovidov
12363ed329 Added limited support for expressions in INSERT ... VALUES [#METR-20048]. 2016-02-13 09:37:19 +03:00
Pavel Kartavyy
eca42536d8 dbms: renamed Revision to ClickHouseRevision. Daemon to BaseDaemon 2016-02-09 20:06:50 +03:00
Alexey Milovidov
dadadf1b37 dbms: CSV format: additions [#METR-19957]. 2016-02-07 13:43:02 +03:00
Alexey Milovidov
43c73cf7ee dbms: added support for CSV format [#METR-19957]. 2016-02-07 11:42:21 +03:00
Alexey Milovidov
563e410b72 Moved threadpool library to contrib [#METR-17973]. 2016-02-05 08:07:39 +03:00
Alexey Milovidov
038a6278d5 dbms: fixed error with multiple INSERTs in StripeLog [#METR-19901]. 2016-02-02 23:33:03 +03:00
Alexey Milovidov
869a521aed dbms: fixing error [#METR-19767]. 2016-01-26 00:40:13 +03:00
Alexey Milovidov
e720a53cf2 dbms: return early on WHERE 0 [#METR-19758]. 2016-01-22 23:43:16 +03:00
Alexey Milovidov
0f3e163c4e dbms: CurrentMetrics: development [#METR-19596]. 2016-01-21 04:47:28 +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
ab1b725779 dbms: less dependencies [#METR-2944]. 2016-01-13 03:32:59 +03:00
Alexey Milovidov
f5597548b3 dbms: addition [#METR-2944]. 2016-01-12 05:39:12 +03:00
Alexey Milovidov
13c7d0983a dbms: cutting dependency [#METR-2944].. 2016-01-12 00:46:36 +03:00
Roman Peshkurov
0463b94020 Merge 2015-12-17 13:08:03 +03:00
Alexey Milovidov
d98e9405d9 dbms: removed wrong code [#METR-19278]. 2015-12-17 00:20:12 +03:00
Alexey Milovidov
d84625b4ab dbms: fixed build [#METR-19278]. 2015-12-16 23:21:52 +03:00
Roman Peshkurov
c7b5b4892f mobile-logs-api: added information about read bytes. [#MOBMET-2465] 2015-12-16 14:02:44 +03:00
Alexey Milovidov
418a0b5988 dbms: little better (but doesn't fix any error) [#METR-19278]. 2015-12-16 07:04:23 +03:00
Alexey Milovidov
ccec8e4adc dbms: external aggregation: better scaling [#METR-17000]. 2015-12-13 18:07:01 +03:00
Alexey Milovidov
03f091c01c dbms: fixed error [#METR-19316]. 2015-12-09 07:28:01 +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
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
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
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
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
eef5fcc466 dbms: addition to prev. revision [#METR-17000]. 2015-12-01 17:11:31 +03:00
Alexey Milovidov
02b16fce06 dbms: external aggregation: initial implementation [#METR-17000]. 2015-12-01 17:09:05 +03:00
Alexey Milovidov
83cf1f81ec dbms: Aggregator: preparation [#METR-17000]. 2015-11-30 19:57:05 +03:00