Commit Graph

4408 Commits

Author SHA1 Message Date
Alexey Zatelepin
aace171ef6 forbid multidimensional array columns in MergeTree tables [#CLICKHOUSE-2803] 2017-02-10 09:05:33 +04:00
alexey-milovidov
0d5c0b8350 Proper behaviour of aggregate functions of nullable arguments (#473)
* Proper behaviour of aggregate functions of Nullable arguments [#CLICKHOUSE-2832].

* Proper behaviour of aggregate functions of Nullable arguments [#CLICKHOUSE-2832].
2017-02-10 09:03:42 +04:00
Alexey Milovidov
297d5653ae Merge remote-tracking branch 'origin/better-graphite-merge-tree' 2017-02-09 02:49:47 +03:00
Alexey Milovidov
40e71651e5 Allowed hash functions to be constant expressions [#CLICKHOUSE-2819]. 2017-02-08 23:33:50 +03:00
proller
b2b16b407f More include fixes (#462)
* More include fixes

* fix
2017-02-08 01:26:32 +04:00
Alexey Milovidov
f0ca756f52 GraphiteMergeTree: fixed handling of 'version' column [#CLICKHOUSE-2804]. 2017-02-08 00:20:28 +03:00
proller
083e9cc3aa Correct fix of building with external poco with disabled sending progress (#461)
* Correct fix of building with external poco with disabled sending progress

    Revert "Removed wrong code [#CLICKHOUSE-2]."

    This reverts commit 33f9917f53.

* fix
2017-02-07 23:45:55 +04:00
Vitaliy Lyudvichenko
38c900bf2f Add request changes for #436 PR. 2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
98af273cbc Fixed and refactored storage Merge. [#CLICKHOUSE-2758] 2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
df9ada58fb Add CAST(NULL AS Null) support. [#CLICKHOUSE-2787] 2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
67d8ce3568 Fast SIGINT handling and correct exception handling in Benchmark. [#CLICKHOUSE-2774] 2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
76916739e2 Fixed arrayReduce. Refactoring of ObjectPool. [#CLICKHOUSE-2787] 2017-02-07 23:43:31 +04:00
Alexey Milovidov
1302c3958a Comments [#CLICKHOUSE-3]. 2017-02-07 22:21:59 +03:00
Vitaliy Lyudvichenko
d6e9af834a Refined comments and status codes. [#CLICKHOUSE-2799] 2017-02-07 20:08:43 +04:00
Vitaliy Lyudvichenko
7e5a075ef3 Fixed long ProcessList lock in case of remote server timeout. [#CLICKHOUSE-2799] 2017-02-07 20:08:43 +04:00
proller
326e382387 Include fixes (#454)
* Fix some includes and missing definitions

* fix
2017-02-07 19:38:57 +04:00
Alexey Milovidov
3465997629 Merge branch 'master' of github.com:yandex/ClickHouse 2017-02-07 09:18:34 +03:00
Alexey Milovidov
099f8038d4 Fixed error [#CLICKHOUSE-2]. 2017-02-07 09:18:16 +03:00
Alexey Zatelepin
3479a5dddf fix incorrect usage of memcpySmall [#CLICKHOUSE-2808] 2017-02-07 09:33:07 +04:00
proller
27cde5f8c8 Fix some includes and missing definitions (#446) 2017-02-03 02:08:19 +04:00
proller
fa3467bad8 Add missing include 2017-02-02 19:30:27 +03:00
Alexey Milovidov
b8ac19999c Settings 'max_memory_usage_for_user' and 'max_memory_usage_for_all_queries': do not interfere between different queries [#CLICKHOUSE-2796]. 2017-02-01 06:53:10 +03:00
Alexey Milovidov
6efae7240e Merge branch 'master' of github.com:yandex/ClickHouse 2017-02-01 04:20:21 +03:00
Alexey Milovidov
efbfbdc7a3 Added setting 'send_progress_in_http_headers', disabled by default [#CLICKHOUSE-32]. 2017-02-01 04:19:32 +03:00
Vitaliy Lyudvichenko
1b7b2b8373 Avoid extra current limits checks in non-root streams. [#CLICKHOUSE-2745] 2017-01-31 23:28:37 +04:00
Vitaliy Lyudvichenko
6500a84dd0 Fix overestimation of AggregateFunction columns size during remote aggregation. [#CLICKHOUSE-2745] 2017-01-31 23:28:37 +04:00
Alexey Zatelepin
4ecfd44015 [#CLICKHOUSE-2115] PR changes:
* do not insert produced value into the cache if the cache has been reset.
* less logging
* cosmetic fixes
2017-01-31 22:45:10 +04:00
Alexey Zatelepin
b3264620c3 translate comments [#CLICKHOUSE-3] 2017-01-31 22:45:10 +04:00
Alexey Zatelepin
0fdcdd7bdb Introduce LRUCache::getOrSet(), use it to avoid mark cache stampede [#CLICKHOUSE-2115] 2017-01-31 22:45:10 +04:00
Alexey Milovidov
48db8d121d Moved code out of header [#CLICKHOUSE-2]. 2017-01-31 21:39:01 +03:00
Vladimir Chebotarev
995a773865 dbms: More customizable HyperLogLogCounter. [#METR-24057] 2017-01-30 22:17:00 +03:00
Alexey Milovidov
48ed301e56 Revert "Revert "KILL QUERY""
This reverts commit 720781a7bc.
2017-01-30 18:43:20 +03:00
alexey-milovidov
720781a7bc Revert "KILL QUERY" 2017-01-30 16:20:11 +04:00
Alexey Milovidov
d4d3d36ff0 Removed useless code; improved performance [#CLICKHOUSE-2785]. 2017-01-30 09:48:10 +03:00
Alexey Milovidov
ecc6d2a7b9 Moved a function to header for inlining [#CLICKHOUSE-2]. 2017-01-30 08:22:49 +03:00
Alexey Milovidov
3b0900e6cf Moved code to .cpp [#CLICKHOUSE-2027]. 2017-01-30 08:13:58 +03:00
Alexey Milovidov
3552de49ea Added comment; fixed uninitialized read [#CLICKHOUSE-20227]. 2017-01-30 01:53:29 +03:00
proller
8b4b1534e3 Cmake: Test on having sse (#405)
* Cmake: Test on having sse

* fix

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* fix

* fix

* fix

* fix

* fix
2017-01-27 23:55:33 +04:00
proller
bff12c5f93 Fix clang 4.0 2017-01-27 20:30:23 +03:00
alexey-milovidov
de9bc1dc75 Text formats allow to skip errors (#407)
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Added test [#CLICKHOUSE-2778].
2017-01-27 08:29:47 +04:00
Vitaliy Lyudvichenko
55390715b1 Add requested changes. [#CLICKHOUSE-2120] 2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
891437e531 Add docs. Add TEST version of KILL QUERY. [#CLICKHOUSE-2120] 2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
649fd1922b Add TOO_MUCH_SIMULTANEOUS_QUERIES exception. [#CLICKHOUSE-2120] 2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
6bd306ca8c Improve KILL QUERY. [#CLICKHOUSE-2120] 2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
b1bccb0bb2 Query KILL QUERY. [#CLICKHOUSE-2120] 2017-01-27 03:59:39 +04:00
Alexey Milovidov
1e2553afed Enabled vertical merge [#CLICKHOUSE-2069]. 2017-01-26 23:09:06 +03:00
proller
e715ddd72a SELECT * FROM system.build_options [#METR-24175] (#398)
* start [#METR-24175]

* missing

* wip

* add spaces

* wip

* wip

* fix

* fix

* missing

* style fix
2017-01-26 02:24:36 +04:00
proller
f04dffc05c External dictionary profiling [#CLICKHOUSE-2197] (#381)
* Profiling external cached dictonaries [#CLICKHOUSE-2197]

* style
2017-01-25 22:40:44 +04:00
proller
f890af1f8d Remove code and includes from Collator.h, fix including <unicode/...> in dbms (#395) 2017-01-25 22:19:15 +04:00
alexey-milovidov
8c0e81f8cb Remove stringstream performance on very short queries (#391)
* Improved performance on very short-response queries [#CLICKHOUSE-2].

* Improved performance on very short-response queries [#CLICKHOUSE-2].

* Improved performance on very short-response queries [#CLICKHOUSE-2].
2017-01-25 05:53:29 +04:00