Commit Graph

2005 Commits

Author SHA1 Message Date
alexey-milovidov
bce94dae9b
Merge pull request #2887 from housepower/retention
Add AggregateFunctionRetention
2018-08-20 09:38:43 +03:00
Alexey Milovidov
79fb33d14f Fixed test #2015 2018-08-20 06:28:21 +03:00
Alexey Milovidov
b07ad553ef Fixed test #2015 2018-08-20 06:27:16 +03:00
Alexey Milovidov
40a0551d85 Client --testmode cannot be used to catch exceptions thrown from query parser #2840 2018-08-19 23:41:45 +03:00
Alexey Milovidov
1802b00c0b Fixed bad arithmetic; miscellaneous #2482 2018-08-19 07:25:53 +03:00
sundy-li
63d74978d8 add AggregateFunctionRetention 2018-08-18 20:39:07 +08:00
Alexey Milovidov
76af46ed5d Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
Conflicts:
	dbms/src/Interpreters/Settings.h
	dbms/tests/queries/0_stateless/00687_top_and_offset.sql
2018-08-16 00:44:24 +03:00
zhang2014
1549baa4e9 ISSUES-863 fix test failure #2015 #2840 2018-08-15 13:43:44 +08:00
Alexey Milovidov
ab2213442d Miscellaneous #2482 2018-08-15 01:01:41 +03:00
Alexey Milovidov
9916a75f2e Merging #2482 2018-08-15 00:35:26 +03:00
alexey-milovidov
ce9c6a5ab3
Merge branch 'master' into feature/ISSUES-863 2018-08-15 00:34:23 +03:00
Alexey Milovidov
c80db48a6e Merging #2482 2018-08-15 00:32:49 +03:00
alexey-milovidov
8586e6bb2e
Merge pull request #2787 from zhang2014/fix/replace_asterisk
ISSUES-2786 fix replace asterisk with join query
2018-08-15 00:28:35 +03:00
alexey-milovidov
e7b671ec98
Merge branch 'master' into feature/ISSUES-863 2018-08-15 00:10:21 +03:00
Alexey Milovidov
acb99b49df Merge branch 'master' into CLICKHOUSE-2910 2018-08-14 23:29:42 +03:00
alexey-milovidov
c376b2d476
Merge pull request #2869 from yandex/low-cardinality-fixes
LowCardinality fixes
2018-08-14 22:36:19 +03:00
Nikolai Kochetov
2953be89a4 Merge branch 'master' of github.com:yandex/ClickHouse 2018-08-14 21:00:41 +03:00
Nikolai Kochetov
fce3bc193b Updated test for JOIN ON syntax. [#CLICKHOUSE-3761] 2018-08-14 21:00:17 +03:00
Nikolai Kochetov
2f0f7eacbf Updated test. [#CLICKHOUSE-3621] 2018-08-14 20:19:55 +03:00
chertus
8c54b480bc minor fix 2018-08-14 16:26:23 +03:00
chertus
74823c8c17 add allow_experimental_decimal to settings 2018-08-14 15:51:45 +03:00
chertus
241b05c80a merge master 2018-08-14 15:50:28 +03:00
alexey-milovidov
6b3375393d
Merge pull request #2840 from VadimPE/CLICKHOUSE-3211
CLICKHOUSE-3211 add TOP m, and OFFSET k
2018-08-14 12:55:12 +03:00
Vadim
077ed3a61b
Update 00687_top_and_offset.sql 2018-08-14 12:12:38 +03:00
Vadim
f6d6c4b8f7
Update 00687_top_and_offset.sql 2018-08-14 12:09:25 +03:00
alexey-milovidov
3e9f25b1b4
Merge pull request #2830 from yandex/data-type-with-dictionary
LowCardinality data type.
2018-08-13 23:49:21 +03:00
Nikolai Kochetov
df73ef1ba5 Fix tests. 2018-08-13 22:43:26 +03:00
alexey-milovidov
c19213c6e7
Merge pull request #2845 from yandex/fix-arrayDistinct
fix arrayDistinct
2018-08-13 19:46:53 +03:00
alesapin
88f1346be4
Merge pull request #2860 from alesapin/fix_test
Fix 00606_quantiles_and_nans test
2018-08-13 18:59:11 +03:00
alesapin
808068526b Fix 00606_quantiles_and_nans test 2018-08-13 18:03:53 +03:00
alesapin
d6fbf23e9d Fix 00606_quantiles_and_nans test 2018-08-13 18:02:23 +03:00
Vadim
4e0e500e15
Update 00687_top_and_offset.sql 2018-08-13 13:49:00 +03:00
Vadim
b9b6818325
Merge branch 'master' into CLICKHOUSE-3211 2018-08-13 13:48:44 +03:00
Vadim
ed97f7e475
Update 00687_top_and_offset.sql 2018-08-13 13:47:38 +03:00
sundy-li
4b9a1390ff add quantile tests 2018-08-13 17:28:49 +08:00
alexey-milovidov
f538bd2113
Merge branch 'master' into decimal 2018-08-13 11:57:42 +03:00
VadimPE
a2b1100a82 add tests 2018-08-13 11:52:56 +03:00
zhang2014
741abc2644 ISSUES-2803 add query test #2803 2018-08-13 11:02:50 +08:00
zhang2014
d7cd77640d ISSUES-2786 fix replace asterisk with join query 2018-08-13 11:01:55 +08:00
zhang2014
d766d4b014 ISSUES-2850 add dependencies for system tables 2018-08-12 16:05:12 +08:00
zhang2014
dd10e85e90 ISSUES-2850 add dependencies for system tables 2018-08-11 17:35:29 +08:00
chertus
01c8b1d7bb decimal field extraction (from column or type) 2018-08-10 17:57:55 +03:00
VadimPE
6e461213bb CLICKHOUSE-3211 add tests 2018-08-10 14:27:55 +03:00
chertus
479166283e DecField (in progress) 2018-08-09 19:32:01 +03:00
chertus
cc033803d1 decimale Dec128 arithm overflow 2018-08-09 15:24:03 +03:00
Nikolai Kochetov
2099d8b7e8 Fixed DataTypeWithDictionary serialization. 2018-08-09 13:52:58 +03:00
Nikolai Kochetov
dc828d462c Added test for LowCardinality defaults 2018-08-09 13:52:45 +03:00
chertus
c45b5d9f9a decimal arithm overflow (except dec128) 2018-08-08 23:15:49 +03:00
Nikolai Kochetov
f1c05a2192 Added test with LowCardinality strings serialization. 2018-08-08 18:28:19 +03:00
Nikolai Kochetov
95c64aa5a9 Added test for LowCardinality and WithDictionary. 2018-08-08 17:42:04 +03:00
chertus
5f93ab73fa decimal compare overflow 2018-08-08 16:57:16 +03:00
Alexey Milovidov
207a2b8b3c Fixed error #2795 2018-08-08 06:09:59 +03:00
Alexey Milovidov
1082619320 Added test #2813 2018-08-08 03:10:01 +03:00
Alexey Milovidov
e99a24c12c Fixed test #2813 2018-08-08 03:07:40 +03:00
alexey-milovidov
b1d70c125f Update 00685_output_format_json_escape_forward_slashes.sql 2018-08-08 02:35:32 +03:00
Alex Bocharov
e8d4654419 Remove FormatSettings default value for writeJSONString and add tests for output_format_json_escape_forward_slashes. 2018-08-08 02:35:32 +03:00
chertus
cae97b1e59 abs for decimal 2018-08-07 17:35:21 +03:00
chertus
7984b4f91d negate for dec128 2018-08-07 17:12:24 +03:00
alexey-milovidov
1d7e4a439c
Merge pull request #2791 from CurtizJ/CLICKHOUSE-3785
CLICKHOUSE-3785 add murmurHash3, update FunctionStringHash template.
2018-08-07 00:21:43 +03:00
Anton Popov
0d5c3b7967
Update 00678_murmurhash.sql 2018-08-06 23:53:28 +03:00
Anton Popov
0f2aceba02
Update 00678_murmurhash.reference 2018-08-06 23:52:56 +03:00
Alexey Zatelepin
6d7c1cfaa4 add test that empty parts correctly merge to an empty part [#CLICKHOUSE-3879] 2018-08-06 19:54:00 +03:00
Alexey Zatelepin
1f2d4f90b9 allow empty parts after merge for Summing, Collapsing and VersionedCollapsing engines [#CLICKHOUSE-3879] 2018-08-06 19:54:00 +03:00
chertus
b700d7c7db minor changes 2018-08-06 16:48:40 +03:00
chertus
c590a74981 Merge branch 'master' into decimal 2018-08-06 13:38:18 +03:00
Anton Popov
efddb89d18
Merge branch 'master' into CLICKHOUSE-3785 2018-08-06 12:42:01 +03:00
ap11
58fe7b3cfc add tests 2018-08-06 12:38:26 +03:00
ap11
2d41b958a3 add test 2018-08-06 12:35:13 +03:00
Alexey Milovidov
2016374d20 Merging #2226 2018-08-05 10:05:43 +03:00
Alexey Milovidov
b9914d6bcd Revert "Updated tests #2094"
This reverts commit 47554229c0.
2018-08-05 09:19:49 +03:00
Alexey Milovidov
d99ef95846 Revert "Check for ambiguous column names in subqueries #2094"
This reverts commit 36eae150d6.
2018-08-05 09:18:53 +03:00
Alexey Milovidov
47554229c0 Updated tests #2094 2018-08-05 08:25:37 +03:00
Alexey Milovidov
cf2df6d780 Added a test from Stas Sviridov #2083 2018-08-05 07:56:19 +03:00
Alexey Milovidov
ab96e1d581 Imported test from #2094 2018-08-05 07:06:49 +03:00
Alexey Milovidov
36eae150d6 Check for ambiguous column names in subqueries #2094 2018-08-05 07:02:29 +03:00
Alexey Milovidov
5bce1d78b0 Correct number of columns is returned from an element of UNION ALL inside a subquery if some column was queried more than once #2786 2018-08-05 06:28:31 +03:00
Alexey Milovidov
fd42e90b2a Merging; added a test #2618 #2611 #1770 2018-08-03 23:25:47 +03:00
Alexey Zatelepin
a70301d1f2 add tests for mutations cleaner [#CLICKHOUSE-3828] 2018-08-03 22:21:44 +03:00
chertus
a338f657d5 unari arithm operations for decimal (partial support) 2018-08-03 19:32:55 +03:00
chertus
e31e4e164f add least and greatest funcs for decimal 2018-08-03 17:46:02 +03:00
chertus
a5a7dc0fdd Merge branch 'master' into decimal 2018-08-03 13:30:27 +03:00
chertus
36b8204114 one more minor fix 2018-08-03 13:28:31 +03:00
chertus
65882bc42e minor fix 2018-08-03 13:20:44 +03:00
chertus
e1881d4cfb fix decimal vs int arithm, add some tests 2018-08-02 17:28:55 +03:00
zhang2014
d61c53fc3e ISSUES-863 support predicate push down with subquery 2018-08-01 17:56:02 +08:00
alexey-milovidov
405d7f9232
Merge pull request #2742 from yandex/support-join-on-syntax
Support join on syntax
2018-08-01 00:30:46 +03:00
Alexey Milovidov
3caadfadc6 Fixed test #2750 2018-07-31 04:24:32 +03:00
chertus
321615ce56 make 00700_decimal_bounds test stable 2018-07-30 22:19:06 +03:00
chertus
4a1b7cfebf Merge branch 'master' into decimal 2018-07-30 21:51:08 +03:00
Alexey Milovidov
cfb3537eb6 Updated test #2756 2018-07-30 21:26:20 +03:00
chertus
582f76c83b string to decimal, decimal to string, check decimal bounds 2018-07-30 21:10:38 +03:00
Alexey Milovidov
2fb75a88c3 Fixed test #2756 2018-07-30 20:43:13 +03:00
alexey-milovidov
be657c33e6
Merge pull request #2756 from CurtizJ/CLICKHOUSE-3785
Clickhouse 3785 Add MurmurHash2
2018-07-30 18:57:38 +03:00
zhang2014
9e052b13d1 ISSUES-2700 add funnel window crash test 2018-07-30 18:51:06 +03:00
ap11
45ce69e73d Add case insensitive coalesce ifnull, nullif. 2018-07-30 18:50:12 +03:00
ap11
d45ce92b89 add tests for murmurhash2 2018-07-30 16:41:07 +03:00
Alexey Milovidov
a2101df25a Fixed error in aggregate function "anyHeavy"; added a test [#CLICKHOUSE-3867] 2018-07-27 22:51:13 +03:00
Alexey Milovidov
448bcdfdb4 Added a test [#CLICKHOUSE-3855] 2018-07-27 21:17:32 +03:00
chertus
845edbe242 CLICKHOUSE-2: support negative tests 2018-07-27 20:41:05 +03:00
Nikolai Kochetov
b5d6240646 Merged with master 2018-07-27 19:21:43 +03:00
Nikolai Kochetov
a2cd7016e5 Added test for join on syntax. [#CLICKHOUSE-3761] 2018-07-27 19:04:17 +03:00
Vadim
ad006166b5
Update 00675_shard_remote_with_table_function.sql 2018-07-26 20:50:32 +03:00
Vadim
da41c5cf47
Update 00675_shard_remote_with_table_function.sql 2018-07-26 20:49:51 +03:00
VadimPE
894c5b356d CLICKHOUSE-3837 2018-07-26 19:15:15 +03:00
VadimPE
5c4b4e96f7 CLICKHOUSE-3837 fix test 2018-07-26 18:33:07 +03:00
VadimPE
bb5d8db9a1 CLICKHOUSE-3837 fix tests 2018-07-26 18:13:00 +03:00
alexey-milovidov
2854818378
Update 00675_remote_with_table_function.sql 2018-07-26 14:38:07 +03:00
VadimPE
63ac512c60 CLICKHOUSE-3837 add tests 2018-07-26 11:06:06 +03:00
Alexey Milovidov
5ce488ebe3 Merge branch 'master' of github.com:yandex/ClickHouse 2018-07-23 21:13:18 +03:00
Alexey Milovidov
d400b4e9db Added test #2699 2018-07-23 21:12:48 +03:00
Alexey Zatelepin
4c4da31cc2 check number of arguments for -Array combinator [#CLICKHOUSE-3853] #2703 2018-07-23 19:54:25 +03:00
Alexey Milovidov
9af2a9179e Added test #2677 2018-07-20 03:00:04 +03:00
Vadim
b8ae9f7951 [CLICKHOUSE-2830] add FunctionArrayDistinct (#2670)
* [CLICKHOUSE-2830] add FunctionArrayDistinct

* [#CLICKHOUSE-2830] Add tests and fix

* [CLICKHOUSE-2830] fix bug with array without NULL

* [CLICKHOUSE-2830] fix test

* [CLICKHOUSE-3844] Add suport Tuple and other types in Uniq, EnumerateUniq and Distinct

* [CLICKHOUSE-3844] Add '\n'

* [CLICKHOUSE-3844] fix

* [CLICKHOUSE-2830] del Nullable return type

* Update FunctionsArray.cpp

* [CLICKHOUSE-3844] add new tests

* [CLICKHOUSE-3844] add new tests
2018-07-19 16:53:32 +03:00
alexey-milovidov
f491bccb1c Update 00633_func_or_in.sql 2018-07-18 09:27:25 +03:00
chenxing.xc
9bf6f8a62c add test for #2663 2018-07-18 09:27:25 +03:00
Constantin S. Pan
8539c1e119 Fix the column size difference bug in SummingMergeTree 2018-07-18 00:17:04 +03:00
Alexey Milovidov
09d9ac671b Added a test #2657 2018-07-16 19:31:34 +03:00
Alexey Milovidov
9de268a455 Added a test from Silviu Caragea #2026 2018-07-16 09:06:44 +03:00
Alexey Milovidov
0a2e6eca45 Implemented generic case for comparison operators #2026 2018-07-16 09:06:44 +03:00
Alexey Milovidov
6a2d8d4f3f Added support for arbitary complex types in "uniq" family of aggregate functions #2010 2018-07-16 06:55:41 +03:00
Alexey Milovidov
77ed75e1d3 Merge branch 'master' into amosbird-master 2018-07-16 06:34:22 +03:00
alexey-milovidov
947c5eb6c9
Avoid accidential truncating table in default database in test. 2018-07-16 06:32:43 +03:00
Alexey Zatelepin
b1a97f90fc add test [#CLICKHOUSE-3748] 2018-07-16 06:22:22 +03:00
Alexey Milovidov
ad3d882b67 Mitigate race condition in test [#CLICKHOUSE-2] 2018-07-16 04:10:41 +03:00
Alexey Milovidov
63d3d9c8ed Added a test from Silviu Caragea #1322 2018-07-16 03:30:13 +03:00
Alexey Milovidov
13e5b246f8 Added test #1322 2018-07-16 03:30:13 +03:00
alexey-milovidov
9793ae98e0
Merge pull request #2521 from ssmike/CLICKHOUSE-3547
CLICKHOUSE-3547 streaming histogram aggregation
2018-07-11 15:48:12 +03:00
Alexey Milovidov
8eea4ae9cd Fixed race condition in test #2604 2018-07-10 22:00:07 +03:00
Amos Bird
f5764910c4 Fix TRUNCATE command for temporary tables. 2018-07-10 22:25:08 +08:00
Amos Bird
ea01a3b22e add OPTIMIZE FINAL support for ReplicatedMergeTree. 2018-07-09 18:03:23 +03:00
Alexey Milovidov
a34f1231f3 Fixed error with empty TinyLog table; added a test from Nickolay Kovalev #2563 2018-07-07 23:05:52 +03:00
Alexey Milovidov
d2a44248cd Fixed error with empty TinyLog table; added a test from Nickolay Kovalev #2563 2018-07-07 22:02:10 +03:00
Alexey Milovidov
c126b9a5ab Fixed trashy test #2115 2018-07-07 21:52:58 +03:00
Mikhail Surin
ca837723ed fix unique for empty point sets 2018-07-07 13:40:32 +03:00
Alexey Milovidov
c3b7abaa8b Added another test #2115 2018-07-06 22:47:08 +03:00
Alexey Milovidov
299d029d35 Added a test from Silviu Caragea #2115 2018-07-06 22:22:12 +03:00
Nikolai Kochetov
f676fed344 Added test with monotonic integer cast. 2018-07-06 18:55:26 +03:00
Amos Bird
78beacb3a5 Make OPTIMIZE be able to merge all parts with FINAL. 2018-07-05 21:32:54 +03:00
Alexey Zatelepin
fe83c8dab1 stricter validation of mutation commands #2588 2018-07-05 17:19:33 +03:00
Mikhail Surin
0418f179dc merge review 2018-07-05 16:29:43 +03:00
Mikhail Surin
f598e6d47c add tests 2018-07-05 12:53:42 +03:00
Alexey Milovidov
018e48399e Make the test results more stable with respect to floating point calculations method #2521 2018-07-05 01:37:48 +03:00
Alexey Milovidov
bfc29a3b91 Updated test #2521 2018-07-05 01:32:55 +03:00
Alexey Milovidov
efb4eab4fd Merge branch 'CLICKHOUSE-3547' of https://github.com/ssmike/ClickHouse into ssmike-CLICKHOUSE-3547 2018-07-05 00:29:40 +03:00
Alexey Milovidov
c6eaca7c67 Adaptations #2574 2018-07-05 00:15:29 +03:00
Alexey Milovidov
7bdafa6105 Merge branch 'master' of https://github.com/amosbird/ClickHouse into amosbird-master 2018-07-04 23:54:54 +03:00
Alexey Milovidov
47958bee7c Merge branch 'feature-agg-func-in-summing-merge-tree' of https://github.com/kvap/ClickHouse into kvap-feature-agg-func-in-summing-merge-tree 2018-07-04 23:34:28 +03:00
Alexey Milovidov
4535f96148 Implemented TODO #2584 2018-07-04 20:28:52 +03:00
Alexey Milovidov
8fd1dbf6ec Make the test compatible with different versions of curl #2490 2018-07-04 20:28:52 +03:00
Alexey Milovidov
76e35959fb Fixed test #2490 2018-07-04 20:28:52 +03:00
Nikolai Kochetov
d49a39e5e5 Added test with runningDifference function. #2590 2018-07-04 20:25:48 +03:00
Alexey Milovidov
f00f9d1f9a Merge branch 'master' into CLICKHOUSE-2910 2018-07-04 16:29:58 +03:00
Alexey Zatelepin
48c48c6c9a add functional test for mutations of Replicated tables [#CLICKHOUSE-3747] 2018-07-02 22:34:15 +03:00
Nikolai Kochetov
67755fe882 Added test. #2580 2018-07-02 20:46:33 +03:00
Nikolai Kochetov
6e5e57353a Review fixes. [#CLICKHOUSE-3694] #2156 2018-06-29 19:18:50 +03:00
Nikolai Kochetov
f5ecd410ae Renamed test. 2018-06-29 17:05:02 +03:00
Amos Bird
900b046943 Add options to enable parsing CSV with single/double quote. 2018-06-29 15:34:55 +08:00
alexey-milovidov
3904ba561f
Merge branch 'master' into CLICKHOUSE-2910 2018-06-28 20:47:25 +03:00
Alexey Milovidov
d4eefc414c Merge branch 'query_in_form_data' of https://github.com/stavrolia/ClickHouse into stavrolia-query_in_form_data 2018-06-28 20:34:58 +03:00
Nikolai Kochetov
29ef36a270 Added test. [#CLICKHOUSE-3794] 2018-06-28 20:15:12 +03:00
Alexey Milovidov
6f21706f65 Added test #2553 2018-06-28 19:05:41 +03:00
Alexey Milovidov
493b67d051 Removed useless file [#CLICKHOUSE-2] 2018-06-28 18:59:39 +03:00
stavrolia
5966b78d41 add case with external file 2018-06-27 21:53:11 +03:00
Constantin S. Pan
59e7af6926 Add a test with materialized view against null table and lots of data 2018-06-26 16:26:51 +01:00
Nikolai Kochetov
0eed697623 Fixed typo. 2018-06-26 14:28:24 +03:00
Constantin S. Pan
cc4c4e0b49 Make the test more comprehensive and fix bugs in AggregateFunction implementation of SummingMergeTree 2018-06-26 11:28:42 +01:00
stavrolia
e1cd4d22db Add test (#2490) 2018-06-25 21:17:10 +03:00
Nikolai Kochetov
ba4cf6faf0 Merged with master. 2018-06-25 15:08:21 +03:00
Nikolai Kochetov
7c95d15374 Added test. #2525 2018-06-25 13:57:28 +03:00
Mikhail Surin
021f3b564b add tests 2018-06-22 21:30:13 +03:00
Constantin S. Pan
1333b5e97b Fix the test for AggregateFunction in SummingMergeTree 2018-06-22 16:29:04 +01:00
Alexey Zatelepin
b247635acf disable unreliable test [#CLICKHOUSE-3758] 2018-06-22 13:46:07 +03:00
zhang2014
f4e72792a5 ISSUES-2553 add offset parameter to numbers 2018-06-22 12:55:36 +03:00
Vitaliy Lyudvichenko
1a4157f2a9 clickhouse_common_io does not depend on dbms. [#CLICKHOUSE-2910]
Get rid of extra linking dependencies for clickhouse_common_io. [#CLICKHOUSE-2910]
2018-06-21 15:13:56 +03:00
Vitaliy Lyudvichenko
358e4ae9bf Fixed failures in utils, more precise test. [#CLICKHOUSE-2910] 2018-06-20 18:41:15 +03:00
Vitaliy Lyudvichenko
310bb4116e Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910 2018-06-19 23:33:11 +03:00
Sergei Tsetlin (rekub)
987644e1e7 shift arguments, some problem seems found! 2018-06-19 16:36:53 +03:00
Sergei Tsetlin (rekub)
32557a36c5 test aggregation state multiply 2018-06-19 14:21:44 +03:00
proller
a4e6f726e8 Build and test fixes 2018-06-19 00:13:11 +03:00
Vitaliy Lyudvichenko
8dc1bebf00 Add logs forwarding from remote severs to client. [#CLICKHOUSE-2910] 2018-06-18 19:30:26 +03:00
Vitaliy Lyudvichenko
392f6e0c6c Print query_id in logs. Add own logging interface. [#CLICKHOUSE-2910] 2018-06-18 16:41:13 +03:00
alexey-milovidov
239021eb7a
Merge pull request #2501 from alesapin/master
Add table function url and storage URL.
2018-06-16 08:56:15 +03:00
alexey-milovidov
e6daa67beb
Merge pull request #1890 from yandex/lz4_experiments
Faster LZ4 decompression (experimental) + simple draft of data mutator.
2018-06-16 04:57:47 +03:00
Constantin S. Pan
ca88ba7cfa Add a test for AggregateFunction in SummingMergeTree 2018-06-15 16:11:43 +01:00
alesapin
4125b0c7f3 Merge remote-tracking branch 'upstream/master' 2018-06-14 21:06:24 +03:00
Vitaliy Lyudvichenko
608895d9ff Disable compression for Log packets. [#CLICKHOUSE-2910] 2018-06-14 18:33:59 +03:00
Vitaliy Lyudvichenko
4cd230f85c Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910 2018-06-14 16:04:00 +03:00
Vitaliy Lyudvichenko
95b42afcb9 Add test for profile events logging. [#CLICKHOUSE-2910] 2018-06-14 14:56:12 +03:00
Alexey Milovidov
95e4bcdb56 Fixed non-deterministic test #2352 2018-06-13 22:42:04 +03:00
alesapin
567bbb2bbb Fix header path and small fixes in tests 2018-06-13 10:36:47 +03:00
alesapin
ceef414cb8 Add simple tests for table function url and table function engine 2018-06-12 18:59:43 +03:00
Alexey Milovidov
777ace12b4 Added test #1890 2018-06-12 06:44:53 +03:00
Alexey Milovidov
6475ea98c7 Merging: Fixed most of problems, actualized test #2260 2018-06-09 21:17:27 +03:00
Alexey Milovidov
d864f39ec7 Merge branch 'master' into zhang2014-feature/support_truncate 2018-06-09 19:10:06 +03:00
Vitaliy Lyudvichenko
c04dfb40a6 Fixed memory tracking. [#CLICKHOUSE-2910] 2018-06-09 18:29:08 +03:00
Alexey Milovidov
0bc678474e Merge branch 'feature/support_truncate' of https://github.com/zhang2014/ClickHouse into zhang2014-feature/support_truncate 2018-06-09 17:24:50 +03:00
Vitaliy Lyudvichenko
ed7cd86f09 Fixed several bug. Trun on --server_logs_level=warning in tests. [#CLICKHOUSE-2910]
Fixed several test to be compatible with --server_logs_level=warning.
2018-06-08 22:50:15 +03:00
Alexey Milovidov
c937e2ebc6 Added test #1710 2018-06-08 06:27:44 +03:00
Alexey Milovidov
f483e4cb05 Added test for already fixed issue [#CLICKHOUSE-3750] 2018-06-08 00:27:05 +03:00
Alexey Milovidov
27fac69f1a Actualized tests [#CLICKHOUSE-3764] 2018-06-08 00:09:57 +03:00
Alexey Milovidov
8901414ad2 Fixed error; added test [#CLICKHOUSE-3764] 2018-06-07 23:49:59 +03:00
Alexey Milovidov
f71eb36719 Added test [#CLICKHOUSE-3764] 2018-06-07 23:37:16 +03:00
alexey-milovidov
be4be0758a
Remove escaping in presentational formats (#2476)
* Removed escaping in presentational formats; changed a way how NULL is output #1729

* Addition to prev. revision #1729

* Addition to prev. revision #1729

* Updated tests #1729

* Updated function visibleWidth to be consistent with Pretty formats #1729
2018-06-07 04:30:29 +03:00
Alexey Milovidov
cc1691949a Modified tests #2429 2018-06-07 00:15:47 +03:00
Alexey Milovidov
5fa25968c8 Merge branch 'task_ends_starts' of https://github.com/VadimPE/ClickHouse into VadimPE-task_ends_starts 2018-06-06 23:36:22 +03:00
Vadim
57f961138e add \n 2018-06-06 22:55:08 +03:00
Vadim
2ca21dfde7 fix 2018-06-06 22:36:14 +03:00
Vadim
4b5e28a9d1 fix test's name 2018-06-06 21:49:43 +03:00
Vadim
fec000b8dc Add new tests and new impl 2018-06-06 21:22:49 +03:00
Alexey Milovidov
b6a6e391b8 Fixed minor security issue [#CLICKHOUSE-3758] 2018-06-06 21:05:35 +03:00
Alexey Milovidov
583b9af56f Fixed error: user settings don't apply when using session_id parameter [#CLICKHOUSE-3763] 2018-06-06 20:35:35 +03:00
proller
c1904d3c55
Build and test fixes (#2470) 2018-06-05 20:43:10 +03:00
alexey-milovidov
39e69b421a
Merge pull request #2468 from yandex/fix-partition-key-parts-pruning
Fix pruning of parts by conditions on partition key columns
2018-06-05 15:52:47 +03:00
Alexey Zatelepin
0e63004ecf add test [#CLICKHOUSE-3757] 2018-06-05 14:00:17 +03:00
alexey-milovidov
88efe5ad56
Merge pull request #2463 from yandex/pvs-studio
Fixes according to PVS-Studio report.
2018-06-04 22:59:47 +03:00
Alexey Milovidov
f467fb38c7 Fixed bug found by PVS-Studio; added test [#CLICKHOUSE-3] 2018-06-04 22:37:58 +03:00
Nikolai Kochetov
bc2be6afe3 Added more tests for in function in with pk columns. 2018-06-04 17:10:54 +03:00
Nikolai Kochetov
5717b16165 Updated test with in syntax. [#CLICKHOUSE-3749] 2018-06-04 16:32:20 +03:00
Alexey Zatelepin
89ebe9c49f add SYSTEM SYNC REPLICA before OPTIMIZE FINAL for test stability 2018-06-01 22:51:36 +03:00
Alexey Zatelepin
af06ca5d3c Merge branch 'master' into replicated-mergetree-mutations 2018-06-01 16:21:14 +03:00
Alexey Milovidov
848032ef16 Added test [#CLICKHOUSE-3726] 2018-05-31 21:28:47 +03:00
Alexey Zatelepin
f63d2dc3c8 cannot take a number of unlocked abandonable lock 2018-05-31 20:28:17 +03:00
Alexey Milovidov
eeefe89acd Added test [#CLICKHOUSE-3092] 2018-05-31 20:06:07 +03:00
Vitaliy Lyudvichenko
888f5f4a24 Allow merges after CLEAR COLUMN. [#CLICKHOUSE-3]
Resolves #2315
2018-05-31 17:14:50 +03:00
proller
dc721ed721 Try make cache for getSampleBlock (#2313)
* Cache for getSampleBlock

* Update InterpreterSelectWithUnionQuery.cpp

* Update 00632_get_sample_block_cache.sql

* Add tests
2018-05-30 22:23:15 +03:00
Vadim
620b4a2587 fix tests 2018-05-30 02:21:20 +03:00
Vadim
cf9c03a7bd add test 2018-05-29 22:18:05 +03:00
proller
6a70df6d26
Again fix test 00505_secure with random ports (#2436) 2018-05-28 23:55:13 +03:00
proller
895b8e6515
Fix test 00505_secure with random ports (#2433) 2018-05-28 23:38:46 +03:00
Vitaliy Lyudvichenko
42d5c6925c Removed bad test. [#CLICKHOUSE-2] 2018-05-23 21:29:35 +03:00
Vitaliy Lyudvichenko
87ad1df259 More atomic insert to MATERIALIZED VIEW. [#CLICKHOUSE-3743] 2018-05-23 19:18:04 +03:00
Vitaliy Lyudvichenko
c888903488
Add query ALTER TABLE t1 [REPLACE|ATTACH] PARTITION FROM t2
* Add ATTACH PARTITION FROM table for MergeTree. [#CLICKHOUSE-3546]

* Implemented replicated case on non-leader replica. [#CLICKHOUSE-3546]

* Disable merges in the dropping range. [#CLICKHOUSE-3546]

* DROP PARTITION is atomic and simpler now. [#CLICKHOUSE-3546]

* Implemented more SYSTEM queries. [#CLICKHOUSE-2931] [#CLICKHOUSE-3546]

SYSTEM queries:
RESTART REPLICAS
SYNC REPLICA db.name
STOP MERGES [db.name]
START MERGES [db.name]
STOP FETCHES [db.name]
START FETCHES [db.name]
STOP REPLICATED SENDS [db.name]
START REPLICATED SENDS [db.name]
STOP REPLICATION QUEUES [db.name]
START REPLICATION QUEUES [db.name]

* Fixed a bunch of bugs in REPLACE PARTITION. [#CLICKHOUSE-3546]

* Add tests for REPLACE PARTITION and SYSTEM. [#CLICKHOUSE-3546]

* Add system.part_log logging. [#CLICKHOUSE-3546]

* Fixed long wait in SYNC REPLICA. [#CLICKHOUSE-3546]

* Add requested changes. [#CLICKHOUSE-3546]

Fixed clickhouse-client bad return code.

* Add requested chenges. [#CLICKHOUSE-3546]

* Add requested chenges. [#CLICKHOUSE-3546]
2018-05-21 16:49:54 +03:00
zhang2014
c8f655c1aa ISSUES-2259 fix the test after the merge master 2018-05-21 11:38:46 +08:00
zhang2014
6613e56784 ISSUES-2259 support truncate syntax 2018-05-21 11:38:46 +08:00
alexey-milovidov
0fe2984d00
Merge pull request #2388 from yandex/fix-prepared-sets-creation
Fix prepared sets creation
2018-05-19 19:03:04 +03:00
Nikolai Kochetov
c932ce60c0 Added test with dummy recursive alias. [#CLICKHOUSE-3735] 2018-05-18 21:28:11 +03:00
Nikolai Kochetov
d0341077ee Added test with bug caused set indexing by ptr. [#CLICKHOUSE-3734] 2018-05-17 17:54:57 +03:00
Nikolai Kochetov
664171a003 Added test for in syntax. 2018-05-15 18:38:04 +03:00
Nikolai Kochetov
6ba8cb922c Fix usage of columns from header in SummingSortedBlockInputStream. #2273 2018-05-14 13:48:50 +03:00
sundy-li
c56e9967f2 Add tests && docs 2018-05-13 16:18:35 +08:00
Vitaliy Lyudvichenko
d292190d4b Try to fix broken test. [#CLICKHOUSE-2] 2018-05-11 16:53:39 +03:00
Vitaliy Lyudvichenko
990bcbb007 Add test for --help. [#CLICKHOUSE-3713] 2018-05-10 02:15:06 +03:00
Vitaliy Lyudvichenko
b4025e312e Use neat boost::program_options, more parameters. [#CLICKHOUSE-3713] 2018-05-10 02:15:06 +03:00
Vitaliy Lyudvichenko
5704de8774 Fixed settings passing in clickhouse-local and tmp dirs. [#CLICKHOUSE-3713] 2018-05-10 02:15:06 +03:00
Vitaliy Lyudvichenko
8746149965 More persistent directory names for replicas. [#CLICKHOUSE-2] 2018-05-09 07:55:08 +03:00
Tsarkova Anastasia
9412222f55 Add test. 2018-05-01 15:33:39 +02:00
alexey-milovidov
093c054b1f
Merge pull request #2263 from luc1ph3r/arbitrary-csv-delimiter
Support an arbitrary CSV delimiter
2018-04-27 13:13:09 -07:00
Ivan Zhukov
a9653e5759 Add a test for CSV input and output formatting 2018-04-27 03:49:44 +03:00
Vitaliy Lyudvichenko
ed25e6d634 Fixed tests isolation. [#CLICKHOUSE-2] 2018-04-26 22:46:45 +03:00
Vitaliy Lyudvichenko
4695511b58 Fixed tests isolation. [#CLICKHOUSE-2] 2018-04-26 22:21:32 +03:00
Alexey Milovidov
2627a4da2e Better test #2066 2018-04-22 22:09:35 -07:00
Alexey Milovidov
afb7127c67 Better test #2066 2018-04-22 20:32:53 -07:00
Alexey Milovidov
958a3d7ee7 Fixed error with Arrays inside Nested data type; added a test #2066 2018-04-22 20:30:28 -07:00
Nikolai Kochetov
7e45661a38 merged with master 2018-04-20 22:51:21 +03:00
Alexey Milovidov
fb4a44a913 Added test #2257 2018-04-20 22:46:01 +03:00
Alexey Milovidov
9c750c4786 Added test #2257 2018-04-20 22:22:03 +03:00
Nikolai Kochetov
a6375d6155 merged with master 2018-04-20 17:15:03 +03:00
Alexey Milovidov
72f9f927ac Added test result #2246 2018-04-20 00:38:45 +03:00
Alexey Milovidov
02abff4fdb Added failing test #2246 2018-04-19 23:45:27 +03:00
张健
e9b03b3abc ISSUES-2242 add default data_path & metadata_path for system.tables with temporary (#2243) 2018-04-19 23:22:08 +03:00
Nikolai Kochetov
dd10c2073c merged with master 2018-04-19 18:10:44 +03:00
alexey-milovidov
0612977bc3
Merge pull request #1925 from zhang2014/fix/ISSUES-995
ISSUES-995 support relative path with domain
2018-04-19 07:19:23 +03:00
Alexey Milovidov
ea5dac67d6 More tests #2134 2018-04-19 06:10:10 +03:00
alexey-milovidov
b23db369f4
Merge pull request #2134 from zhang2014/fix/union_syntax
ISSUES-2133 Support union query with subquery
2018-04-19 05:42:52 +03:00
alexey-milovidov
d0b6ac9fa0
Merge pull request #2238 from alex-krash/master
Regression test for bug in 1.1.54370
2018-04-18 23:40:06 +03:00
alexey-milovidov
0b26539313
Update 00621_regression_for_in_operator.sql 2018-04-18 23:39:53 +03:00
Alexey Milovidov
91e740da4c Actualized tests [#CLICKHOUSE-2] 2018-04-18 22:54:15 +03:00
Alexandr Krasheninnikov
3065ebe571 Regression test for bug in 1.1.54370 2018-04-18 15:14:21 +03:00
proller
f8dc8f32d5 Writing changelog (#2215)
* Maybe fix flappy test

* Make changelog

* Revert "Temporary revert doc about new package name (clickhouse-server vs cickhouse-server-common)"

This reverts commit 721153ed53.

* Revert "Temporary revert site about new package name (clickhouse-server vs clickhouse-server-common)"

This reverts commit ba5cb121ae.

* Better changelog

* Better

* Better changelog

* more

* Update CHANGELOG_RU.md

* Update CHANGELOG_RU.md

* Update CHANGELOG_RU.md
2018-04-17 23:57:02 +03:00
alexey-milovidov
089e71d9a5
Merge pull request #2235 from yandex/small-enhancements
Small enhancements
2018-04-17 22:45:01 +03:00
Vitaliy Lyudvichenko
bf832b3ea6 Fixed OPTIMIZE after RENAME of replicated table. [#CLICKHOUSE-2] 2018-04-17 20:59:42 +03:00
Alexey Milovidov
1fdea85e21 Adjusted racy test [#CLICKHOUSE-2] 2018-04-16 21:51:13 +03:00
Nikolai Kochetov
73cf78eec9 updated test 2018-04-16 18:48:27 +03:00
Nikolai Kochetov
9e05052c2a merged with master 2018-04-16 18:35:11 +03:00
Nikolai Kochetov
41229b201b Merge branch 'master' into fix-header-for-union-stream-in-distributed-2 2018-04-13 23:11:04 +03:00
proller
f9cd6a09e6 sql: initial EXTRACT(... FROM ...) support (#2196)
* start

* wip

* wip

* wip

* wip

* wip

* Fix clickhouse-server.postinst

* clean

* wip

* clean

* clean

* clean

* wip

* clean

* Update dump_variable.cpp
2018-04-13 22:35:08 +03:00
Alexey Milovidov
bc47a49d58 Added a test #2208 2018-04-13 21:49:23 +03:00
Nikolai Kochetov
d9ae4bedb8 added test 2018-04-11 22:10:25 +03:00
proller
07b81c875e CLICKHOUSE-3444: show error for old query on replace_running_query (#2127)
* Add tests

* Fix test

* Fix test build

* CLICKHOUSE-3444: show error for replace_running_query

* fix naming

* fix

* fix test

* Update IProfilingBlockInputStream.cpp
2018-04-07 06:49:49 +03:00
Alexey Milovidov
af226d62f5 Fixed totally wrong code in SummingMergeTree in the case of complex maps [#CLICKHOUSE-2] 2018-04-06 21:09:20 +03:00
Alexey Milovidov
47637c7885 Actualized test #1846 2018-04-06 19:26:38 +03:00
Alexey Milovidov
ac58f92a97 Fixed error with IN where left hand side is nullable #1846 2018-04-06 08:12:47 +03:00
Alexey Milovidov
65ad97452b Added a test from Silviu Caragea #2113 2018-04-06 03:28:53 +03:00
Alexey Milovidov
cf1a2241af Updated test [#CLICKHOUSE-2] 2018-04-06 02:06:03 +03:00
Alexey Milovidov
e6e12e6490 Fixed test [#CLICKHOUSE-2] 2018-04-06 02:04:31 +03:00
Alexey Milovidov
4c2adf1f30 Fixed test #797 2018-04-06 02:00:19 +03:00
Alexey Milovidov
f66d2fb780 Allow to use FINAL even in case of single part #2086 2018-04-06 00:36:55 +03:00
Alexey Milovidov
da7975dc29 Added test #797 2018-04-05 23:43:35 +03:00
Alexey Milovidov
32f6adc5ed Added test #797 2018-04-05 23:41:55 +03:00
Alexey Milovidov
7d69a3363f Added test #1282 2018-04-05 23:29:19 +03:00
Alexey Milovidov
0b4a59c8b0 Fixed flappy test [#CLICKHOUSE-2] 2018-04-05 22:27:20 +03:00
Alexey Milovidov
dec4094e5b Removed test case that test for behaviour that was correct accidentially [#CLICKHOUSE-2] 2018-04-05 05:31:17 +03:00
Alexey Milovidov
f734a4523a Fixed bad test [#CLICKHOUSE-2] 2018-04-05 05:19:32 +03:00
Nikolai Kochetov
8f4b54d65b updated test #2170 2018-04-05 00:03:21 +03:00
Nikolai Kochetov
1ad3010c4a updated test [#CLICKHOUSE-3680] 2018-04-04 22:36:22 +03:00
Nikolai Kochetov
537c495a8e added test [#CLICKHOUSE-3680] 2018-04-04 00:17:22 +03:00
Alexey Milovidov
97431c90bd Renamed test [#CLICKHOUSE-2] 2018-04-02 22:24:03 +03:00
proller
6e03373b8d clickhouse-common-dbg -> clickhouse-common-static-dbg (#2157) 2018-04-02 21:44:19 +03:00
Alexey Milovidov
a5f05dc71e Added test #217 [#CLICKHOUSE-1942] 2018-04-02 21:19:47 +03:00
proller
450efef456 Maybe fix test 00429_long_http_bufferization (remove curl timeout) 2018-03-29 22:12:24 +03:00
proller
a6f9df105c Allow use encryption for distributed tables (#2065)
* Allow use encryption for distributed tables

* wip

* fix

* rename encryption to secure

* Fix DirectoryMonitor with +secure

* fix

* fix

* Update DirectoryMonitor.cpp

* Update DirectoryMonitor.cpp
2018-03-29 04:41:06 +03:00
zhang2014
b00cb9d9b0 ISSUES-2133 Support union query with subquery 2018-03-29 09:06:17 +08:00
alexey-milovidov
ca5fd1e9de
Merge pull request #2033 from yandex/show-create-database
Show create database
2018-03-28 05:29:36 +03:00
Nikolai Kochetov
192409ebd2 added test 2018-03-27 22:14:54 +03:00
proller
405ad39cd4 Fix test 2018-03-23 22:45:33 +03:00
alexey-milovidov
d298f9af5c
Merge pull request #1959 from kshvakov/show-server-group-in-client
Возможность показывать группу сервера при подключении в клиенте
2018-03-23 19:26:22 +03:00
proller
7cdb6b5de1 Fix test 2018-03-23 19:25:02 +03:00
alexey-milovidov
3f320eb031
Merge branch 'master' into show-server-group-in-client 2018-03-23 19:23:25 +03:00
zhang2014
06d71a9493 ISSUES-218 add test for distributed & case when then 2018-03-23 18:42:06 +03:00
proller
b87cfd2924 Add tests 2018-03-23 18:36:50 +03:00
Vitaliy Lyudvichenko
883de7a2a6 startup() waits for initialization of ReplicatedMergeTreeRestartingThread. [#CLICKHOUSE-2] 2018-03-23 00:26:46 +03:00
Vitaliy Lyudvichenko
fe8dfd3038 Add minimalistic checksums. [#CLICKHOUSE-3660] 2018-03-23 00:26:46 +03:00
Nikolai Kochetov
6f60e6ee4f added test [#CLICKHOUSE-3663] 2018-03-22 23:18:11 +03:00
proller
9c9e918b78 Fix flapping test 00371_union_all 2018-03-20 22:18:56 +03:00
Alexey Zatelepin
3effbc4411 add test [#CLICKHOUSE-3659] 2018-03-20 16:44:36 +03:00
Alexey Milovidov
590feb02b5 Fixed error; added test from Alexander Zaitsev [#CLICKHOUSE-2] 2018-03-19 17:29:40 +03:00
Alexey Milovidov
b916f17215 Implemented 'uniq' family of functions for generic case including Array argument #2010 2018-03-17 21:14:05 +03:00
Kirill Shvakov
109b73b947 fix CREATE TEMPORARY TABLE IF NOT EXISTS 2018-03-17 01:55:07 +03:00
Vitaliy Lyudvichenko
1f28410490 Fixed false positive error messages for queries with IN and ARRAY JOIN. [#CLICKHOUSE-2] 2018-03-16 17:11:49 +03:00
Alexey Milovidov
796c65a09f Added test [#CLICKHOUSE-2] 2018-03-16 10:04:51 +03:00
Alexey Milovidov
b2e4fd3098 Updated test [#CLICKHOUSE-2] 2018-03-15 22:29:53 +03:00
alexey-milovidov
b9339e0ea1
Merge pull request #2053 from yandex/small-enhancements
Small enhancements
2018-03-15 22:10:29 +03:00
Vitaliy Lyudvichenko
e77701bd4b Enable alisas for sets and tuples for IN operator. [#CLICKHOUSE-3]
Resolves #2044
2018-03-15 21:44:02 +03:00
Vitaliy Lyudvichenko
f1b32e8982 Fixed ordinary MergeTree merges in case of empty ORDER BY key. [#CLICKHOUSE-2] 2018-03-14 23:49:18 +03:00
proller
d056d7e516
Fix ssl tests (#2042)
* Revert "Reverted bad modification #2035"

This reverts commit 6d6eca5e23.

* spaces

* fix

* better

* Revert "Disabled ill-formed test #2035"

This reverts commit b28cef9871.

* debug

* fix

* fix

* fix

* fix

* fix

* fix

* clean

* Tests compile fix
2018-03-14 19:57:15 +03:00
Alexey Zatelepin
b910e72946 stable order in a test 2018-03-14 15:30:39 +03:00
Alexey Milovidov
f08940c04c Fixed handling of NaNs in aggregate functions that use comparison based sorting #2012 2018-03-14 08:03:51 +03:00
Alexey Milovidov
688d277ad4 Adaptation #2012 2018-03-14 07:36:41 +03:00
alexey-milovidov
9ac2569c65
Merge branch 'master' into refactor-table-declaration 2018-03-14 05:35:50 +03:00
Alexey Milovidov
b28cef9871 Disabled ill-formed test #2035 2018-03-14 04:42:51 +03:00
proller
304b4d3f99 Merge remote-tracking branch 'origin/fix' into fix 2018-03-14 00:26:03 +03:00
Vitaliy Lyudvichenko
16c8aefba2 Fixed test after refactoring. [#CLICKHOUSE-2] 2018-03-13 23:49:13 +03:00
proller
24651f7dd6 Fixes 2018-03-13 23:38:35 +03:00
Alexey Zatelepin
2f573e4f77 add tests [#CLICKHOUSE-3241] 2018-03-13 17:24:16 +03:00
Nikolai Kochetov
5a07569c2a added test [#CLICKHOUSE-3590] 2018-03-12 18:22:14 +03:00
Alexey Milovidov
d0a7f05078 Renamed test [#CLICKHOUSE-2]. 2018-03-10 05:26:31 +03:00
Alexey Milovidov
5fc47bdfb1 Fixed error [#CLICKHOUSE-3627] 2018-03-10 03:26:17 +03:00
Alexey Milovidov
7577b1db14 Added function "throwIf" [#CLICKHOUSE-2543] 2018-03-10 03:18:57 +03:00
Alexey Milovidov
c653759714 Added another test #245 2018-03-10 02:24:38 +03:00
Alexey Milovidov
b581bbec68 Added test #245 2018-03-10 02:07:08 +03:00
Kirill Shvakov
8c4a7b774e Removed BB-Style macros for colors. Preparing prompt pattern once and replace current database in the cycle only. 2018-03-08 10:55:27 +02:00
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
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
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
proller
ebcf462fd6 Fix test reference 2018-01-12 15:25:28 +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
Anastasiya Tsarkova
2b8a4cf030 Add ALTER for null storage tables. 2018-01-11 22:13:19 +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