Commit Graph

7335 Commits

Author SHA1 Message Date
proller
9bbe8fe5c4 Dynamic library mode (#471)
* Cmake: UNBUNDLED option

* Dynamic library mode
2017-02-08 22:53:00 +04:00
Pavel Kartavyy
b28f41250c RegionNames: add ability to set directory without config 2017-02-08 20:39:20 +03:00
proller
131283de5b Fix external poco and empty http responce 2017-02-08 20:54:32 +04:00
Pavel Kartavyy
730f23793e add missed header 2017-02-08 18:46:20 +03:00
proller
045fd6f55d fix build without readline 2017-02-08 01:40:08 +03:00
proller
f87ae6808f cmake: USE_INTERNAL_ZLIB_LIBRARY (#463)
* Correct fix of building with external poco with disabled sending progress

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

    This reverts commit 33f9917f53.

* fix

* fix

* cmake: USE_INTERNAL_ZLIB_LIBRARY
2017-02-08 01:28:13 +04: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
d6385af19b Add test for _table index in storage Merge. [#CLICKHOUSE-2758] 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
e92862a7d7 Use intuitive side-by-side diff if test failed. [#CLICKHOUSE-2] 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
11b3aad985 Interpret subquery with empty result as Null literal. [#CLICKHOUSE-2760] 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
240a6c242f Fixed clickhouse-local options. [#CLICKHOUSE-2779] 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
artpaul
4c57c9731e #437 encode name of default_database so it's can be passed through connection 2017-02-07 20:11:02 +04: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
Pavel Kartavyy
fb5ff00c4a RegionsHierarchies add missed ctor for tests 2017-02-07 15:25:18 +03:00
Pavel Kartavyy
1ec7e349ac add missed header 2017-02-07 13:41:44 +03:00
Alexey Milovidov
33f9917f53 Removed wrong code [#CLICKHOUSE-2]. 2017-02-07 09:24:23 +03: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
Alexey Zatelepin
7522cecd67 differentiate setrlimit error messages 2017-02-07 09:28:53 +04:00
Alexey Milovidov
26646001e3 Style [#CLICKHOUSE-2]. 2017-02-07 08:21:31 +03:00
artpaul
d85edff892 implement conversion from error codes to different http statuses 2017-02-07 09:20:20 +04:00
Pavel Kartavyy
224ba16dcb use project source and binary dirs instead of global dirs 2017-02-06 18:15:19 +03:00
artpaul
245b715723 #455 also update tmp_files_info_path when files_info_path is changed 2017-02-06 17:09:54 +05:00
proller
edd9da119f External poco fix
y
2017-02-03 03:08:42 +04:00
proller
90ab2b57c8 Fix external poco 2017-02-03 01:43:09 +03:00
proller
27cde5f8c8 Fix some includes and missing definitions (#446) 2017-02-03 02:08:19 +04:00
proller
85533eab57 Fix compiling with external poco (#445)
* Freebsd: libcctz build fix

* Fix compiling with external poco
2017-02-02 23:08:12 +04:00
proller
7b397b89cd Add missing counters [#CLICKHOUSE-2197] (#439)
* Add missing counters [#CLICKHOUSE-2197]

* ../../tests/external_dictionaries/generate_and_test.py : allow not break tests when one type fail
2017-02-02 22:11:00 +04:00
proller
4f83c8c291 Server: print info about listen address and port on start 2017-02-02 22:09:26 +04:00
proller
fa3467bad8 Add missing include 2017-02-02 19:30:27 +03:00
proller
b8f1ea4805 Fix reloading http dictionaries [#CLICKHOUSE-2176] (#433)
* Fixing dictionaries [#CLICKHOUSE-2176]
2017-02-01 20:53:18 +03:00
Alexey Milovidov
8d4a08cf9f Updated test [#CLICKHOUSE-32]. 2017-02-01 07:15:20 +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
172b385247 Added missing modification [#CLICKHOUSE-2184]. 2017-02-01 06:10:12 +03:00
Alexey Milovidov
9d04189793 Updated test [#CLICKHOUSE-32]. 2017-02-01 05:40:27 +03:00
Alexey Milovidov
1c8841b04e Fixed error [#CLICKHOUSE-2184]. 2017-02-01 05:35:06 +03:00
Alexey Milovidov
8cabe639f5 Fixed errors in exception message [#CLICKHOUSE-2184]. 2017-02-01 05:31:35 +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
proller
c51801d776 Change default user and paths [#CLICKHOUSE-2715] (#382)
* Changing default user to clickhouse and path to /var/lib/clickhouse [#CLICKHOUSE-2715]

* wip

* Auto version update to [54141]

* Get version from saved in cmake
2017-01-31 23:53:05 +04:00
proller
3135ff17b6 Fix compiling utils without readline (#429)
* Fix compiling utils without readline

* fix
2017-01-31 23:34:30 +04:00
Vitaliy Lyudvichenko
abf5066618 Fix spelling errors. [#CLICKHOUSE-3] 2017-01-31 23:28:37 +04: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
proller
79a7e893c7 system.build_options: move generated data to cpp, dont regenerate every compile (#423)
* system.build_options: move generated data to cpp, dont regenerate every compile

* Fix linking iconv under macos and freebsd
Partially Revert "Removed usage of glib [#CLICKHOUSE-2]."
This reverts commit e4ff740ef1.

* fix
2017-01-31 22:03:56 +04:00
alexey-milovidov
bce4ea38e5 Merge pull request #428 from yandex/ch-2044
check keys inside attribute section of dictionary's config
2017-01-31 19:54:31 +04:00
artpaul
5c1d2af4d8 check keys inside attribute section of dictionary's config [#CLICKHOUSE-2044] 2017-01-31 18:27:02 +05:00
proller
9cea606881 Fix linking iconv under macos and freebsd
Partially Revert "Removed usage of glib [#CLICKHOUSE-2]."
This reverts commit e4ff740ef1.
2017-01-31 04:15:59 +03:00
alexey-milovidov
9e94066e98 Merge pull request #418 from ludv1x/query-kill
Fix SHOW PROCESSLIST segfault. [#CLICKHOUSE-2120]
2017-01-31 00:50:33 +04: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
Vitaliy Lyudvichenko
9f8a967e6c Fix SHOW PROCESSLIST segfault. [#CLICKHOUSE-2120] 2017-01-30 16:24:42 +03:00
alexey-milovidov
720781a7bc Revert "KILL QUERY" 2017-01-30 16:20:11 +04:00
Alexey Milovidov
4ae2bed9b6 Fixed wrong test [#CLICKHOUSE-2785]. 2017-01-30 11:28:42 +03: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
Vitaliy Lyudvichenko
7f73f91705 Made test for KILL QUERY more deterministic. [#CLICKHOUSE-2120] [resloved #283] 2017-01-28 02:30:19 +03:00
Alexey Milovidov
ff54b9466d Fixed error [#CLICKHOUSE-2191]. 2017-01-28 00:46:15 +03:00
proller
46037bb670 Allow link with jemalloc (#404)
* Allow link with jemalloc

* wip

* fix

* fix
2017-01-28 00:00:02 +04: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
proller
9462f568fa Fix external http test: move server start from run.sh to generate_and_test.py (#409)
* Fix external http test: move server start from run.sh to generate_and_test.py

* fix
2017-01-27 17:40: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
a106520a0d Added requested change [#CLICKHOUSE-2191]. 2017-01-27 00:51:30 +03:00
Artemkin Pavel
06d1509da1 check that sharding_key exists in the table and has numeric type (#392)
* check that sharding_key exists in the table and has numeric type [#CLICKHOUSE-2191]

* style

* infer type of sharding expression [#CLICKHOUSE-2191]
2017-01-27 01:47:33 +04:00
proller
20d6c20a72 Dont throw if setrlimit failed (just print warning), Little build_options fix (#403)
* Little improve system.build_options

* Dont throw if setrlimit failed (just print warning)
Little build_options fix
2017-01-27 01:46:17 +04:00
Alexey Milovidov
43971faf32 Merge branch 'localhost' of https://github.com/proller/ClickHouse into proller-localhost 2017-01-27 00:42:56 +03:00
alexey-milovidov
0e38fdcbf3 Remove stringstream performance on very short queries (#406)
* 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].

* Renamed variable in test [#CLICKHOUSE-2].

* Benchmark: whitespace [#CLICKHOUSE-2].

* Manual version update [#CLICKHOUSE-2].
2017-01-27 01:30:11 +04:00
Alexey Milovidov
1e2553afed Enabled vertical merge [#CLICKHOUSE-2069]. 2017-01-26 23:09:06 +03:00
proller
d319d97bb6 Merge remote-tracking branch 'upstream/master' into localhost 2017-01-26 17:36:38 +03:00
proller
51e17fc6c5 Tests: Allow change http port in http_server.py 2017-01-26 17:29:13 +03:00
proller
35dce017a2 Merge remote-tracking branch 'upstream/master' into localhost 2017-01-26 15:07:29 +03:00
proller
987e8833b5 test http server: listen on ipv6 2017-01-26 03:22:40 +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
70e641f58a Fix readline finding on mac; use config for readline vars (#397)
* Fix readline finding on mac; use config for readline vars

* fix
2017-01-26 00:14:41 +04:00
proller
f8d1573946 Various arm64 compile fixes on utils (#394) 2017-01-25 23:17:13 +04:00
Alex Zatelepin
543b6ee757 ensure that all streams point to to_mark after reading even if max_rows_to_read is zero [#CLICKHOUSE-2775] (#396) 2017-01-25 23:16:31 +04:00
proller
4f00b3833d Merge remote-tracking branch 'upstream/master' into localhost 2017-01-25 22:08:56 +03: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
3fc4998a01 Merge remote-tracking branch 'upstream/master' into localhost 2017-01-25 21:27:23 +03:00
proller
59a4a94b9e fix 2017-01-25 21:27:16 +03:00
proller
f890af1f8d Remove code and includes from Collator.h, fix including <unicode/...> in dbms (#395) 2017-01-25 22:19:15 +04:00
proller
7982d84904 wip 2017-01-25 18:14:39 +03:00
proller
3219d20df8 Group all tests with 127.0.0.{1,2} into 'shard' tag 2017-01-25 17:00:08 +03:00
proller
b7cedc1ad2 wip 2017-01-25 16:21:35 +03:00
proller
9c3133deac wip 2017-01-25 16:17:13 +03:00
proller
1b7054e15b Merge remote-tracking branch 'upstream/master' into localhost 2017-01-25 15:38:46 +03: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
Alexey Zatelepin
281744667d use common cur_mark_idx for all streams [#CLICKHOUSE-2116] 2017-01-25 00:48:58 +04:00
Alexey Zatelepin
dc1f0d96bd add clarifying comment [#CLICKHOUSE-2116] 2017-01-25 00:48:58 +04:00
Alexey Zatelepin
f7ca39da77 translate comments [#CLICKHOUSE-3] 2017-01-25 00:48:58 +04:00
Alexey Zatelepin
32e5713822 do not load marks when reading the whole part [#CLICKHOUSE-2116] 2017-01-25 00:48:58 +04:00
Vitaliy Lyudvichenko
c9e52a5cf9 Add requested PR changes. [#CLICKHOUSE-2145] [issue #325] 2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
20a5ae4bc4 Add protection from accidental DROP queries. [#CLICKHOUSE-2184] 2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
74cd2c2334 Add more docs for OPTIMIZE. [#CLICKHOUSE-3] 2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
ef6a4e08db Resolved #325. Add 401 HTTP status code if auth failed. [#CLICKHOUSE-3] 2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
1c38a89785 Add source_part_names column into system.merges. [#CLICKHOUSE-2145] 2017-01-24 22:26:29 +04:00
Alexey Milovidov
0c31684721 Addition to prev. revision [#CLICKHOUSE-32]. 2017-01-24 00:33:46 +03:00
Alexey Milovidov
f51f52e0df Added test [#CLICKHOUSE-32]. 2017-01-24 00:29:05 +03:00
Alexey Milovidov
8282998f5c Fixed error with progress in HTTP headers [#CLICKHOUSE-32]. 2017-01-24 00:21:38 +03:00
alexey-milovidov
17a4ead1ef Setting fsync metadata (#380)
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].

* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].

* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].

* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
2017-01-23 22:05:07 +04:00
Alexey Milovidov
791198e619 Comments [#CLICKHOUSE-3]. 2017-01-23 20:10:31 +03:00
Alexey Milovidov
38d25022c6 Comments [#CLICKHOUSE-3]. 2017-01-23 19:00:26 +03:00
Alexey Milovidov
e527980799 Comments [#CLICKHOUSE-3]. 2017-01-23 18:55:56 +03:00
Alexey Milovidov
18782e1473 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-23 11:22:46 +03:00
Alexey Milovidov
6894df0304 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 20:26:55 +03:00
Alexey Milovidov
c9b761f7b6 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 20:09:00 +03:00
Alexey Milovidov
48ae82e1c7 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 19:34:17 +03:00
Alexey Milovidov
4aa90e908d Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 19:19:24 +03:00
Alexey Milovidov
c903a23864 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 19:12:30 +03:00
Alexey Milovidov
3476e4d4c4 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:48:53 +03:00
Alexey Milovidov
b2457e076a Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:42:42 +03:00
Alexey Milovidov
f1eb84bd48 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:20:37 +03:00
Alexey Milovidov
e56ccc9754 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:13:50 +03:00
Alexey Milovidov
bfa46f9dff Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:13:04 +03:00
Alexey Milovidov
2d324ed4df Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:12:18 +03:00
Alexey Milovidov
f29f6b787d Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:11:34 +03:00
Alexey Milovidov
22527f52f3 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:10:09 +03:00
Alexey Milovidov
d8b95e6d2a Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:06:04 +03:00
Alexey Milovidov
00475da25e Sending progress in HTTP headers [#CLICKHOUSE-32]. 2017-01-22 18:03:55 +03:00
Alexey Milovidov
579667cef3 Added test for fixed bad behaviour [#CLICKHOUSE-2765]. https://github.com/yandex/ClickHouse/pull/183#discussion_r87731018 2017-01-22 16:24:50 +03:00
Alexey Milovidov
25d87ff135 Updated test according to changed semantic of some time zone functions [#CLICKHOUSE-2765]. 2017-01-22 16:21:59 +03:00
Alexey Milovidov
6ec9380510 Allow to set server timezone from configuration file [#CLICKHOUSE-2765]. 2017-01-22 15:53:24 +03:00
Alexey Milovidov
b1a5efffc0 Fixed error [#CLICKHOUSE-2765]. 2017-01-22 14:45:41 +03:00
Alexey Milovidov
cf84e8e646 Fixed error [#CLICKHOUSE-2765]. 2017-01-22 14:40:03 +03:00
Alexey Milovidov
0197e4dd3d Fixed error [#CLICKHOUSE-2765]. 2017-01-22 14:37:38 +03:00
Alexey Milovidov
8f79ee0f87 Addition to prev. revision [#CLICKHOUSE-2765]. 2017-01-22 14:36:10 +03:00
Alexey Milovidov
e7976421a2 Fixed error in test [#CLICKHOUSE-2]. 2017-01-22 14:25:45 +03:00
Alexey Milovidov
989e76b16c Fixed test [#CLICKHOUSE-2]. 2017-01-22 14:10:11 +03:00
Alexey Milovidov
812fd4fe87 Added function 'timezone' for introspection [#CLICKHOUSE-2765]. 2017-01-22 14:07:45 +03:00
Alexey Milovidov
8ce006aa69 Fixed error in prev. revision [#CLICKHOUSE-2765]. 2017-01-22 13:56:48 +03:00
Alexey Milovidov
bcdf3ce82c Translated comment [#CLICKHOUSE-3]. 2017-01-22 12:07:34 +03:00
Alexey Milovidov
641faac912 More correct time zones support; removed support for non-constant time zone argument [#CLICKHOUSE-2765]. 2017-01-22 11:57:34 +03:00
alexey-milovidov
ed5b521110 Less dependencies 2 (#378)
* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].
2017-01-21 08:24:28 +04:00
Alexey Milovidov
28f4efa461 Allowed one test to take less time under valgrind [#CLICKHOUSE-2]. 2017-01-21 05:55:23 +03:00
proller
1adf0bb3e1 Remove -metrika-yandex postfix from package names (#377) 2017-01-20 23:58:13 +04:00
proller
2688f4563f cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config (#375)
* Manual version update to [54135]

* Temporary release script fix [#METRIQA-732]

* cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config
2017-01-20 21:58:07 +04:00
proller
89190cfdd0 fix external dictionary tests (use forking http server) [#CLICKHOUSE-22] (#373)
* renamed:    debian/compressor-metrika-yandex.install -> debian/clickhouse-compressor-metrika-yandex.install

* fix external dictionary tests (use forking http server) [#CLICKHOUSE-22]
2017-01-20 15:44:21 +03:00
Alexey Milovidov
fde7ef7d6c Field: exception safety [#CLICKHOUSE-2756]. 2017-01-20 11:28:44 +03:00
Alexey Milovidov
94bfc2ee4b Added test [#CLICKHOUSE-2761]. 2017-01-20 09:05:27 +03:00
Alexey Milovidov
4d1ac56ba9 Fixed rare memory leak [#CLICKHOUSE-2761]. 2017-01-20 08:25:25 +03:00
Alexey Milovidov
459db30c29 Preparations [#CLICKHOUSE-2761]. 2017-01-20 08:00:04 +03:00
Alexey Milovidov
63c3870fd0 Modified test [#CLICKHOUSE-2756]. 2017-01-20 07:27:51 +03:00
Alexey Milovidov
2468021bbb Addition to prev. revision [#CLICKHOUSE-2756]. 2017-01-20 07:10:41 +03:00
Alexey Milovidov
d95edafa96 Addition to prev. revision [#CLICKHOUSE-2756]. 2017-01-20 07:08:31 +03:00
Alexey Milovidov
89fd071e1c Addition to prev. revision [#CLICKHOUSE-2756]. 2017-01-20 07:06:05 +03:00
Alexey Milovidov
7fa73c5462 Field: fixed memory leak [#CLICKHOUSE-2756]. 2017-01-20 06:36:04 +03:00
Alexey Milovidov
6226132be0 Modified test [#CLICKHOUSE-2756]. 2017-01-20 06:24:57 +03:00
Alexey Milovidov
bb61f917b8 Memory leak in Field: investigation [#CLICKHOUSE-2763]. 2017-01-20 05:34:35 +03:00
Alexey Milovidov
5c1ae060a4 Miscellaneous [#CLICKHOUSE-2761]. 2017-01-20 05:22:18 +03:00
Alexey Milovidov
7a971df887 Fixed error in function multiIf [#CLICKHOUSE-2763]. 2017-01-20 04:41:30 +03:00
Alexey Milovidov
904ac284da Fixed error with multiIf function [#CLICKHOUSE-2763]. 2017-01-20 04:18:57 +03:00
Alexey Milovidov
7f0e61bfbd Misc [#CLICKHOUSE-2]. 2017-01-20 04:05:09 +03:00
Alexey Milovidov
039914dfa4 Fixed error with replaceRegexp functions [#CLICKHOUSE-2763]. 2017-01-20 04:00:13 +03:00
Alexey Milovidov
f9d0b94c62 replaceRegexp: fixed bad code and error [#CLICKHOUSE-2763]. 2017-01-20 00:31:51 +03:00
proller
04d2149e8a enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR… (#372)
* enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR=1'  option

* add -Werror for utils
2017-01-19 23:30:58 +04:00
Alexey Zatelepin
2184d4d51b stabilize flappy test [#CLICKHOUSE-2133] 2017-01-19 17:01:11 +03:00
Alexey Zatelepin
0eb48dc84e cosmetic fixes [#CLICKHOUSE-2133] 2017-01-19 15:02:30 +03:00
Alexey Zatelepin
f5a25c341c translate comments [#CLICKHOUSE-3] 2017-01-19 03:48:59 +04:00
Alexey Zatelepin
5de1975bc4 parse INTO OUTFILE clause [#CLICKHOUSE-2133] 2017-01-19 03:48:59 +04:00
proller
cafc2fbbb1 Fix ENABLE_LIBTCMALLOC=0 build (#359)
Again fix ENABLE_LIBTCMALLOC=0 build
2017-01-18 18:09:10 +03:00
proller
04e2baebed Cmake (#358)
cmake: dont install files from CLICKHOUSE_PRIVATE_DIR
2017-01-18 17:35:59 +03:00
proller
7e21f1dd14 Fix build with -D NO_TCMALLOC, better sanitizers calls (#355)
* Fix generate includes for clang

* Fix build with -D NO_TCMALLOC, better sanitizers calls
2017-01-18 16:41:47 +04:00
proller
db0fce346a Freebsd clang3.8 compile fixes (#352)
* Freebsd clang3.8 compile fixes

* clean
2017-01-18 01:00:23 +04:00
Alexey Milovidov
ffed6b1d5e Added one more column to system.parts [#CLICKHOUSE-2757]. 2017-01-17 23:54:32 +03:00
Alexey Milovidov
e407bf879c system.parts: added a column for primary key size in bytes in RAM [#CLICKHOUSE-2757]. 2017-01-17 23:49:16 +03:00
Alexey Milovidov
c74d585b0b Merge branch 'master' of github.com:yandex/ClickHouse 2017-01-17 23:48:14 +03:00
Alexey Milovidov
9f48890a8e NULLs: added missing method [#CLICKHOUSE-4]. 2017-01-17 23:47:37 +03:00
proller
0fc364165f fix space 2017-01-17 19:00:24 +00:00
proller
2fe033d00e Fix compiling in freebsd/clang 2017-01-17 18:03:32 +00:00
Alexey Milovidov
2730267bdc Fixed test, that was dependent on time zones [#CLICKHOUSE-3]. 2017-01-17 15:58:10 +03:00
Alexey Milovidov
00d848d927 Test 'merge_tree_alter': removed dependency on system time zone [#CLICKHOUSE-3]. 2017-01-17 15:58:10 +03:00
Alexey Milovidov
930b947393 Make 'formats' test time-zone independent [#CLICKHOUSE-3]. 2017-01-17 15:58:10 +03:00
Alexey Milovidov
4e6125c92b Fixed test, that was dependent on time zones [#CLICKHOUSE-3]. 2017-01-17 08:00:49 +03:00
Alexey Milovidov
e86c46d937 Test 'merge_tree_alter': removed dependency on system time zone [#CLICKHOUSE-3]. 2017-01-17 07:53:37 +03:00
Alexey Milovidov
7934a6e259 Make 'formats' test time-zone independent [#CLICKHOUSE-3]. 2017-01-17 07:45:30 +03:00
Alexey Milovidov
06b2404e6a Merge branch 'master' into hierarchical-dictionaries-performance
Conflicts:
	dbms/include/DB/Functions/FunctionsDictionaries.h
2017-01-17 03:31:31 +03:00
Alexey Milovidov
01c2caef8c Miscellaneous [#CLICKHOUSE-11]. 2017-01-17 03:25:43 +03:00
proller
29475c94c0 Reorganize includes, less depends in .h files 2017-01-16 22:47:11 +03:00
Alexey Milovidov
7a526b88d4 Fixed error on clang [#CLICKHOUSE-2]. 2017-01-14 12:17:40 +03:00
Alexey Milovidov
5c89153e5e Fixed error on clang [#CLICKHOUSE-2]. 2017-01-14 12:11:11 +03:00
Alexey Milovidov
7c4010441c Fixed error on clang [#CLICKHOUSE-2]. 2017-01-14 12:09:38 +03:00
Alexey Milovidov
530796a5f8 Fixed error on clang [#CLICKHOUSE-2]. 2017-01-14 12:07:26 +03:00
Alexey Milovidov
58e5dad1a1 Squashed commit of the following:
commit e712f469a5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:59:13 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 2a00282308
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:58:30 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 9e06f407c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:55:14 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 9581620f1e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:54:22 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 2a8564c68c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:47:34 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit cf60632d78
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:40:09 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit ee3d1dc6e0
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:22:49 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 65592ef711
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:18:17 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 37972c2573
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:17:06 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit dd909d1499
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:16:28 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 3cf43266ca
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:15:42 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 6731a3df96
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:13:35 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 1b5727e0d5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:11:18 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit bbcf726a55
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:09:04 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit c03b477d5e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:06:30 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 2986e2fb04
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:05:44 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit 5d6cdef13d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:04:53 2017 +0300

    Less dependencies [#CLICKHOUSE-2]

commit f2b819b25c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Jan 14 11:01:47 2017 +0300

    Less dependencies [#CLICKHOUSE-2]
2017-01-14 12:00:19 +03:00
Alexey Milovidov
335a69d79c Added type inference for lambdas [#CLICKHOUSE-11]. 2017-01-14 10:19:47 +03:00
Alexey Milovidov
0493c3ff77 Added missing file [#CLICKHOUSE-11]. 2017-01-14 09:22:28 +03:00
Alexey Milovidov
c83ae92d41 Analyzers: added AnalyzeLambdas step [#CLICKHOUSE-11]. 2017-01-14 08:19:48 +03:00
Alexey Milovidov
d99a642b9b Fixed error in 'distributed_product_mode' setting, which breaks 'allow_databases' option [#CLICKHOUSE-2718]. 2017-01-14 06:10:16 +03:00
Alexey Milovidov
0440e031c5 Translated comments [#CLICKHOUSE-3]. 2017-01-14 05:53:40 +03:00
Alexey Milovidov
4fe2a4432a External dictionaries: MySQL source: Allow columns with names from reserved words [#CLICKHOUSE-2717]. 2017-01-14 05:30:03 +03:00
Alexey Milovidov
b16c9a3e12 Fixed error with 'max_memory_usage_for_user' setting during distributed query execution [#METR-24117]. 2017-01-14 04:55:35 +03:00
Vitaliy Lyudvichenko
c56d3724e4 Speedup accurate integer comparisons. Simplified code. [#CLICKHOUSE-29] [#CLICKHOUSE-194] 2017-01-13 23:01:24 +03:00
proller
821121fe3f Use localhost by name 2017-01-13 18:43:43 +00:00
Vitaliy Lyudvichenko
a1dcd24a76 New behavior for least() and greatest() function with (Int64, UInt64) arguments. [#CLICKHOUSE-29] 2017-01-13 21:17:50 +03:00
proller
ee3882f251 Allow link with external libs: poco, tcmalloc 2017-01-13 14:25:44 +03:00
Alexey Milovidov
c3b69f1052 Removed fragile (over-complicated) test [#CLICKHOUSE-2]. 2017-01-13 04:07:02 +03:00
Alexey Milovidov
012c5f1079 Disabled flappy tests [#CLICKHOUSE-2]. 2017-01-13 02:31:04 +03:00
alexey-milovidov
9808a5ab9e Merge pull request #323 from ludv1x/accurate-compare
Accurate numbers comparison
2017-01-12 23:31:07 +04:00
alexey-milovidov
915495634c Merge pull request #327 from proller/freebsd
Freebsd: preparing port, misc build/install chandes
2017-01-12 23:26:10 +04:00
artpaul
3292ca81cb fix distinct on single string field [#CLICKHOUSE-28] 2017-01-12 20:34:41 +05:00
Vitaliy Lyudvichenko
0807fb6d86 Interpret .py files in test dir as tests. [#CLICKHOUSE-194]
More precise performance test.
2017-01-12 18:21:47 +03:00
Vitaliy Lyudvichenko
9dd3bc3b60 Removed old code. [#CLICKHOUSE-194] 2017-01-12 18:21:29 +03:00
Vitaliy Lyudvichenko
3e53e3268a Add test for accurate numbers comparisons. [#CLICKHOUSE-194] 2017-01-12 18:21:24 +03:00
Vitaliy Lyudvichenko
7d86246b46 Add safe_convervsion case optimization. Fixed MIN_INT64 comparison. Fixed NaN comparisons between floats. [#CLICKHOUSE-194] 2017-01-12 18:21:17 +03:00
Vitaliy Lyudvichenko
b264b853a5 Added accurate numbers comparison. [#CLICKHOUSE-194] 2017-01-12 18:20:45 +03:00
proller
ecb7642c4f Freebsd: preparing port, misc build/install chandes 2017-01-12 13:51:30 +00:00
Alexey Milovidov
eb2c8196fd Analyzers: development [#METR-23947]. 2017-01-12 05:08:33 +03:00
Alexey Milovidov
522e96d4bf Analyzers: added support for lambda expressions when searching for columns [#METR-23947]. 2017-01-12 05:06:50 +03:00
Alexey Milovidov
916552f175 Improved formatting of lambda expressions [#METR-23947]. 2017-01-12 04:55:14 +03:00
Alexey Milovidov
38c9ad9761 Fixed error [#METR-2944]. 2017-01-12 04:29:32 +03:00
Alexey Milovidov
480cb57a2f Added test [#METR-24079]. 2017-01-12 03:33:02 +03:00
Alexey Milovidov
e8855c6f0f Fixed error with multiple calls of LogicalExpressionAnalyzer [#METR-24079]. 2017-01-12 03:26:39 +03:00
proller
d00765fb15 Find pthread lib by cmake 2017-01-11 16:40:02 +03:00
Alexey Milovidov
0f03a7bbdc Fixed error with checking number of arguments of functions [#METR-24078]. 2017-01-11 05:47:43 +03:00
artpaul
402f974fb7 fix where <const> in (<const>) expression; [#METR-24043] 2017-01-10 19:16:37 +05:00
alexey-milovidov
c58cb0ccf2 Merge pull request #295 from proller/METR-23811
Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811]
2017-01-09 23:21:03 +04:00
alexey-milovidov
1d641212c8 Merge pull request #309 from ludv1x/METR-24025
Fixed segfault in aggregation combinators for complex nested functions
2017-01-09 20:14:16 +04:00
proller
1649b003a0 Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811] 2017-01-09 16:42:29 +03:00
artpaul
79eb282eda fix formatting of LIMIT BY; add tests with remote() [#METR-23881] 2017-01-09 18:24:54 +05:00
Vitaliy Lyudvichenko
fb40b74270 Fixed segfault in aggregation combinators using complex functions with Arenas. [#METR-24025] 2017-01-09 15:41:47 +03:00
alexey-milovidov
a07898cc5a Merge pull request #306 from yandex/issue-200
#200: remove dependency to the view if backend storage can't be created
2017-01-09 02:34:00 +04:00
artpaul
903e1eab98 #200: remove dependency to the view if backend storage can't be created 2017-01-09 01:34:40 +05:00
Alexey Zatelepin
1b61f2a9d3 use zlib-ng from contrib everywhere [#METR-23582] 2017-01-08 22:24:38 +03:00
Alexey Zatelepin
502864b40a Merge branch 'master' into METR-23582
Conflicts:
	dbms/include/DB/IO/WriteBufferFromHTTPServerResponse.h
	dbms/src/Core/ErrorCodes.cpp
2017-01-08 12:53:17 +03:00
Alexey Zatelepin
600bb5f29a [#METR-23582]
* introduce ZlibDeflatingWriteBuffer and ZlibInflatingReadBuffer
* use them instead of Poco streams
* seamlessly uncompress multiple concatenated gzip streams
2017-01-07 20:22:58 +03:00
Alexey Milovidov
6e5dd26dda Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-07 02:47:16 +03:00
Alexey Milovidov
2436d43637 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-07 01:54:05 +03:00
Alexey Milovidov
d89ee33ce2 Squashed commit of the following:
commit c567d4e1fe
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:35:01 2017 +0300

    Style [#METR-2944].

commit 26bf3e1228
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:33:11 2017 +0300

    Miscellaneous [#METR-2944].

commit eb946f4c6f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:30:19 2017 +0300

    Miscellaneous [#METR-2944].

commit 78c867a147
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:11:41 2017 +0300

    Miscellaneous [#METR-2944].

commit 6604c5c83c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:56:15 2017 +0300

    Miscellaneous [#METR-2944].

commit 23fbf05c1d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:47:52 2017 +0300

    Miscellaneous [#METR-2944].

commit 98772faf11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:46:05 2017 +0300

    Miscellaneous [#METR-2944].

commit 3dc636ab9f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:39:46 2017 +0300

    Miscellaneous [#METR-2944].

commit 3e16aee954
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:38:03 2017 +0300

    Miscellaneous [#METR-2944].

commit ae7e7e90eb
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:34:15 2017 +0300

    Miscellaneous [#METR-2944].
2017-01-06 20:41:19 +03:00
Alexey Milovidov
2f7ff07e1f Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-06 19:33:05 +03:00
Alexey Milovidov
89d4873b9e Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-06 16:36:08 +03:00
Alexey Milovidov
a1a6ddd01e Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-05 19:34:05 +03:00
Alexey Milovidov
76b06c3d42 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-05 14:03:59 +03:00
Alexey Milovidov
c63882f048 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-05 14:03:24 +03:00
Alexey Milovidov
0f7d0c3969 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-05 12:26:49 +03:00
Alexey Milovidov
51df4e19e2 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-05 10:25:23 +03:00
Alexey Milovidov
96e1ed3412 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-04 21:16:18 +03:00
Alexey Milovidov
f553cb5197 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-04 21:13:41 +03:00
Alexey Milovidov
60623e7ca5 Preparations [#METR-20307]. 2017-01-04 20:34:45 +03:00
Alexey Milovidov
ed107f675a Preparations [#METR-20307]. 2017-01-04 20:25:07 +03:00
Alexey Milovidov
37e1c9d18f Miscellaneous [#METR-20307]. 2017-01-04 19:31:09 +03:00
Alexey Milovidov
779d549d3d Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-04 18:05:31 +03:00
Alexey Milovidov
a1ebd7f103 Added support for qualified asterisk in parser [#METR-20307]. 2017-01-04 14:23:27 +03:00
Alexey Milovidov
25dd3affb3 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-04 12:05:23 +03:00
Alexey Milovidov
9acd77d985 Miscellaneous [#METR-2944]. 2017-01-04 12:04:01 +03:00
Alexey Milovidov
a4d9d766b6 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-04 09:52:02 +03:00
Alexey Milovidov
3af6d65c2b Miscellaneous [#METR-2944]. 2017-01-04 09:51:01 +03:00
Alexey Milovidov
8074f2de59 Implemented TODO [#METR-19266]. 2017-01-04 07:30:18 +03:00
Alexey Milovidov
f7fa5b73b9 Changed names of files with NULL-related data to be more consistent [#METR-19266]. 2017-01-04 07:15:38 +03:00
Alexey Milovidov
cf295ee681 Style [#METR-2944]. 2017-01-04 07:00:37 +03:00
Alexey Milovidov
625b6c6050 Function "sleep": do not sleep during query analyze (continued) [#METR-21574]. 2017-01-04 06:43:43 +03:00
Alexey Milovidov
d6735c2a23 Function "sleep": do not sleep during query analyze [#METR-21574]. 2017-01-04 06:37:59 +03:00
Alexey Milovidov
77a0159ff8 Miscellaneous [#METR-2944]. 2017-01-04 06:35:05 +03:00
Alexey Milovidov
95e9ef2fc4 Reworked InJoinSubqueriesPreprocessor [#METR-2944]. 2017-01-04 05:37:47 +03:00
Alexey Milovidov
4140e7e889 Get out garbage from AST [#METR-2944]. 2017-01-03 10:37:29 +03:00
Alexey Milovidov
af5e2c9953 Less const_casts [#METR-2944]. 2017-01-03 04:49:19 +03:00
Alexey Milovidov
604bd6c5a3 Less const_casts [#METR-2944]. 2017-01-03 04:42:17 +03:00
Alexey Milovidov
9dc44c1a3a Renamed methods for bulk binary serialization (continued) [#METR-2944]. 2017-01-03 02:31:26 +03:00
Alexey Milovidov
1f3aeb066a Renamed methods for bulk binary serialization (continued) [#METR-2944]. 2017-01-03 02:08:09 +03:00
Alexey Milovidov
701ca28c85 Renamed methods for bulk binary serialization [#METR-2944]. 2017-01-03 01:47:28 +03:00
Alexey Milovidov
3fbb597694 Addition to prev. revision [#METR-2944]. 2017-01-02 23:52:30 +03:00
Alexey Milovidov
5460a13d58 Addition to prev. revision [#METR-2944]. 2017-01-02 23:47:59 +03:00
Alexey Milovidov
ca37f28b5f Renamed methods Block::rows and Block::rowsInFirstColumn [#METR-2944]. 2017-01-02 23:45:27 +03:00
Alexey Milovidov
2b4f3b5d34 Renamed method (less confusion) [#METR-2944]. 2017-01-02 23:12:12 +03:00
Alexey Milovidov
00127a1d37 Miscellaneous [#METR-2944]. 2017-01-02 23:08:23 +03:00
artpaul
b64e7a45b6 rename tests 2016-12-31 13:36:22 +05:00
Alexey Milovidov
de845f7801 Fixed style [#METR-23933]. 2016-12-31 05:05:37 +03:00
alexey-milovidov
376db5785b Merge pull request #297 from proller/METR-23933
Add header Keep-Alive: timeout=.. to http server response [#METR-23933]
2016-12-31 06:04:49 +04:00
alexey-milovidov
0dd2191c87 Merge branch 'master' into issue-111 2016-12-31 05:53:52 +04:00
Vitaliy Lyudvichenko
694b0fad97 Reverted system.events changes. Added docs for system.metrics. [#METR-239111] 2016-12-31 03:06:23 +03:00
Vitaliy Lyudvichenko
07d720565c Added profile events for INSERTs. [#METR-23930]
Added new column and CurrentMetrics data into system.events table.
Removed unnecessary code from Context and Merge list. [#METR-23911]
2016-12-31 02:39:53 +03:00
Vitaliy Lyudvichenko
108bfac17e Added memory tracking events and columns for merges. [#METR-23911] 2016-12-31 02:39:53 +03:00
proller
c2a6681522 Add header Keep-Alive: timeout=.. to http server responce [#METR-23933] 2016-12-30 23:52:56 +03:00
artpaul
3987df8233 rename tests 2016-12-30 23:32:51 +05:00
Vitaliy Lyudvichenko
35485c03d9 Fixed race condition during dictionaries' config file update. [#METR-22224] 2016-12-30 21:30:29 +03:00
artpaul
c74b8e2366 add comments; count exact number of inserted rows [#METR-23881] 2016-12-30 18:40:12 +05:00
artpaul
273e58f8d7 add tests [#METR-23881] 2016-12-30 17:57:09 +05:00
artpaul
333d47ee2e don't allow partial sort in case if LIMIT BY is present [#METR-23881] 2016-12-30 17:56:07 +05:00
artpaul
9cfc019a12 fix calculation of condition for skipping all block [#METR-23881] 2016-12-30 16:15:17 +05:00
Alexey Milovidov
4dee097ba8 Fixed build with clang on Xenial [#METR-2944]. 2016-12-30 11:07:02 +03:00
Alexey Milovidov
943717b8d0 Merge branch 'master' of github.com:yandex/ClickHouse 2016-12-30 09:48:43 +03:00
Alexey Milovidov
1c9d06638e Removed function that was in a wrong place [#METR-2944]. 2016-12-30 09:48:11 +03:00
Alexey Milovidov
2f6e582f78 Updated test [#METR-19266]. 2016-12-30 09:28:20 +03:00
Alexey Milovidov
0a83cfccde NULLs: Test also output formats [#METR-19266]. 2016-12-30 09:23:30 +03:00
Alexey Milovidov
9a17c907b0 Added test for parsing NULLs in various formats [#METR-19266]. 2016-12-30 09:18:57 +03:00
Alexey Milovidov
81a08bcd87 Addition to prev. revision [#METR-19266]. 2016-12-30 08:55:23 +03:00
Alexey Milovidov
3f9fc77e22 Fixed most cases of misleading messages "Could not print diagnostic info because two last rows aren't in buffer (rare case)" [#METR-20000]. 2016-12-30 08:40:49 +03:00
Alexey Milovidov
3336a66161 Addition to prev. revision [#METR-19266]. 2016-12-30 08:31:52 +03:00
Alexey Milovidov
80937d8226 Addition to prev. revision [#METR-19266]. 2016-12-30 08:31:14 +03:00
Alexey Milovidov
1dd26b4487 Addition to prev. revision [#METR-19266]. 2016-12-30 08:22:45 +03:00
Alexey Milovidov
0323a74942 Added test [#METR-19266]. 2016-12-30 08:17:55 +03:00
Alexey Milovidov
baf29f5c48 NULLs support: fixed totally wrong code [#METR-19266]. 2016-12-30 08:13:14 +03:00
Alexey Milovidov
cefec8be5a Great simplification [#METR-2944]. 2016-12-30 04:53:21 +03:00
Alexey Milovidov
de30204c00 Added test for pretty formats [#METR-2944]. 2016-12-30 04:30:47 +03:00
Alexey Milovidov
025bfd414f Allowed to create tuples with NULLs [#METR-19266]. 2016-12-30 03:55:59 +03:00
Alexey Milovidov
e3849124f1 Fixed wrong code [#METR-19266]. 2016-12-30 03:31:38 +03:00
Alexey Milovidov
c1a635a3d2 NULLs: fixed error and added TODO [#METR-19266]. 2016-12-30 03:28:49 +03:00
Alexey Milovidov
ee2c5f0d65 Fixed error in format PrettySpace [#METR-2944]. 2016-12-30 03:24:56 +03:00
Alexey Milovidov
a4a77d8bc0 Function visibleWidth: fixed error [#METR-2944]. 2016-12-30 03:19:44 +03:00
Alexey Milovidov
6e1ec28840 Addition to prev. revision [#METR-2944]. 2016-12-30 03:19:05 +03:00
Alexey Milovidov
b4e18e2222 Cut dependendy (code must depend on Functions only via FunctionFactory) [#METR-2944]. 2016-12-30 03:15:50 +03:00
Alexey Milovidov
0eb5d53133 Translated comment [#METR-20000]. 2016-12-30 02:17:51 +03:00
Alexey Milovidov
94c64a758f Miscellaneous [#METR-2944]. 2016-12-30 02:17:05 +03:00
Alexey Milovidov
f71c49ff6f Addition to prev. revision [#METR-22189]. 2016-12-30 02:12:56 +03:00
Alexey Milovidov
77aa5d17c8 Addition to prev. revision [#METR-22189]. 2016-12-30 02:04:56 +03:00
Alexey Milovidov
ee80b16488 Fixed error with creation of GraphiteMergeTree table [#METR-22189]. 2016-12-30 01:56:37 +03:00
Alexey Milovidov
5a5ddebe19 Fixed test [#METR-19266]. 2016-12-30 01:45:19 +03:00
Alexey Milovidov
5dad134760 Fixed error in reading config with settings for GraphiteMergeTree table engine [#METR-23978]. 2016-12-30 01:06:31 +03:00
Alexey Milovidov
8ff20e1ecc Fixed test [#METR-2944]. 2016-12-29 23:41:49 +03:00
Alexey Milovidov
ddc8fcf623 Addition to prev. revision [#METR-23999]. 2016-12-29 23:22:27 +03:00
Alexey Milovidov
1a64417044 Added setting "output_format_pretty_max_rows" [#METR-23999]. 2016-12-29 23:15:18 +03:00
Alexey Milovidov
18f0e83b51 Fixed parsing of NULL literal [#METR-19266]. 2016-12-29 22:52:15 +03:00
Alexey Milovidov
3f678a3042 Functions: little better [#METR-2944]. 2016-12-29 22:38:10 +03:00
Alexey Milovidov
32be008327 Added test [#METR-23983]. 2016-12-29 21:29:21 +03:00
artpaul
1f49735581 disable some optimization related to LIMIT clause if LIMIT BY clause is present [#METR-23881] 2016-12-29 17:53:35 +05:00
artpaul
2b38babb89 organize code [#METR-23881] 2016-12-29 16:55:10 +05:00
artpaul
405382b092 getAliasOrColumnName instead of getColumnName [#METR-23881] 2016-12-29 15:42:08 +05:00
artpaul
3b88b1ff14 clone and format limit_by asts [#METR-23881] 2016-12-29 13:22:19 +05:00
artpaul
3f064d9ff7 first dirty implementation of LIMIT BY clause [#METR-23881] 2016-12-28 20:12:54 +05:00
Alexey Milovidov
cbaf9d79eb Added function 'toStartOfDay'; fixed tiny error [#METR-23983]. 2016-12-28 15:10:29 +03:00
Alexey Milovidov
9c39a324f2 Fixed extremes calculation in presense of NaNs [#METR-22882]. 2016-12-28 12:20:42 +03:00
proller
ca9c4bbdbb Dont use tcmalloc TCMALLOC_AGGRESSIVE_DECOMMIT patch 2016-12-28 03:47:46 +03:00
Alexey Milovidov
cf4f8d6ce4 Modified comment [#METR-2944]. 2016-12-27 18:50:31 +03:00
artpaul
938663aa7a parse LIMIT BY [#METR-23881] 2016-12-27 19:08:33 +05:00
artpaul
9bfd80b412 style of constructor init list 2016-12-27 13:33:32 +05:00
Alexey Milovidov
ad6507f9df Preparation [#METR-23490]. 2016-12-27 09:36:53 +03:00
Alexey Milovidov
7771a3aa13 Miscellaneous [#METR-2944]. 2016-12-27 09:34:01 +03:00
Alexey Milovidov
dd0b5a1b82 Added test [#METR-23945]. 2016-12-25 07:50:06 +03:00
Alexey Milovidov
c195b0212b Fixed long delay when querying Merge table based on very large amount of StripeLog tables; fixed error in Merge table [#METR-23945]. 2016-12-25 07:39:22 +03:00