Commit Graph

2353 Commits

Author SHA1 Message Date
chertus
4cf8f174da some tests [CLICKHOUSE-3905] 2018-08-31 14:19:19 +03:00
VadimPE
910bb20ccf CLICKHOUSE-1660 add test 2018-08-31 13:30:57 +03:00
chertus
d0f452f6d9 some tests [CLICKHOUSE-3905] 2018-08-31 12:25:49 +03:00
chertus
845db9b46e CAST for decimal [CLICKHOUSE-3905] 2018-08-31 11:59:21 +03:00
zhang2014
a1f2b9ae0c ISSUES-2973 support nested json struct for visitParamExtractRaw 2018-08-31 15:25:28 +08:00
alesapin
711b228a30 Merge remote-tracking branch 'upstream/master' 2018-08-31 10:15:33 +03:00
Alexey Milovidov
bee164f1a0 Added test [#CLICKHOUSE-2] 2018-08-31 02:55:34 +03:00
Alexey Milovidov
9acb770c23 Added a test to clearly illustrate the difference between arrayEnumerateUniq and arrayEnumerateDense #2975 2018-08-30 23:43:08 +03:00
alexey-milovidov
46a38b72b9
Merge pull request #2975 from amosbird/dense
Extending arrayEnumerateUniq.
2018-08-30 23:26:31 +03:00
alesapin
6bfde2825e Fix conflict 2018-08-30 22:23:00 +03:00
proller
81960a2690 CLICKHOUSE-3940 Fix crash on join 2018-08-30 18:44:30 +03:00
alexey-milovidov
b05c62be9f
Merge pull request #2994 from CurtizJ/CLICKHOUSE-3935
ClickHouse-3935  Fix bug with qualified columns in where clause
2018-08-30 15:01:47 +03:00
alexey-milovidov
992aee9c2c
Update 00702_where_with_quailified_names.sql 2018-08-30 15:01:34 +03:00
CurtizJ
c818683ce7 update test 2018-08-30 14:48:58 +03:00
alexey-milovidov
ba3a20073c
Merge pull request #2988 from VadimPE/test_recovery_replica
add integration test for recovery replica
2018-08-30 14:20:10 +03:00
chertus
409562a397 decimal: add test for input/output formats CLICKHOUSE-3765 2018-08-30 14:17:02 +03:00
CurtizJ
764aa70d04 fix bug with quailified columns in where clause 2018-08-30 01:09:04 +03:00
CurtizJ
b43d403815 Revert "fix bug with quailified columns in where clause"
This reverts commit e007fd2b9e.
2018-08-30 01:04:45 +03:00
proller
56e571f18d odbc-bridge fixes (#2993)
* start clickhouse odbc-bridge as clickhouse-odbc-bridge

* fix

* prepare to odbc bridge tests
2018-08-30 00:32:46 +03:00
proller
0f16160cb7 stderr.log fixes 2018-08-29 22:52:04 +03:00
CurtizJ
e007fd2b9e fix bug with quailified columns in where clause 2018-08-29 22:45:29 +03:00
proller
4529f33457 Fix clickhouse-test-server
rename /var/log/clickhouse-server/stderr to stderr.log and stdout to stdout.log
2018-08-29 21:48:14 +03:00
chertus
29d8d07975 decimal improvements [CLICKHOUSE-3765] 2018-08-29 21:47:19 +03:00
alexey-milovidov
794b4d30a8
Merge pull request #2989 from yandex/fix-context-lifetime-try-2-quick
Fix lifetime of Context reference in functions (first quick variant) …
2018-08-29 21:32:48 +03:00
alexey-milovidov
07408490b6
Merge pull request #2982 from VadimPE/CLICKHOUSE-3934
CLICKHOUSE-3934 add join_default_strictness
2018-08-29 21:32:03 +03:00
alesapin
d2a5efb11b CLICKHOUSE-3800: Add perf test 2018-08-29 20:49:43 +03:00
Vadim
59e494a78d
Update 00701_join_default_strictness.reference 2018-08-29 19:48:09 +03:00
Vadim
b0f66d15d2
Update 00701_join_default_strictness.sql 2018-08-29 19:42:45 +03:00
Alexey Milovidov
48db3d4df8 Added test #2989 2018-08-29 19:27:29 +03:00
VadimPE
5c370143c4 CLICKHOUSE-3847 fix time for cleanupthread and sleep() 2018-08-29 17:13:20 +03:00
VadimPE
a90a9af818 CLICKHOUSE-3847 fix time for cleanup_delay_period 2018-08-29 17:03:39 +03:00
VadimPE
8c10c11804 CLICLKHOUSE-3847 add test 2018-08-29 16:47:48 +03:00
VadimPE
a569d88e6a CLICKHOUSE-3847 add test 2018-08-29 13:04:41 +03:00
zhang2014
f921c9c169 ISSUES-863 support optimize predicate for view 2018-08-29 13:29:03 +08:00
proller
e30d93a0f2 Better debug helpers (#2983)
* Better debug helpers

* fix
2018-08-29 03:03:07 +03:00
Vadim
2bab5f941d
Update 00701_join_default_strictness.sql 2018-08-28 17:58:08 +03:00
Vadim
6a3d398a26
Update 00701_join_default_strictness.reference 2018-08-28 17:57:44 +03:00
VadimPE
139f855230 CLICKHOUSE-3934 add tests 2018-08-28 17:26:12 +03:00
proller
c219562b32 Better clickhouse-test-server 2018-08-28 14:57:35 +03:00
Amos Bird
a4dfe0ae38 Extending arrayEnumerateUniq.
https://github.com/yandex/ClickHouse/issues/2934
2018-08-28 15:31:25 +08:00
zhang2014
16404c8e7b ISSUES-2973 support nested json struct for visitParamExtractRaw 2018-08-28 13:45:21 +08:00
proller
cc86cb503e clickhouse-test-server with temporary data dir 2018-08-27 21:32:50 +03:00
alexey-milovidov
98148d914c
Merge pull request #2958 from blahgeek/skip-json-object
Skip object fields on json input
2018-08-27 20:07:32 +03:00
alexey-milovidov
95b2bcbc6b
Merge pull request #2970 from 4ertus2/decimal
Some more Decimal
2018-08-27 19:59:26 +03:00
CurtizJ
0e28195e7a update syntax and test 2018-08-27 19:43:29 +03:00
chertus
ee873c8e9f Merge branch 'master' into decimal 2018-08-27 19:18:48 +03:00
chertus
c86f2878ff add special ColumnDecimal instead of ColumnVector<DecimalNN> CLICKHOUSE-3765 2018-08-27 19:16:16 +03:00
alesapin
1f0f1ecad3 CLICKHOUSE-3894: Fix Kafka test 2018-08-27 19:15:39 +03:00
alesapin
716c8016d7 CLICKHOUSE-3894: Print stack trace 2018-08-27 17:45:37 +03:00
alesapin
06d091580d CLICKHOUSE-3894: Increase MySQL timeout and add logging 2018-08-27 17:43:59 +03:00
alesapin
570343fdb3 CLICKHOUSE-3894: Wait zookeeper before clickhouse start 2018-08-27 16:42:39 +03:00
alesapin
d5dd32f4fe CLICKHOUSE-3894: Fix test_config_substs test 2018-08-27 14:40:01 +03:00
BlahGeek
739119d355 skip object fields on json input 2018-08-27 12:01:47 +08:00
Alexey Milovidov
aa936b09f9 Added check for max_block_size = 0 #2447 2018-08-25 19:32:44 +03:00
Alexey Milovidov
9c79c5f8ab Added test #2447 2018-08-25 19:26:55 +03:00
CurtizJ
bdedf1df63 Add test 2018-08-24 20:34:56 +03:00
chertus
53ec40eeee some decimal field improvements CLICKHOUSE-3765 2018-08-24 19:35:00 +03:00
alexey-milovidov
3466277b0a
Merge pull request #2940 from yandex/better-exception-message-in-case-of-wrong-number-of-arguments-for-function-if
Better exception message in case of wrong number of arguments for function "if" [#CLICKHOUSE-3932]
2018-08-24 15:31:22 +03:00
alesapin
935ae2421b
Merge pull request #2943 from alesapin/master
Remove strange parameter and add version from env to all calls
2018-08-24 14:20:28 +03:00
chertus
54a3c028c5 Merge branch 'master' into decimal 2018-08-24 14:19:41 +03:00
alesapin
ec594ad8e8 Remove strange parameter and add version from env to all calls 2018-08-24 14:19:06 +03:00
Alexey Milovidov
9f6073b562 Fixed test #2940 2018-08-24 14:09:20 +03:00
alexey-milovidov
eab95e43d1
Merge pull request #2938 from yandex/speed-up-fuzz-tests-2
Speed up fuzz tests, part 2 #2924
2018-08-24 14:07:35 +03:00
alesapin
7722b3caa1
Merge pull request #2941 from alesapin/master
CLICKHOUSE-3894: Custom api version
2018-08-24 13:35:30 +03:00
alesapin
5849f4b9cb CLICKHOUSE-3894: Custom api version 2018-08-24 13:31:19 +03:00
Alexey Milovidov
eee6644a22 Better exception message in case of wrong number of arguments for function "if" [#CLICKHOUSE-3932] 2018-08-24 12:57:42 +03:00
Alexey Milovidov
2febf6af4f Fixed tests #2938 2018-08-24 12:47:47 +03:00
Alexey Milovidov
030570f6d5 Renamed tests that are not long anymore #2924 2018-08-24 11:01:00 +03:00
Alexey Milovidov
bc799904ad Speed up long tests #2938 2018-08-24 10:53:24 +03:00
zhang2014
83ceeca199 ISSUES-2906 support join for table function 2018-08-24 14:45:24 +08:00
alexey-milovidov
5637b30556
Merge pull request #2929 from zhang2014/fix/support_asterisk_for_predcate_optimize
ISSUES-863 fix predicate not work for asterisk
2018-08-24 08:53:04 +03:00
zhang2014
bf517d5523 ISSUES-863 fix failure tests 2018-08-24 12:11:32 +08:00
alexey-milovidov
8f686525d8
Merge pull request #2937 from yandex/fix-array-distinct
Fixed arrayDistinct function [#CLICKHOUSE-3928]
2018-08-24 06:26:40 +03:00
Alexey Milovidov
a55b9623c5 Fixed arrayDistinct function [#CLICKHOUSE-3928] 2018-08-24 05:54:02 +03:00
zhang2014
32cc611f5d ISSUES-863 fix predicate optimizer not work for asterisk 2018-08-24 10:05:43 +08:00
Alexey Milovidov
f08b271d5b Merge branch 'master' into remove-useless-option-in-clickhouse-local 2018-08-24 02:42:45 +03:00
alexey-milovidov
e1e6e316d9
Merge pull request #2930 from yandex/fix-empty-parts-vertical-merge
Fix vertical merge of empty parts
2018-08-24 01:47:11 +03:00
alesapin
aae6967304 CLICKHOUSE-3894: Remove default from get 2018-08-23 18:38:25 +03:00
alesapin
762ffa1454 CLICKHOUSE-3894: Small impovements in integration tests framework 2018-08-23 18:31:20 +03:00
Alexey Zatelepin
cc2f10c1cc add test for vertical merge of empty parts [#CLICKHOUSE-3913] 2018-08-23 15:15:30 +03:00
Amos Bird
f422a15ae1 Support events qualified for multiple conditions.
Currently windowFunnel function only take the first qualified condition
into account when operating on one event. This patch extends the
ability.
2018-08-23 18:30:50 +08:00
Alexey Milovidov
814d227321 Fixed test [#CLICKHOUSE-2] 2018-08-23 04:35:46 +03:00
Alexey Milovidov
b9778a3764 Speed up fuzz tests [#CLICKHOUSE-2] 2018-08-23 04:31:28 +03:00
Alexey Milovidov
d95e2be344 Updated test #2887 2018-08-23 04:05:04 +03:00
Alexey Milovidov
d372430193 Split long running tests [#CLICKHOUSE-2] 2018-08-23 04:01:25 +03:00
Alexey Milovidov
18857ed428 Increased passing for "00614_shard_same_header_for_local_and_remote_node_in_distributed_query" [#CLICKHOUSE-2] 2018-08-23 03:19:41 +03:00
Alexey Milovidov
61f3c4f0d1 Removed useless option --silent from the clickhouse-local, because it was implemented not according to the specs and the options --silent, --verbose, --echo was messed up #1773 2018-08-23 03:14:26 +03:00
Alexey Milovidov
0c129ab7f4 More descriptive error message in test [#CLICKHOUSE-2] 2018-08-23 02:54:33 +03:00
alexey-milovidov
5c1925af58
Merge pull request #2920 from VadimPE/CLICKHOUSE-3819
CLICKHOUSE-3819 add CASE without ELSE
2018-08-22 22:52:24 +03:00
alexey-milovidov
aaf218dab8
Merge pull request #2919 from yandex/low-cardinality-fix-partial-granule-reading
Low cardinality fix partial granule reading
2018-08-22 22:48:42 +03:00
alexey-milovidov
4f7b8fdbd9
Update 00688_case_without_else.reference 2018-08-22 22:23:13 +03:00
alexey-milovidov
0265cca018
Merge pull request #2921 from alesapin/master
Finally create test with odbc drivers
2018-08-22 22:19:07 +03:00
VadimPE
ee61c87fef CLICKHOUSE-3819 fix tests 2018-08-22 21:40:08 +03:00
chertus
c61ccc4dfe toDecimal128() CLICKHOUSE-3905 2018-08-22 20:26:11 +03:00
chertus
fd6a8142b7 rename toDecimal functions CLICKHOUSE-3905 2018-08-22 19:16:39 +03:00
alesapin
a6ca534a37 CLICKHOUSE-3878: Remove empty lines 2018-08-22 19:16:12 +03:00
alesapin
8163fd2b21 CLICKHOUSE-3878: Slightly improve test 2018-08-22 19:14:51 +03:00
alesapin
4d919759bf CLICKHOUSE-3878: Remove local path 2018-08-22 18:56:04 +03:00
alesapin
e2f18da1a9 CLICKHOUSE-3878: Add ODBC test 2018-08-22 18:42:27 +03:00
chertus
4d89caf422 fix decimal-arithm test (on clang build) CLICKHOUSE-3765 2018-08-22 18:41:21 +03:00
VadimPE
9e485dae1e CLICKHOUSE-3819 add CASE without ELSE 2018-08-22 18:17:40 +03:00
chertus
81010e74cb disable Decimal128 overflow tests (not working on cmake builds) CLICKHOUSE-3765 2018-08-22 18:15:15 +03:00
chertus
1eb45b94d2 fix test CLICKHOUSE-3765 2018-08-22 17:10:27 +03:00
chertus
314dcc5e9e add two options to disable Decimal overflow checks CLICKHOUSE-3906 2018-08-22 16:22:56 +03:00
Nikolai Kochetov
409d68b8c0 Added test for low cardinality with prewhere. #2896 2018-08-22 15:49:12 +03:00
Alexey Zatelepin
19ec609d36 add failing tests with materialized columns #2900 [#CLICKHOUSE-3911] 2018-08-22 15:42:18 +03:00
chertus
eac6dd1c99 Merge branch 'master' into decimal 2018-08-21 21:55:36 +03:00
chertus
1e97f9e549 toDecimalN() functions CLICKHOUSE-3905 2018-08-21 21:25:38 +03:00
alexey-milovidov
edd37cf617
Merge pull request #2910 from yandex/fix-point-in-poligon
Fix point in poligon
2018-08-21 19:17:30 +03:00
Nikolai Kochetov
04a91a79a9 Added test for low cardinality deserialization. #2896 2018-08-21 17:05:57 +03:00
Nikolai Kochetov
c27bade22b Added test for pointInPolygon #2866 2018-08-21 14:33:31 +03:00
Alexey Milovidov
2aa7eb463a Fixed test #2888 2018-08-21 08:03:35 +03:00
Alexey Milovidov
0a7638fc9f Added test #2897 2018-08-20 22:24:39 +03:00
Alexey Milovidov
37a49a5898 Added test #2888 2018-08-20 19:20:58 +03:00
alexey-milovidov
934d480a7a
Merge pull request #2894 from yandex/fix-catboost-pool-path-normalization
Fix catboost pool path normalization
2018-08-20 17:16:09 +03:00
Nikolai Kochetov
391b4b5927 Merged with master. 2018-08-20 15:25:06 +03:00
Nikolai Kochetov
8d8c399f95 Added for catboost pool [#CLICKHOUSE-3871] 2018-08-20 14:51:14 +03:00
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
c72482528c Merging #2482 2018-08-15 00:18:14 +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
alexey-milovidov
f42bd36fa0
Merge pull request #2856 from zhang2014/feature/add_check_access_database_for_system_tables
Add check access database for system tables
2018-08-14 12:53:43 +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
zhang2014
e51264c3a5 Add check access database for system tables 2018-08-14 11:28:32 +08: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
proller
3af99efd65 CLICKHOUSE-3530: Versioned inetrnal compiler headers (#2837) 2018-08-10 22:53:49 +03:00
chertus
01c8b1d7bb decimal field extraction (from column or type) 2018-08-10 17:57:55 +03:00
Nikolai Kochetov
4a62ab9d5c Merged with master. 2018-08-10 16:53:08 +03:00
VadimPE
6e461213bb CLICKHOUSE-3211 add tests 2018-08-10 14:27:55 +03:00
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
Nikolai Kochetov
f5ecd410ae Renamed test. 2018-06-29 17:05:02 +03:00
Alexey Zatelepin
3cbced0d2a add integration test for mutations of Replicated tables [#CLICKHOUSE-3747] 2018-06-29 16:46:28 +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
e051998e1c Renamed setting "send_logs_level" #2482 2018-06-28 23:11:14 +03: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
Alexey Zatelepin
7ce4ebf1e1 fix test (disable random component in CleanupThread sleep period) 2018-06-22 18:53:59 +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
proller
2d9d723d3c Wait test server startup for 5s 2018-06-21 17:54:48 +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