Commit Graph

2225 Commits

Author SHA1 Message Date
Nikolai Kochetov
3d06fc4217 Added test with prewhere and sampling. [#CLICKHOUSE-3969] 2018-09-07 19:11:15 +03:00
Alexey Zatelepin
133c9c7c37 Merge branch 'master' into alter-update
Conflicts:
	docs/en/query_language/alter.md
2018-09-07 19:11:02 +03:00
Alexey Zatelepin
1064d1d26b update MATERIALIZED columns when their dependencies are updated [#CLICKHOUSE-13] 2018-09-07 18:54:18 +03:00
CurtizJ
7c2fef0c1a fix getting value from const column 2018-09-07 17:06:10 +03:00
CurtizJ
8fc1ddd646 fix arguments check 2018-09-07 15:36:56 +03:00
alesapin
e8438572ad CLICKHOUSE-3894: Fixes in tests 2018-09-07 14:51:51 +03:00
CurtizJ
a784b828ce Merge branch 'master' of https://github.com/yandex/ClickHouse into CLICKHOUSE-3723.3 2018-09-07 13:02:07 +03:00
Nikolai Kochetov
8200827723 Added test for prewhere with virtual column. [#CLICKHOUSE-3965] 2018-09-07 11:11:48 +03:00
Alexey Milovidov
cac07628b2 Added comment [#CLICKHOUSE-3939] 2018-09-07 04:49:26 +03:00
Alexey Milovidov
199d8734f9 Fixed race condition in DROP/CREATE MergeTree tables [#CLICKHOUSE-3939] 2018-09-07 04:39:48 +03:00
CurtizJ
e4a1ba728d better error code 2018-09-06 21:28:43 +03:00
alexey-milovidov
580683310b
Merge pull request #2990 from alesapin/master
CLICKHOUSE-3800: Add Cache for compiled expression.
2018-09-06 21:12:08 +03:00
alexey-milovidov
5057b15fab
Merge pull request #3047 from 4ertus2/decimal
Decimal improvements
2018-09-06 21:11:06 +03:00
CurtizJ
fb923dcbf5 aggregate function states addition 2018-09-06 20:59:23 +03:00
proller
d75e1f8a72 Merge remote-tracking branch 'upstream/master' into fix8 2018-09-06 18:58:19 +03:00
proller
255866304f
env TEST_RUN_STRESS=1 ctest -V (#3057) 2018-09-06 18:57:55 +03:00
proller
6829446ca9 fix 2018-09-06 18:44:54 +03:00
proller
51470db8c7 Fix test 2018-09-06 18:43:57 +03:00
proller
d45321a941 Add test 2018-09-06 18:31:28 +03:00
alesapin
b32e0c48af Merge branch 'master' of github.com:yandex/ClickHouse 2018-09-06 16:04:10 +03:00
alesapin
7f5b5ddb53 CLICKHOUSE-3894: Force recreate containers and increase timeouts 2018-09-06 16:03:42 +03:00
Alexey Zatelepin
8cf666e1b5 ALTER UPDATE tests [#CLICKHOUSE-13] 2018-09-06 13:49:36 +03:00
chertus
5bbfdc2208 supertypes for Decimals [CLICKHOUSE-3765] 2018-09-06 13:48:54 +03:00
Nikolai Kochetov
28bef7b7aa Added test. [#CLICKHOUSE-3965] 2018-09-06 12:46:23 +03:00
Alexander Sapin
03174e131d Merge remote-tracking branch 'upstream/master' 2018-09-06 12:39:42 +03:00
chertus
3bd586cad9 Merge branch 'master' into decimal 2018-09-06 11:57:46 +03:00
alexey-milovidov
0ca8e20e66
Merge pull request #2948 from CurtizJ/CLICKHOUSE-3893
CLICKHOUSE-3893 - Add modificator rollup.
2018-09-06 03:59:02 +03:00
alexey-milovidov
f77cd9950c
Merge pull request #3034 from CurtizJ/CLICKHOUSE-3723.2
CLICKHOUSE-3723 Multiply aggregate states. Fix and optimize #2527.
2018-09-06 03:49:07 +03:00
alexey-milovidov
e585ba54f9
Merge pull request #3048 from yandex/The-Alchemist-support_uuid_in_external_dicts
The alchemist support UUID in external dicts
2018-09-06 03:29:56 +03:00
alesapin
aa8562a2a5 Fix field name 2018-09-05 22:24:36 +03:00
proller
5877eece58 Internal compiler run fixes 2018-09-05 21:50:17 +03:00
alexey-milovidov
4032e4d22c
Merge pull request #3049 from yandex/fix-collapsing-vertical-merge
Fix collapsing vertical merge regression
2018-09-05 21:47:23 +03:00
alesapin
b25d1db424 Add reference 2018-09-05 21:34:50 +03:00
Alexey Zatelepin
d2a5c101f1 add test [#CLICKHOUSE-3963] 2018-09-05 20:24:30 +03:00
Alexey Milovidov
baff498849 Split one test to two #3029 2018-09-05 19:50:26 +03:00
alesapin
8b7d6ccd8c Small improvements 2018-09-05 19:20:12 +03:00
chertus
e0b1e9a1ca array functions for Decimal [CLICKHOUSE-3765CLICKHOUSE-3765] 2018-09-05 16:28:51 +03:00
CurtizJ
7ae4c1072b fix modifying source columns, add tests 2018-09-05 16:18:47 +03:00
alesapin
2647c13c6b CLICKHOUSE-3800: Fix naming, move compiled cache size setting to config.xml 2018-09-05 14:37:41 +03:00
Nikolai Kochetov
46d6c03569 Merge branch 'master' into fix-prewhere-with-aliases 2018-09-05 13:08:07 +03:00
CurtizJ
18da41afe3 Merge remote-tracking branch 'upstream/master' into CLICKHOUSE-3893 2018-09-05 12:49:02 +03:00
CurtizJ
a7bbf83c91 Revert "Revert "Merge branch 'master' into CLICKHOUSE-3893""
This reverts commit cdb2c8a770.
2018-09-05 12:47:57 +03:00
CurtizJ
cdb2c8a770 Revert "Merge branch 'master' into CLICKHOUSE-3893"
This reverts commit 0704da5756, reversing
changes made to 4534d449c1.
2018-09-05 12:45:57 +03:00
chertus
94997889c5 fix test 2018-09-05 01:17:01 +03:00
Alexey Milovidov
035c07d01e Fixed error with locking in InterpreterDropQuery [#CLICKHOUSE-3959] 2018-09-04 23:56:09 +03:00
chertus
e11f3ea5bc enable nullable for Decimal [CLICKHOUSE-3765] 2018-09-04 21:51:44 +03:00
Nikolai Kochetov
7bb92227cd Added test. [#CLICKHOUSE-3944] 2018-09-04 21:38:13 +03:00
chertus
1ea6bc9691 decimal_check_overflow [CLICKHOUSE-3765] 2018-09-04 18:04:23 +03:00
alexey-milovidov
939949730d
Merge pull request #3030 from yandex/fix-internal-compiler
Attempt to fix internal compiler [#CLICKHOUSE-2]
2018-09-04 17:05:56 +03:00
Vadim
2dd0c4c594
Merge pull request #3032 from yandex/amosbird_window_funnel
[FIX TESTS] Support events qualified for multiple conditions in Window Funnel
2018-09-04 14:32:58 +03:00
VadimPE
9a28e90af7 Fixed tests 2018-09-04 13:15:34 +03:00
Alexey Milovidov
0df0099255 Fixed test #3030 2018-09-03 21:29:34 +03:00
alexey-milovidov
604c64f40d
Merge pull request #3024 from 4ertus2/nan
hotfix for NaN comparison [CLICKHOUSE-3760]
2018-09-03 21:11:20 +03:00
Alexey Milovidov
8fae37f5c7 Removed wrong code from StorageSystemColumns #2447 2018-09-03 21:04:29 +03:00
alesapin
7596a75143 CLICKHOUSE-3894: Remove redundant code 2018-09-03 18:29:25 +03:00
alesapin
3551c01612 CLICKHOUSE-3894: Save localhost record 2018-09-03 18:26:11 +03:00
alesapin
ee8a8d82af CLICKHOUSE-3894: Remove retry and add sleep 2018-09-03 18:02:24 +03:00
alesapin
3719558bf7 CLICKHOUSE-3894: Some improvements in flapping tests. Bug fix of ATTACH TABLE xxx ON CLUSTER (previously doesn't work). 2018-09-03 17:06:00 +03:00
chertus
522674d37f fix for NaN comparison [CLICKHOUSE-3760] 2018-09-03 16:34:16 +03:00
VadimPE
cc04ffbda1 Merge branch 'astudnev-cum_sum_limit2' of https://github.com/yandex/ClickHouse into astudnev-cum_sum_limit2 2018-09-03 13:53:19 +03:00
VadimPE
3b38879b11 fix bug with CumSum and fix style 2018-09-03 13:52:44 +03:00
alesapin
83574eed7c Merge remote-tracking branch 'upstream/master' 2018-09-03 13:11:33 +03:00
alesapin
11d248ba10 Resolve conflict 2018-09-03 13:11:10 +03:00
alexey-milovidov
72c799ad76
Merge pull request #3008 from 4ertus2/decimal
even more Decimal
2018-09-03 07:19:33 +03:00
VadimPE
003ce833d1 Merge branch 'master' of https://github.com/amosbird/ClickHouse into amosbird_window_funnel 2018-09-02 17:49:59 +03:00
alexey-milovidov
64b48b5fcf
Merge pull request #2907 from zhang2014/feature/support_join_for_table_function
ISSUES-2906 support join for table function
2018-09-01 20:49:49 +03:00
alexey-milovidov
087570e6ac
Merge pull request #2974 from zhang2014/fix/nested_json_for_visitRaw
ISSUES-2973 support nested json struct for visitParamExtractRaw
2018-09-01 20:47:42 +03:00
alexey-milovidov
889e060993
Merge pull request #3006 from VadimPE/CLICKHOUSE-1660
CLICKHOUSE-1660 Added duplicated columns removal in USING(...)
2018-09-01 20:43:54 +03:00
alexey-milovidov
15bf642a00
Update 00702_join_with_using.sql 2018-09-01 20:43:47 +03:00
Vadim
c847815ad4
Update 00704_arrayCumSumLimited_arrayDifference.reference 2018-08-31 17:06:55 +03:00
VadimPE
f8f71f7327 add tests 2018-08-31 16:28:35 +03:00
chertus
ca91c93adf disable Nullable(Decimal) [CLICKHOUSE-3905] 2018-08-31 14:59:33 +03:00
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