Commit Graph

742 Commits

Author SHA1 Message Date
proller
e96092c66c Freebsd fixes (#555)
* freebsd fixes

* Update SocketImpl.cpp
2017-03-04 05:58:45 +04:00
alexey-milovidov
35215d077e Merge pull request #544 from serebrserg/METR-23630
METR-23630: add pointInEllipses function
2017-03-02 17:05:26 +04:00
serebrserg
6b3135959d add test for pointInEllipses 2017-03-02 14:33:38 +03:00
artpaul
be7c70da5c fix IN with nested tuples [#CLICKHOUSE-1999] 2017-03-01 19:48:21 +05:00
proller
0e91c47066 Allow build with external double-conversion lz4 zstd re2 zookeeper (#531)
* Allow build with external double-conversion lz4 zstd re2 zookeeper

* fix

* fix

* freebsd fixes

* spaces

* fix

* fix

* fix

* wip

* move

* fix
2017-03-01 03:49:04 +04:00
proller
57c336f267 HTTPDictionarySource support HTTPS (#510)
* https support in dictionaries

* Style
2017-02-28 01:07:57 +04:00
proller
deb956ce97 Tests: dictionaries: allow completely disable mongo and mysql (#519) 2017-02-26 21:45:46 +04:00
proller
1c1b6ce9f5 Mongo: support new sha1 auth with new external poco 1.7.8 (#518)
* Mongo: support new sha1 auth with new external poco 1.7.8

* add test

* disable test
2017-02-21 23:24:02 +04:00
proller
3e824b3b4f add test (Not found column date in block. There are only columns: x.) [#CLICKHOUSE-1993] 2017-02-21 22:45:37 +04:00
Alexey Zatelepin
7090d0861a reinitialize primary key after ALTER [#CLICKHOUSE-2853] 2017-02-21 21:32:04 +04:00
Vitaliy Lyudvichenko
3ee4e6b79b Banned Null(AggregateFunction(...)) type in arrayReduce. Fix test. [#CLICKHOUSE-2845] 2017-02-18 22:25:19 +03:00
Vitaliy Lyudvichenko
8bcb1fe970 Add support of AggregateFunction constants in VALUES and Set. [#CLICKHOUSE-2845] 2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
f1b5e927a5 Fixed typo in test. 2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
97c4211409 Add support of scalars with AggregateFunction() type. [#CLICKHOUSE-2845]
Fixed segfaults for arrayReduce. [#CLICKHOUSE-2787]
2017-02-18 00:36:31 +04:00
proller
fdf634125e Tests: external: add more options to script 2017-02-17 17:12:02 +03:00
Alexey Milovidov
6a24e21f77 Renamed test [#CLICKHOUSE-2]. 2017-02-11 23:03:23 +03:00
Alexey Zatelepin
66501c8026 ALTER primary key tests [#CLICKHOUSE-2027] 2017-02-10 22:19:40 +04:00
Alexey Milovidov
a39f333c1b Fixed test [#CLICKHOUSE-2755]. 2017-02-10 19:57:12 +03:00
Alexey Milovidov
0673f75265 Fixed absolutely incorrect code; added test [#CLICKHOUSE-2755]. 2017-02-10 13:20:06 +03:00
Alexey Milovidov
17e3a4ff1f Implemented aggregate function 'count' with Nullable arguments to count number of not-NULL values [#CLICKHOUSE-2833]. 2017-02-10 12:02:10 +03:00
Alexey Milovidov
0d903dbf07 Addition to prev. revision; added test [#CLICKHOUSE-2832]. 2017-02-10 09:03:09 +03:00
Alexey Milovidov
434500e98d More tests [#CLICKHOUSE-2804]. 2017-02-09 09:58:18 +03:00
Alexey Milovidov
abdb714b35 Added test [#CLICKHOUSE-2804]. 2017-02-09 09:53:51 +03:00
Alexey Milovidov
82f3f5ad66 Fixed error with GraphiteMergeTree [#CLICKHOUSE-2804]. 2017-02-09 09:45:29 +03:00
Alexey Milovidov
f4cb4cafb1 Fixed error with usage of 'version' column in GraphiteMergeTree [#CLICKHOUSE-2804]. 2017-02-09 07:21:56 +03:00
Alexey Milovidov
b9a96b480d Added test [#CLICKHOUSE-2825]. 2017-02-09 00:49:15 +03:00
Alexey Milovidov
40e71651e5 Allowed hash functions to be constant expressions [#CLICKHOUSE-2819]. 2017-02-08 23:33:50 +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
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
d6385af19b Add test for _table index in 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
76916739e2 Fixed arrayReduce. Refactoring of ObjectPool. [#CLICKHOUSE-2787] 2017-02-07 23:43:31 +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
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
Alexey Milovidov
8d4a08cf9f Updated test [#CLICKHOUSE-32]. 2017-02-01 07:15:20 +03:00
Alexey Milovidov
9d04189793 Updated test [#CLICKHOUSE-32]. 2017-02-01 05:40:27 +03:00
Vitaliy Lyudvichenko
9f8a967e6c Fix SHOW PROCESSLIST segfault. [#CLICKHOUSE-2120] 2017-01-30 16:24:42 +03:00
Alexey Milovidov
4ae2bed9b6 Fixed wrong test [#CLICKHOUSE-2785]. 2017-01-30 11:28:42 +03:00
Vitaliy Lyudvichenko
7f73f91705 Made test for KILL QUERY more deterministic. [#CLICKHOUSE-2120] [resloved #283] 2017-01-28 02:30:19 +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
891437e531 Add docs. Add TEST version of KILL QUERY. [#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
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
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