Commit Graph

773 Commits

Author SHA1 Message Date
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
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
59a4a94b9e fix 2017-01-25 21:27:16 +03: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
f51f52e0df Added test [#CLICKHOUSE-32]. 2017-01-24 00:29:05 +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
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
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
28f4efa461 Allowed one test to take less time under valgrind [#CLICKHOUSE-2]. 2017-01-21 05:55:23 +03: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
94bfc2ee4b Added test [#CLICKHOUSE-2761]. 2017-01-20 09:05:27 +03:00
Alexey Zatelepin
2184d4d51b stabilize flappy test [#CLICKHOUSE-2133] 2017-01-19 17:01:11 +03:00
Alexey Zatelepin
5de1975bc4 parse INTO OUTFILE clause [#CLICKHOUSE-2133] 2017-01-19 03:48:59 +04: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
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
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
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
3e53e3268a Add test for accurate numbers comparisons. [#CLICKHOUSE-194] 2017-01-12 18:21:24 +03:00
Alexey Milovidov
480cb57a2f Added test [#METR-24079]. 2017-01-12 03:33:02 +03:00
artpaul
402f974fb7 fix where <const> in (<const>) expression; [#METR-24043] 2017-01-10 19:16:37 +05: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
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 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
artpaul
b64e7a45b6 rename tests 2016-12-31 13:36:22 +05: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
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
artpaul
273e58f8d7 add tests [#METR-23881] 2016-12-30 17:57:09 +05: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
0323a74942 Added test [#METR-19266]. 2016-12-30 08:17:55 +03:00
Alexey Milovidov
de30204c00 Added test for pretty formats [#METR-2944]. 2016-12-30 04:30:47 +03:00
Alexey Milovidov
5a5ddebe19 Fixed test [#METR-19266]. 2016-12-30 01:45:19 +03:00
Alexey Milovidov
18f0e83b51 Fixed parsing of NULL literal [#METR-19266]. 2016-12-29 22:52:15 +03:00
Alexey Milovidov
32be008327 Added test [#METR-23983]. 2016-12-29 21:29:21 +03:00
Alexey Milovidov
9c39a324f2 Fixed extremes calculation in presense of NaNs [#METR-22882]. 2016-12-28 12:20:42 +03:00
Alexey Milovidov
dd0b5a1b82 Added test [#METR-23945]. 2016-12-25 07:50:06 +03:00
Alexey Milovidov
2552e7de4b Added test [#METR-22799]. 2016-12-24 00:35:22 +03:00
proller
22371fdead Add initial test for executable and http dictonaries [METR-23466] 2016-12-23 22:20:07 +03:00
alexey-milovidov
d1383c5f62 Merge pull request #288 from yandex/issue-199
Issue #199: speedup DISTINCT
2016-12-23 19:02:48 +04:00
artpaul
200f84c046 add test for DISTINCT with nullable values [#METR-23882] 2016-12-22 21:39:00 +05:00
Vitaliy Lyudvichenko
3432f3c013 Added draft scripts for performance testing of vertical merge. [#METR-23783] 2016-12-22 16:19:02 +03:00
proller
999b181aa5 fix 'env bash -e' 2016-12-21 23:43:35 +03:00
proller
d270053c3c Replace all !/bin/bash by !/usr/bin/env bash : allow running scripts with bash in non standard path. also on freebsd. 2016-12-21 23:04:27 +03:00
Alexey Milovidov
87695c02da MongoDBDictionarySource: fixed incompatibility with MongoDB 3.4.0 [#METRIQA-599]. 2016-12-21 05:13:51 +03:00
Alexey Milovidov
5fe11c0697 Fixed MongoDBDictionarySource [#METR-2944]. 2016-12-20 23:48:40 +03:00
Alexey Milovidov
57426cafc8 Improved test of external dictionaries [#METRIQA-599]. 2016-12-18 21:43:08 +03:00
Alexey Milovidov
927721baee Fixed error in autotests of external dictionaries [#METR-2944]. 2016-12-17 03:25:10 +03:00
alexey-milovidov
4fa9390840 Merge pull request #264 from ekonkov/master
METRIQA-599 port parameter
2016-12-17 00:31:20 +04:00
Eugene Konkov
6f7a359079 METRIQA-599 port parameter 2016-12-16 17:37:06 +03:00
Vitaliy Lyudvichenko
d2e594cdf7 Fixed groupUniqArray for Date and DateTime types. [#METR-23869] 2016-12-16 13:59:16 +03:00
Alexey Milovidov
08bf108961 Fixed error in tests [#METRIQA-599]. 2016-12-16 03:10:37 +03:00