Commit Graph

1324 Commits

Author SHA1 Message Date
zhang2014
21b62eabb6 ISSUES-258 add validation test for ISSUES-258 2018-03-08 09:21:45 +08:00
alexey-milovidov
e41e2fe613
Merge pull request #1912 from zhang2014/fix/ISSUES-369
ISSUES-369 add default database when create materialize view
2018-03-07 23:28:17 +03:00
alexey-milovidov
1ecb9dac72
Merge pull request #1901 from zhang2014/fix/ISSUES-117
ISSUES-117 add show create & exist temporary table
2018-03-07 22:53:11 +03:00
alexey-milovidov
2daf6be96c
Merge pull request #2004 from yandex/CLICKHOUSE-3616
Prohibited non-UInt8 constants in WHERE
2018-03-07 22:07:24 +03:00
Alexey Milovidov
b1467886f2 Added test [#CLICKHOUSE-2] 2018-03-07 21:59:22 +03:00
Vitaliy Lyudvichenko
7c3d0344e8 Prohibited non-UInt8 constants in WHERE. [#CLICKHOUSE-3616] 2018-03-07 16:12:35 +03:00
zhang2014
38fe0698a1 ISSUES-369 add attach & detach test 2018-03-06 21:05:08 +08:00
Nikolai Kochetov
966a7d819b fix test 2018-03-05 19:15:17 +03:00
Nikolai Kochetov
7b983340b8 Merge branch 'remote-table-function-insert-into-local-replica' of github.com:yandex/ClickHouse into remote-table-function-insert-into-local-replica 2018-03-05 17:59:58 +03:00
Nikolai Kochetov
6c66f78f71 renamed shared tests 2018-03-05 17:59:51 +03:00
KochetovNicolai
9f12df3a86
Update 00459_group_array_insert_at.sql 2018-03-05 17:52:59 +03:00
KochetovNicolai
bf6cfadfbc
Update 00557_remote_port.sh 2018-03-05 17:23:33 +03:00
Nikolai Kochetov
f5b9ccf337 Merge branch 'remote-table-function-insert-into-local-replica' of github.com:yandex/ClickHouse into remote-table-function-insert-into-local-replica 2018-03-05 15:38:40 +03:00
Nikolai Kochetov
871a560b37 merged with master 2018-03-05 15:36:17 +03:00
Kirill Shvakov
3c09dacb5f fix test 2018-03-05 14:05:48 +02:00
Alexey Milovidov
ba481a6acd Fixed error with TOTALS [#CLICKHOUSE-3619] 2018-03-03 04:28:13 +03:00
Alexey Milovidov
13e8dd6198 Unified filename of test #1933. 2018-03-02 22:35:34 +03:00
alexey-milovidov
9b4ea7acde
Merge pull request #1933 from zhang2014/fix/ISSUES-1386
ISSUES-1386 add illegal column exception when drop exist depend
2018-03-02 22:33:57 +03:00
zhang2014
361a220743 Merge branch 'master' into fix/ISSUES-117 2018-03-02 19:06:11 +08:00
zhang2014
c400613f03 Merge branch 'master' into fix/ISSUES-369 2018-03-02 18:55:15 +08:00
zhang2014
4a38e97ed6 Merge branch 'master' into fix/ISSUES-1386 2018-03-02 18:03:18 +08:00
Alexey Milovidov
9024cf5fc8 Fixed test [#CLICKHOUSE-2]. 2018-03-02 10:43:47 +03:00
Alexey Milovidov
22bbc9f08c Added limit on size of AST after expansion of aliases [#CLICKHOUSE-18] 2018-03-02 09:33:17 +03:00
Alexey Milovidov
05893c1d44 Miscellaneous [#CLICKHOUSE-2] 2018-03-02 08:52:11 +03:00
zhang2014
ce2b100deb ISSUES-66 add insert into view test 2018-03-01 22:49:16 +08:00
Alexey Milovidov
37f9034575 Updated test #1550 2018-03-01 12:41:40 +03:00
Alexey Milovidov
ca60c0ccdf Added a test from Mikhail Kalashnikov for ALIAS columns in Distributed tables #590 #1947 2018-03-01 12:32:00 +03:00
Alexey Milovidov
a2e649f8c0 Updated test #1947 2018-03-01 11:56:12 +03:00
Alexey Milovidov
b162850754 Fixed error in checking limit on number of columns to read; added test for unnecessary columns removal inside subqueries with UNION ALL #1947 [#CLICKHOUSE-2210] 2018-03-01 11:46:59 +03:00
Alexey Milovidov
559da607fc Added test #878 2018-03-01 11:33:48 +03:00
Alexey Milovidov
8197574e37 Added test #1947 2018-03-01 11:07:46 +03:00
Alexey Milovidov
a27d27ac94 Added test #1947 [#CLICKHOUSE-3264] 2018-03-01 10:47:09 +03:00
Alexey Milovidov
0908ed1561 Added test #1947 2018-03-01 10:27:02 +03:00
Alexey Milovidov
4c87ae427d Added test #1947 2018-03-01 10:18:15 +03:00
Alexey Milovidov
37f27b3e4b Added a test for type conversions in UNION ALL #1947 2018-03-01 10:05:03 +03:00
Alexey Milovidov
0bd9575125 Added a test from FacedSID #859 2018-03-01 09:50:46 +03:00
Alexey Milovidov
322e0ef4ec Added a test from George #728 2018-03-01 09:35:54 +03:00
Alexey Milovidov
69e8133fdc Added a test by Stas Sviridov #320 2018-03-01 09:21:15 +03:00
Alexey Milovidov
f7e0912d81 Added support for LIMIT BY arbitary expressions [#CLICKHOUSE-3613] #1947 2018-03-01 08:24:56 +03:00
Alexey Milovidov
58f9d3decc Better test [#CLICKHOUSE-2] 2018-03-01 07:51:54 +03:00
Alexey Milovidov
cfe900c997 Fixed test #1947. 2018-02-28 23:05:29 +03:00
alexey-milovidov
924cc3451f
Merge pull request #1955 from yandex/CLICKHOUSE-3606
Added consistent hashing functions
2018-02-27 10:52:41 +03:00
Alexey Milovidov
03d4c352ec Fixed bad test #1947 2018-02-26 21:39:21 +03:00
Vitaliy Lyudvichenko
120530e44c Add requested changes. [#CLICKHOUSE-3606] 2018-02-26 15:14:20 +03:00
Vitaliy Lyudvichenko
077f413a0d Added consistent hashing functions. [#CLICKHOUSE-3606] 2018-02-24 00:22:52 +03:00
Alexey Milovidov
d4217d7aac Updated test [#CLICKHOUSE-2] 2018-02-23 14:37:49 +03:00
Alexey Milovidov
90ca41f049 Fixed test #1896 2018-02-23 11:23:31 +03:00
Alexey Milovidov
466837b17c Removed controversial feature #1896 2018-02-23 10:06:59 +03:00
Alexey Milovidov
0207760c05 Limit and quota on result must not apply for intermediate data in subqueries and INSERT SELECT [#CLICKHOUSE-3351] 2018-02-23 09:38:23 +03:00
Alexey Milovidov
640daaf052 Fixed test #1947 2018-02-23 04:00:47 +03:00
zhang2014
88693fe85e ISSUES-1386 add test 2018-02-23 07:14:51 +08:00
Alexey Milovidov
c44108d5eb Allow to CAST Nullable type to non-Nullable as long as there are no NULL values #1947 2018-02-23 00:20:02 +03:00
alexey-milovidov
533b5cbe00
Merge pull request #1938 from yandex/fix-replacing-merge-tree
Fix replacing merge tree vertical merge
2018-02-22 02:06:24 +03:00
alexey-milovidov
d4dcb9412c
Merge pull request #1941 from yandex/unsorted-mergetree
Fix MergeTree idiosyncrasies
2018-02-22 00:36:59 +03:00
Alexey Milovidov
02f7cc2d04 Fixed error with StorageMerge [#CLICKHOUSE-2]. 2018-02-21 23:24:29 +03:00
Alexey Milovidov
4055da5979 Fixed error with filtering of tables by _table virtual column in StorageMerge [#CLICKHOUSE-3583] 2018-02-21 22:44:22 +03:00
Alexey Milovidov
65f4fcc3e3 Merge branch 'master' into header-in-output-streams 2018-02-21 21:58:20 +03:00
Alexey Zatelepin
6fdf82e452 allow the primary key and the partition key to use the same expression [#CLICKHOUSE-3455] 2018-02-21 18:43:24 +03:00
Alexey Zatelepin
e3422ea52e MergeTree without primary key [#CLICKHOUSE-3462] 2018-02-21 17:50:26 +03:00
Nikolai Kochetov
da9b8dbd2c added test for ReplacingMergeTree vertical merge #1914 2018-02-21 17:13:29 +03:00
Vitaliy Lyudvichenko
963c4a972e Fixe a compile test if the compliation if turn off. [#CLICKHOUSE-2] 2018-02-21 17:12:49 +03:00
Vitaliy Lyudvichenko
c80407ad8d Fixed ZK path in a test. [#CLICKHOUSE-2] 2018-02-21 16:52:17 +03:00
Alexey Zatelepin
de46ee4261 fix typo 2018-02-21 15:31:28 +03:00
Alexey Milovidov
8e91a5e1f1 Added test [#CLICKHOUSE-2] 2018-02-21 11:19:17 +03:00
Alexey Milovidov
a69bd2220a Merge branch 'master' into header-in-output-streams 2018-02-21 04:41:09 +03:00
Alexey Milovidov
f6eb5b4b01 Enhanced test [#CLICKHOUSE-3608] 2018-02-21 04:39:46 +03:00
Alexey Milovidov
3dd665179e Fixed error with components of Nested data structures without data and PREWHERE filtering [#CLICKHOUSE-3608] 2018-02-21 04:16:09 +03:00
Tsarkova Anastasia
65a4d300a3 Add test. 2018-02-20 23:19:04 +03:00
zhang2014
3f8c42c97d ISSUES-995 add test 2018-02-20 08:45:32 +08:00
alexey-milovidov
0d38418122
Merge pull request #1926 from yandex/empty-string-floats
Deserialize empty strings as 0 when parsing Float columns
2018-02-19 16:29:03 +03:00
Alexey Zatelepin
8e3bf95f98 add test [#CLICKHOUSE-3603] 2018-02-19 16:00:11 +03:00
zhang2014
bf4813921c ISSUES-995 add test 2018-02-19 19:49:03 +08:00
Alexey Milovidov
74c56c2def Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 06:56:08 +03:00
Alexey Milovidov
25ba8d47bb Updated test [#CLICKHOUSE-1920] #51 2018-02-18 09:36:34 +03:00
Alexey Milovidov
6d17ca0a8b Return single row for aggregation without keys on empty set: updated tests [#CLICKHOUSE-1920] #51 2018-02-18 08:56:45 +03:00
Alexey Milovidov
47ff837c9f Return single row for aggregation without keys on empty set: development [#CLICKHOUSE-1920] #51 2018-02-18 08:39:39 +03:00
Alexey Milovidov
7415513151 Return single row for aggregation without keys on empty set: development [#CLICKHOUSE-1920] #51 2018-02-18 08:35:48 +03:00
Alexey Milovidov
0c0b1f43e9 Header in every stream: fixed non-deterministic test [#CLICKHOUSE-2] 2018-02-18 05:58:07 +03:00
Alexey Milovidov
95d2d68c7d Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 05:22:32 +03:00
Alexey Milovidov
cb7719b062 Added test [#CLICKHOUSE-2754] 2018-02-18 00:26:22 +03:00
Alexey Milovidov
84c110a8ae Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 07:18:29 +03:00
zhang2014
079223b89d ISSUES-369 add test 2018-02-16 16:07:34 +08:00
Vitaliy Lyudvichenko
ca0cdc35eb A test was enhanced. [#CLICKHOUSE-2] 2018-02-15 18:48:26 +03:00
javi
e69421e7a6 fixed function and added test and doc 2018-02-15 16:53:55 +03:00
javi santana
c810db2a01 tests wip 2018-02-15 16:53:55 +03:00
Vitaliy Lyudvichenko
a4177287b1 Fixed too deep AST traversal. [#CLICKHOUSE-2] 2018-02-14 20:39:16 +03:00
zhang2014
f88f4567d0 ISSUES-117 add test 2018-02-14 12:37:39 +08:00
proller
971df7b853 Try fix travis. Use less travis tests (#1897)
* Try fix travis. Use less travis tests

* Disable capnp heavy test

* Travis: add gcc in pbuilder

* Fix

* fix
2018-02-13 21:00:06 +03:00
Vitaliy Lyudvichenko
075a3cd811 Use absoulte paths in Compiler. [#CLICKHOUSE-3573] 2018-02-13 13:32:14 +03:00
Nikolai Kochetov
64b3a8baa7 added secondary sort expression [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
cd7a5290b2 added tests for ReplicatedVersionedCollapsingMergeTree creation [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
67db049297 moved tests for vertical merge into autotests [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
32bdf7c38c renamed MultiversionMergeTree to VersionedCollapsingMergeTree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
db0692eb7c added test for MultiversionMergeTree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Alexey Milovidov
3656aa0606 Improved performance of function arrayElement with constant array when one of element is an empty array #1889 2018-02-13 00:06:13 +03:00
Vitaliy Lyudvichenko
40ac028e21 remote() table function accepts cluster name identifier as the 1st argument. [#CLICKHOUSE-2]
Add cluster(cluster_name, db, table) table function.
2018-02-12 23:35:56 +03:00
Vitaliy Lyudvichenko
56bc773249 Fixed exception catching thrown from compiled .so files. [#CLICKHOUSE-3573] 2018-02-12 23:33:31 +03:00
Alexey Milovidov
55c969d073 Added test [#CLICKHOUSE-2] 2018-02-12 03:55:46 +03:00
zhang2014
7f4f723aa0 ISSUES-180 fix empty function with FixedString 2018-02-10 00:37:13 +08:00
zhang2014
4e36616729 ISSUES-180 add test 2018-02-09 19:38:24 +08:00
alexey-milovidov
d3160393c5
Merge branch 'master' into CLICKHOUSE-3554 2018-02-08 23:07:50 +03:00
alexey-milovidov
d6b7233aa3
Merge pull request #1824 from zhang2014/fix/ISSUES-117
ISSUES-117 support temporary table management
2018-02-08 22:42:10 +03:00
alexey-milovidov
287dbcc3dd
Merge pull request #1763 from zhang2014/fix/ISSUES-320
ISSUES-320 Fix rewrite expression
2018-02-08 20:07:50 +03:00
Vitaliy Lyudvichenko
c575a7fe8a Fix DROP of virtual databases. Add requested changes. [#CLICKHOUSE-3554] 2018-02-08 17:17:51 +03:00
Vitaliy Lyudvichenko
42754a5327 Add new virtual columns into system.tables. [#CLICKHOUSE-3554] 2018-02-08 17:15:40 +03:00
Tsarkova Anastasia
c50ccabb0a Implement MergeTree index using for IN operator with tuple of columns. 2018-02-07 18:29:00 +03:00
Alexey Milovidov
c38e85b1b2 Allow to parse DateTime as unix timestamp without single quotes in Values format #1850 2018-02-06 23:10:49 +03:00
alexey-milovidov
48a29d6474
Merge pull request #1855 from zhang2014/fix/ISSUES-67
ISSUES-67 Use initial column values with default expression
2018-02-06 21:41:43 +03:00
Alexey Milovidov
d1785d92a7 Make Enum comparable again [#CLICKHOUSE-3560]. 2018-02-05 21:39:45 +03:00
Alexey Milovidov
5e37021c18 Added another test [#CLICKHOUSE-3559]. 2018-02-05 21:17:02 +03:00
Alexey Milovidov
4c46a89196 Added another test [#CLICKHOUSE-3559]. 2018-02-05 21:15:47 +03:00
Alexey Milovidov
8b010428a5 Added test [#CLICKHOUSE-3559]. 2018-02-05 21:06:16 +03:00
zhang2014
9f66acaec5 ISSUES-117 add show temporary table test 2018-02-03 16:00:18 +08:00
zhang2014
551910d1e2 ISSUES-67 add test 2018-02-03 14:49:49 +08:00
zhang2014
982b2ee7ca ISSUES-117 resolve some opinions 2018-02-02 22:20:35 +08:00
zhang2014
4875a80825 Merge branch 'master' into fix/ISSUES-117 2018-02-02 20:21:40 +08:00
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
KochetovNicolai
901c00f477
Rename 00563_insert_into_remote.sql to 00563_shard_insert_into_remote.sql 2018-01-29 20:48:52 +03:00
KochetovNicolai
66a5680ab9
Rename 00563_insert_into_remote.reference to 00563_shard_insert_into_remote.reference 2018-01-29 20:48:14 +03:00
Nikolai Kochetov
21935dc53e removed remote(127.0.0.1) from tests 2018-01-29 14:40:28 +03:00
Nikolai Kochetov
277e3b8364 test for insert into remote table function 2018-01-29 13:08:25 +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
Vitaliy Lyudvichenko
e2fb6d8c80 Merge remote-tracking branch 'origin/master' into CLICKHOUSE-3346 2018-01-25 22:00:08 +03:00
Vitaliy Lyudvichenko
d6db480be1 Forward settings through Distributed table. [#CLICKHOUSE-3346] 2018-01-25 19:04:54 +03:00
Alexey Milovidov
6066f3b8d2 Removed flappy test [#CLICKHOUSE-2] 2018-01-24 03:10:06 +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
proller
c4c57e0ae2 Fix test 00532_pager_sigpipe 2018-01-18 21:51:10 +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
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
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
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
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
zhang2014
66dd568e64 ISSUES-957 update condition & test 2018-01-12 21:03:35 +08:00