Alexey Milovidov
29e40f0087
Fixed potential error #2832
2018-08-10 04:31:55 +03:00
Anton Popov
c019d732c5
ClickHouse 3419 Add setting prefer_localhost_replica ( #2832 )
...
* add setting prefer_localhost_replica
* add prefer_localhost_replica setting
* fix bugs
* update setting comment
* Add test for prefer_localhost_replica
* fix bug
2018-08-10 04:27:54 +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
4ae1830f78
Updated instruction [#CLICKHOUSE-2]
2018-08-08 07:14:53 +03:00
Alexey Milovidov
1e316e9229
Fixed error #2795
2018-08-08 07:14:53 +03:00
Alexey Milovidov
e0dc0ccaff
Removed misleading message [#CLICKHOUSE-2]
2018-08-08 06:03:26 +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
Alexey Milovidov
d1a548638f
Imported stateful tests (without data) [#CLICKHOUSE-3]
2018-08-07 20:10:03 +03:00
Alexey Milovidov
3021852383
Imported stateful tests (without data) [#CLICKHOUSE-3]
2018-08-07 20:08:51 +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 Milovidov
705cce48f0
Removed misleading comment [#CLICKHOUSE-3]
2018-08-06 23:07:50 +03:00
alexey-milovidov
72af99fdd5
Merge pull request #2814 from alesapin/master
...
Fix REPLACE PARTITION logic inside replicated merge tree
2018-08-06 20:18:30 +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
alesapin
134da31177
CLICKHOUSE-3880: Fix comment
2018-08-06 16:18:52 +03:00
alesapin
425918afe1
CLICKHOUSE-3880: Fix replace partition logic inside replicated merge tree
2018-08-06 15:59:51 +03:00
chertus
c590a74981
Merge branch 'master' into decimal
2018-08-06 13:38:18 +03:00
alesapin
b321963b35
CLICKHOUSE-3880: Test for REPLACE PARTITION with failover cases
2018-08-06 13:01:08 +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
Alexander Marshalov
154d7e3228
Added SETTINGS clause for Kafka storage engine
2018-08-03 21:51:28 +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
alesapin
2db2d208e1
CLICKHOUSE-3863: Add HTTPS support for interserver replication
2018-08-01 00:29:47 +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
alesapin
79607b9118
CLICKHOUSE-3852: Add tests for config parser
2018-07-29 04:58:05 +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
alesapin
a28cf1ed98
Remove wrong option
2018-07-27 20:25:51 +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
alexey-milovidov
9242588449
Merge pull request #2708 from VadimPE/CLICKHOUSE-3837
...
CLICKHOUSE-3837 Add support for table function in remote() and cluster()
2018-07-26 21:36:04 +03:00
alexey-milovidov
1140a07b58
Merge pull request #2729 from amosbird/master
...
Use docker exec to operate on kafka.
2018-07-26 21:34:04 +03:00
Vadim
ad006166b5
Update 00675_shard_remote_with_table_function.sql
2018-07-26 20:50:32 +03:00
alexey-milovidov
24b0be2cf0
Merge pull request #2727 from alesapin/CLICKHOUSE-3832
...
CLICKHOUSE-3832: Add HTTP Basic authentification in replication protocol
2018-07-26 20:50:09 +03:00
Vadim
da41c5cf47
Update 00675_shard_remote_with_table_function.sql
2018-07-26 20:49:51 +03:00
Amos Bird
54a08ed018
Use docker exec to operate on kafka.
2018-07-27 01:24:35 +08:00
VadimPE
894c5b356d
CLICKHOUSE-3837
2018-07-26 19:15:15 +03:00
Alexey Zatelepin
02946d2bc1
Revert "Set up dns server for kafka integration tests."
...
This reverts commit 1c75c19106
.
2018-07-26 18:52:50 +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
alesapin
6abbfbce87
CLICKHOUSE-3832: Add HTTP Basic authentification in replication protocol
2018-07-26 18:10:57 +03:00
Alexey Milovidov
ec202a7fd0
Allow to start cluster with Kafka without pytest #2725
2018-07-26 17:40:33 +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
Amos Bird
1c75c19106
Set up dns server for kafka integration tests.
2018-07-26 12:53:48 +08:00
Amos Bird
c9a8759e08
Update README.md
...
kafka integration test uses this package https://github.com/dpkp/kafka-python
2018-07-26 00:34:40 +08:00
Alexey Milovidov
9079bdad4e
Updated README #2701
2018-07-25 19:27:38 +03:00
Alexey Milovidov
b4556cc598
~/work/ClickHouse/dbms/tests/integration$ find . -name '*.py' | xargs sed -i -r -e 's/macroses/macros/g' # [#CLICKHOUSE-2]
2018-07-25 19:00:51 +03:00
Amos Bird
0965f991b3
Add row_delimiter argument to StorageKafka.
...
There are common cases where a message doesn't end with a row delimiter.
This patch allows specifying a row_delimiter char to compensate that.
https://github.com/yandex/ClickHouse/issues/2298
2018-07-25 18:54:01 +03:00
Amos Bird
15cc1cf91b
Fix integration test.
...
without specifying errorlog, I got
```
E Logging trace to /var/log/clickhouse-server/clickhouse-server.log
E Logging errors to clickhouse-server.err.log
E Poco::Exception. Code: 1000, e.code() = 13, e.displayText() = Access to file denied: /clickhouse-server.err.log, e.what() = Access to file denied
```
2018-07-25 12:29:16 +03:00
zhang2014
7e87fa8e18
ISSUES-2688 support on cluster for kill & optimize query
2018-07-24 22:07:13 +03:00
Alexey Milovidov
7c07f46d50
Style [#CLICKHOUSE-2]
2018-07-24 21:46:23 +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
proller
c58584fbe7
clickhouse-test-server: allow run with build in source (cmake .)
2018-07-20 15:40:11 +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
alesapin
ae44b41318
CLICKHOUSE-3842: Fix loadKeys method in dictionary library
2018-07-19 16:51:57 +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
7540bdfa29
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-16 07:22:25 +03:00
Alexey Milovidov
52b284a67f
Updated README for integration tests [#CLICKHOUSE-2]
2018-07-16 07:22:16 +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
filimonov
d13c6f6823
deadlinks2
2018-07-16 03:22:42 +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
Alexey Milovidov
e3b3c9f81b
Added test for chroot in ZK [#MDBSUPPORT-204]
2018-07-10 19:14:27 +03:00
Amos Bird
f5764910c4
Fix TRUNCATE command for temporary tables.
2018-07-10 22:25:08 +08:00
Георгий Кондратьев
f8b53280a0
Do not add lib prefix to dictionary_library plugins
...
By convention plugins (libraries that are only meant for dlopen) do not have lib prefix.
2018-07-10 14:29:19 +03: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
Alexey Zatelepin
88951cac62
clearer error message in test
2018-07-05 16:29:22 +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