Commit Graph

1389 Commits

Author SHA1 Message Date
zhang2014
bfd19965b5 ISSUES-117 fix failed test 2018-01-31 23:56:52 +08:00
zhang2014
c74970c098 ISSUES-195 fix complex in expression with single element 2018-01-31 16:38:48 +03:00
Vitaliy Lyudvichenko
94f38d744e
Merge pull request #1750 from yandex/CLICKHOUSE-3346
Fault-tolerant cluster copier util
2018-01-31 13:21:51 +03:00
Vitaliy Lyudvichenko
8e4007fb4e Renamed the failed test. [#CLICKHOUSE-2] 2018-01-30 13:51:21 +03:00
alexey-milovidov
bea49ca136
Merge pull request #1741 from yandex/array-functions-hasAll-hasAny-intersect
Array functions hasAll hasAny arrayIntersect arrayResize
2018-01-26 12:06:48 +03:00
proller
63b3bccb04 Test and build fixes (#1822)
* Fix travis

* try

* try

* Disable macos

* Travis enable macos

* Fix

* fast_finish: true

* fix

*  fxi

* fix openssl

* fix

* fix

* Fix

* try travis

* fix

* fix

* Cmake: dont filter platform-depended files in cmake

* misc

* renamed:    tests/server_wrapper.sh -> tests/clickhouse-test-serve

* install clickhouse-test-server

* clickhouse-test-server wip

* wip
2018-01-26 12:03:38 +03:00
Vitaliy Lyudvichenko
e2fb6d8c80 Merge remote-tracking branch 'origin/master' into CLICKHOUSE-3346 2018-01-25 22:00:08 +03:00
Vitaliy Lyudvichenko
d0f42c8f2f Add kazoo lib into integration test, enhanced some tests. [#CLICKHOUSE-3346] 2018-01-25 21:14:37 +03:00
Vitaliy Lyudvichenko
d6db480be1 Forward settings through Distributed table. [#CLICKHOUSE-3346] 2018-01-25 19:04:54 +03:00
alexey-milovidov
24ac18201c Update getFQDNOrHostName.cpp
Update isLocalAddress.cpp

Update IBlockOutputStream.h

Update users.xml
2018-01-24 17:14:21 +03:00
Alexey Milovidov
6066f3b8d2 Removed flappy test [#CLICKHOUSE-2] 2018-01-24 03:10:06 +03:00
alexey-milovidov
b8cb9267c7
Merge pull request #1804 from arkhipov/master
Replace subqueries and table expressions on the right side of the IN …
2018-01-23 22:31:49 +03:00
Nikolai Kochetov
49101fb0a6 added test for macro for cluster name in Distributerd table and DDL [#CLICKHOUSE-3409] 2018-01-22 21:49:21 +03:00
Vitaliy Lyudvichenko
1000328571 Merge remote-tracking branch 'origin/master' into CLICKHOUSE-3346 2018-01-22 20:31:08 +03:00
zhang2014
054777a5ab ISSUES-320 fix rewrite expression for union all 2018-01-21 17:29:55 +08:00
Vlad Arkhipov
be96cf5133 Replace subqueries and table expressions on the right side of the IN operator with their results in order to make MergeTree storage engines evaluate the corresponding conditions by using the index. 2018-01-21 11:22:52 +03:00
Alexey Milovidov
61e5b0476f Removed experimental implementations of pointInPolygon variants [#CLICKHOUSE-2] 2018-01-19 23:22:47 +03:00
Nikolai Kochetov
677758edaa added function arrayResize [#CLICKHOUSE-2998]
added test for arrayResize [#CLICKHOUSE-2998]
2018-01-19 22:32:06 +03:00
alexey-milovidov
1f9ea8b6b0
Merge pull request #1721 from zhang2014/fix/ISSUES-957
ISSUES-957 fix not work when materialized columns with buff table
2018-01-19 21:50:26 +03:00
Nikolai Kochetov
60465df20c fixed arrayPushBack, arrayPushFront tests [#CLICKHOUSE-2998] 2018-01-19 17:03:35 +03:00
Alexey Milovidov
ba4a07c739 Added test [#CLICKHOUSE-2] 2018-01-19 05:21:38 +03:00
proller
76cf0ba5d0 Better tests (#1785)
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed:    dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h

* Fix space

* Fix data in system.build_options

* merge

* merge

* Travis optimize

* optimize

* Fix clickhouse-test --no-long

* no long

* Split too long test

* Better tests

* missing file

* Fix includes

* Added draft [#CLICKHOUSE-2].

* fix

* fix

* fix

* Fix test 281 under asan
2018-01-18 23:33:16 +03:00
Vitaliy Lyudvichenko
0b8d2a2024 Fixed nondeterministic merge in GraphiteMergeTree. [#CLICKHOUSE-2860] 2018-01-18 23:30:03 +03:00
proller
c4c57e0ae2 Fix test 00532_pager_sigpipe 2018-01-18 21:51:10 +03:00
Nikolai Kochetov
de274b317a added ArraySourceVisitor and ArraySinkVisitor [#CLICKHOUSE-2998] 2018-01-18 18:50:35 +03:00
proller
ed80378a43 Split too long test 2018-01-17 16:43:29 +03:00
Nikolai Kochetov
694b305036 added arrayIntersect [#CLICKHOUSE-3504] 2018-01-17 14:36:02 +03:00
Alexey Milovidov
947c979537 Added test #1665 2018-01-16 23:35:10 +03:00
proller
087474ba3d Fix tests 2018-01-16 23:17:31 +03:00
alexey-milovidov
7a25b441f4
Merge pull request #1773 from yandex/small-enhancements
Small enhancements
2018-01-16 22:07:43 +03:00
proller
e8f2bb2d3b
Travis optimize (#1775)
* Travis optimize
2018-01-16 16:44:45 +03:00
Vitaliy Lyudvichenko
3f9f1f7f4c Add forgoten file. [#CLICKHOUSE-2] 2018-01-16 15:12:21 +03:00
Vitaliy Lyudvichenko
b68b60fb38 More detailed test. [#CLICKHOUSE-3]
Resolves #1553.
2018-01-16 15:05:01 +03:00
proller
f6d8436f81 Enable travis (#1772)
* Try travis

* wip

* Try travis

* try

* try

* try

* try

* Revert "try"

This reverts commit 7ecd73c2eb.

* try unbundled

* Try unbundled2

* Try undundled3

* Try unbundled4

* Try5

* try gcc7

* try6

* Try clang

* Try min

* try ccache

* try ccache stats

* no sudo

* try clang

* try ccache

* reset changelog

* Try fix clang

* try limit time

* Faster

* try timeout

* try faster

* Try

* try

* try

* try

* try

* try

* ccache

* Fix

* try test

* try test

* Fix try_listen in some vm's

* fix

* test

* fix

* cache timeout

* packages

* fix

* fix

* fix

* try emb compiler

* Try emb compiler

* Revert "try emb compiler"

This reverts commit 471713cabe.

* try

* Revert "Try emb compiler"

This reverts commit 95e632abf6.

* Skip long

* fix

* fix

* ccache

* fix

* debug

* Fxi test

* test fix

* tes fix

* Fix

* Fix link

* Fix odbc link

* Fxi test

* fix  boost unbundled include

* fix test

* fix test

* test fix

* fix tests

* tests

* Test fail
2018-01-15 21:57:10 +03:00
Vitaliy Lyudvichenko
a95526cd8a Add --silent mode for clickhouse-local. [#CLICKHOUSE-3390] 2018-01-15 18:08:54 +03:00
Vitaliy Lyudvichenko
f20f3f21c4 Update clusters in SYSTEM DROP DNS query. [#CLICKHOUSE-3478] 2018-01-15 17:57:47 +03:00
Alexey Milovidov
15b5c27c1c Fixed error [#CLICKHOUSE-2] 2018-01-14 04:25:35 +03:00
Alexey Milovidov
b42bd53481 Merge branch 'master' into correct-parse-floats 2018-01-13 04:44:43 +03:00
Alexey Milovidov
ca588c7c95 Added performance test #1665. 2018-01-13 04:41:10 +03:00
Alexey Milovidov
74d73af3c4 Addition to prev. revision [#CLICKHOUSE-2]. 2018-01-13 04:37:51 +03:00
Alexey Milovidov
9283c38854 Fixed error [#CLICKHOUSE-2]. 2018-01-13 04:33:55 +03:00
proller
e31aaadc20 clickhouse-test: print number passed and skipped tests 2018-01-12 21:30:15 +03:00
Alexey Milovidov
7a865af32a Integration tests: added clarification [#CLICKHOUSE-2]. 2018-01-12 21:14:54 +03:00
proller
bf2fb5f2cc clickhouse-test: early exit if server died (more than 20 queries failed in chain). Auto use system queries dir. 2018-01-12 16:56:02 +03:00
zhang2014
66dd568e64 ISSUES-957 update condition & test 2018-01-12 21:03:35 +08:00
proller
ebcf462fd6 Fix test reference 2018-01-12 15:25:28 +03:00
Alexey Milovidov
5bb8fe6f03 Added performance test #1665. 2018-01-12 04:32:13 +03:00
Alexey Milovidov
d33ac0ea15 Updated test #1665 2018-01-12 00:33:45 +03:00
Alexey Milovidov
ef8e1dc9f7 Added test #1665 2018-01-12 00:33:19 +03:00
Alexey Milovidov
6ed8c9481c Fixed test [#CLICKHOUSE-2] 2018-01-12 00:31:53 +03:00
Alexey Milovidov
f7235476d7 Fixed test [#CLICKHOUSE-2] 2018-01-12 00:30:34 +03:00
Vitaliy Lyudvichenko
388d47bbbc Merge branch 'CLICKHOUSE-3346-v310' into CLICKHOUSE-3346 2018-01-11 23:51:30 +03:00
Anastasiya Tsarkova
2b8a4cf030 Add ALTER for null storage tables. 2018-01-11 22:13:19 +03:00
Vitaliy Lyudvichenko
47616c31be Added enabled_partitions option. [#CLICKHOUSE-3346] 2018-01-11 21:55:47 +03:00
Vitaliy Lyudvichenko
43ae5a6932 Fixed test. [#CLICKHOUSE-3346] 2018-01-11 21:55:47 +03:00
Vitaliy Lyudvichenko
bdf96eed91 Add integration test and more options. [#CLICKHOUSE-3346] 2018-01-11 21:55:46 +03:00
proller
68b752bf02 Add broken test remote('host:port') 2018-01-11 20:28:49 +03:00
proller
dea5dcd85d Fix tests (sudo params on precise, deleted engine) 2018-01-11 15:26:25 +03:00
Nikolai Kochetov
f0f6343a39 added tests for hasAll and hasAny [#CLICKHOUSE-3504] 2018-01-10 22:00:00 +03:00
张健
6f28e0a66a
Merge branch 'master' into fix/ISSUES-957 2018-01-10 14:53:52 +08:00
Alexey Milovidov
8f0cf29a56 Miscellaneous [#CLICKHOUSE-2]. 2018-01-10 04:45:28 +03:00
Alexey Milovidov
0bfea2f52c Miscellaneous [#CLICKHOUSe-2] 2018-01-10 03:04:08 +03:00
Alexey Milovidov
d5f6c8365e Fixed test [#CLICKHOUSE-2]. 2018-01-10 00:26:11 +03:00
Nikolai Kochetov
aefc9210fa added perftest [#CLICKHOUSE-3503] 2018-01-09 21:51:14 +03:00
Alexey Milovidov
c4e5f8a500 Added test for RIGHT JOIN #1731 2018-01-09 20:31:52 +03:00
proller
694c6ed243 Cmake: move all gtest stuff to one place in dbms/CMakeLists.txt 2018-01-09 20:29:17 +03:00
Roman Tsisyk
5cea83a98d Unbundle contrib/googletest
Allow to use system libgtest-dev/gtest-devel when -DUNBUNDLED is ON.
2018-01-09 20:15:31 +03:00
Alexey Milovidov
e2d70943b8 Unification of Nested: development [#CLICKHOUSE-2]. 2018-01-02 12:11:13 +03:00
Alexey Milovidov
fffad2bb3b Added test [#CLICKHOUSE-2]. 2018-01-02 08:56:26 +03:00
zhang2014
b7639c2324 ISSUES-957 update 00553_buff_exists_materlized_column.sql 2018-01-01 19:56:52 +08:00
zhang2014
6fe64aa346 ISSUES-957 fix not work when materialized columns with buff table 2018-01-01 19:54:14 +08:00
Alexey Milovidov
993a5e44d0 Inverted dependencies in StorageFactory (continued) [#CLICKHOUSE-2]. 2017-12-30 07:00:39 +03:00
proller
1610abdd5c Tests: Dont eat my cpu! 2017-12-29 16:59:01 +03:00
proller
f9d3c01a01 Add package clickhouse-test, allow testing in pbuilder (#1709)
* Allow 32bit build (with warning)

* Add package clickhouse-test

* Test fixes

* fix

* fix

* clickhouse-test: aloow work in read-only queries dir (--tmp)

* Fix test
2017-12-27 22:01:57 +03:00
proller
8c01852dc6 Fix test 2017-12-27 19:18:51 +03:00
proller
015a6c469b clickhouse-test: aloow work in read-only queries dir (--tmp) 2017-12-27 19:04:15 +03:00
Alexey Milovidov
a629039b08 Revert "Disable failed test."
This reverts commit e9b3d45c06.
2017-12-26 20:40:30 +03:00
alexey-milovidov
06bc58bb7c
Merge pull request #1705 from ekonkov/master
Allow tests to be excluded from execution
2017-12-26 20:40:07 +03:00
Evgeny Konkov
e9b3d45c06 Disable failed test. 2017-12-26 17:43:00 +03:00
Evgeny Konkov
2f5ae0766e Disable tests with additional message.
By default disabled tests not running.
Add command line switch to force execution of disabled tests.
2017-12-26 17:42:41 +03:00
Nikolai Kochetov
64fd3fe35a added test for Dictionary(range_hashed) [#CLICKHOUSE-3521] 2017-12-25 23:55:45 +03:00
alexey-milovidov
94cd6fc061 Update 00544_insert_with_select.sql 2017-12-25 19:02:02 +03:00
zhang2014
2e54dcf9b6 ISSUES-1682 support insert into with select 2017-12-25 19:02:02 +03:00
alexey-milovidov
c1701e3a0e Update 00542_access_to_temporary_table_in_readonly_mode.sql 2017-12-25 18:59:35 +03:00
Kirill Shvakov
4099907d51 Add test readonly and temporary tables 2017-12-25 18:59:35 +03:00
alexey-milovidov
9ed28abdb4 Update 00541_to_start_of_fifteen_minutes.sql 2017-12-25 18:58:37 +03:00
Kirill Shvakov
d87aad45e6 add test toStartOfFifteenMinutes 2017-12-25 18:58:37 +03:00
Alexey Milovidov
04eb0b896c Added proper support for Nullable arguments for function OR #1416 2017-12-25 09:33:51 +03:00
Alexey Milovidov
d899d3f8f5 Added functions toNumberOrNull from String argument #1322 2017-12-25 08:22:33 +03:00
Alexey Milovidov
4e2764c2af Added test #1683 2017-12-25 04:38:51 +03:00
Alexey Milovidov
a71b04e377 Fixed "join_use_nulls" mode #1544 2017-12-25 03:38:45 +03:00
Alexey Milovidov
82d429f7ed Allow for function "tupleElement" to get an edge of Array of Tuple (preparation for natural support of Nested) [#CLICKHOUSE-2]. 2017-12-24 12:56:30 +03:00
Alexey Milovidov
0f51be4191 Added support for named tuples in function tupleElement [#CLICKHOUSE-2]. 2017-12-24 12:34:40 +03:00
Alexey Milovidov
5c2c4b34f3 Fixed query formatting in presense of tupleElement operator with complex constant expression in right hand side [#CLICKHOUSE-2]. 2017-12-24 12:33:36 +03:00
Alexey Milovidov
9d60bcf3f9 Added test for unrestricted aggregate function combinators [#CLICKHOUSE-3511]. 2017-12-24 02:30:20 +03:00
Alexey Milovidov
cc79fb6684 Implemented -ForEach aggregate functions combinator for multiple arguments; added test for -ForEachIf and -IfForEach variants [#CLICKHOUSE-3511]. 2017-12-24 02:16:42 +03:00
Alexey Milovidov
334e349d75 Fixed test [#CLICKHOUSE-2]. 2017-12-23 07:25:01 +03:00
Alexey Milovidov
e5a33e6332 Added test for the case when Nullable condition is optimized to PREWHERE #1626 2017-12-23 05:52:13 +03:00
Alexey Milovidov
bd14d22d22 Added test from Marek #1650 2017-12-23 05:06:25 +03:00
Alexey Milovidov
62bccc4eef Updated test [#CLICKHOUSE-2]. 2017-12-23 04:28:50 +03:00