Commit Graph

537 Commits

Author SHA1 Message Date
Vitaliy Zakaznikov
f2d8ac7ece Increasing timeout when opening a client in tests/queries/0_stateless/helpers/client.py. 2020-04-30 09:46:36 -04:00
alesapin
15e8f37839
Merge pull request #10531 from CurtizJ/polymorphic-parts-2
Fix index corruption in merges with compact parts.
2020-04-30 12:15:25 +03:00
alesapin
8ce4f3510a
Merge pull request #10562 from azat/clickhouse-test-python2
Force clickhouse-test to use python2
2020-04-30 12:11:11 +03:00
Alexander Kuzmenkov
7f5b57c6c5
Merge pull request #10559 from ClickHouse/aku/summap-experiment
Merge pull request #10000 (sumMap for Tuple argument)
2020-04-30 11:56:04 +03:00
alesapin
5e2afad549
Merge pull request #10477 from ClickHouse/refactor_istorage
Remove getColumn and hasColumn from IStorage, better virtuals.
2020-04-30 10:42:52 +03:00
Alexander Kuzmenkov
a3843e1f42 performance comparison 2020-04-30 08:10:34 +03:00
Alexander Kuzmenkov
d952e5aba2 performance comparison 2020-04-29 20:26:28 +03:00
alesapin
69fdf2a6a3 Review fixes and better test 2020-04-29 15:15:23 +03:00
Nikolai Kochetov
a9d63d4520
Merge pull request #10498 from vzakaznikov/insert_into_watch_from_live_view
Adding support for INSERT INTO table WATCH query to build streaming systems using LIVE VIEW tables
2020-04-29 12:15:54 +03:00
Pavel Kovalenko
e5e84960ea S3 with proxy integration test and fixes. 2020-04-29 11:40:29 +03:00
Alexander Kuzmenkov
15e94d3de9 performance comparison 2020-04-29 09:30:37 +03:00
zhang2014
8ac709b5d3 ISSUES-10551 add backward compatibility for create bloom filter index 2020-04-29 11:57:28 +08:00
Azat Khuzhin
989ae58a0c Force clickhouse-test to use python2 2020-04-28 22:45:22 +03:00
Vitaliy Zakaznikov
4749122734 Adding support to auto set output_format_enable_streaming option
based on the query type.
2020-04-28 17:50:50 +02:00
Artem Zuikov
e34a9457e6
Improve right table insert for Partial MergeJoin on disk (#10467) 2020-04-28 16:55:50 +03:00
Eldar Zaitov
f40603441b Add miniman fuzzing documentation, fix code style. 2020-04-28 13:34:57 +03:00
tavplubix
11c3493676
Merge pull request #10547 from ClickHouse/zhang2014/feature/ISSUES-5436
Merging #7572
2020-04-28 12:40:48 +03:00
Alexander Kuzmenkov
ed1576507b performance comparison 2020-04-28 10:45:56 +03:00
Eldar Zaitov
670ed4bf1b lexer, ast, checksum and column specs fuzzers added 2020-04-28 02:12:18 +03:00
Alexander Tokmakov
5a1d22a363 remove redundant configs from test 2020-04-28 02:05:15 +03:00
Alexander Tokmakov
e72a484beb minor fixes 2020-04-28 02:05:15 +03:00
Vitaliy Zakaznikov
2312c097ea Merge branch 'insert_into_watch_from_live_view' of https://github.com/vzakaznikov/ClickHouse into insert_into_watch_from_live_view 2020-04-27 17:34:47 +02:00
Vitaliy Zakaznikov
9d28066539 Adding 00979_live_view_watch_continuous_aggregates.py test. 2020-04-27 17:34:12 +02:00
Nikolai Kochetov
32baa073b5 Merge remote-tracking branch 'upstream/master' into insert_into_watch_from_live_view 2020-04-27 17:49:50 +03:00
Anton Popov
eaf80c5f18 add integration test for compact parts 2020-04-27 16:37:05 +03:00
Alexey Milovidov
f34a6dc482 Added a test for #4469 2020-04-27 16:13:23 +03:00
Vitaliy Zakaznikov
26532f4617 Updating 01247_insert_into_watch_live_view_url.py to fix hanging
issue if for some reason test fails.
2020-04-27 14:02:37 +02:00
zhang2014
81230944a4 ISSUES-5436 add integration test 2020-04-27 18:49:32 +08:00
alexey-milovidov
436e4e3f5e
Merge pull request #10502 from oandrew/avro-nested2
Avro nested fields - support complex types
2020-04-27 13:44:58 +03:00
alexey-milovidov
4a60cc6b2c
Merge pull request #10515 from ClickHouse/compare-date-time-with-string-literal
Use time zone when comparing DateTime with string literal
2020-04-27 13:10:27 +03:00
Alexey Milovidov
73b5df4de5 Added a test from @reqq #5155 2020-04-27 01:19:20 +03:00
Alexey Milovidov
cac130ad3b Use time zone when comparing DateTime with string literal 2020-04-27 01:13:51 +03:00
Alexey Milovidov
2f06a7b4c1 Added a test from @baloo-bear #5873 2020-04-27 00:26:03 +03:00
Alexey Milovidov
d40fb6b5d3 Added a test from @nvartolomei #6229 2020-04-27 00:09:30 +03:00
alexey-milovidov
11bb3e3afa
Merge pull request #10513 from ClickHouse/fix-fractional-timezones-overflow
Fix overflow at beginning of unix epoch for fractional timezones
2020-04-26 21:33:53 +03:00
alexey-milovidov
fe4992741c
Merge pull request #10514 from ClickHouse/move-old-bug-to-test
Move old bug to test
2020-04-26 21:33:07 +03:00
alexey-milovidov
c6ae6a7ba8
Merge pull request #10418 from ClickHouse/fix_logical_error_in_diagnostic_info
Better diagnostic info in input formats
2020-04-26 20:26:59 +03:00
alexey-milovidov
4c17542096
Merge pull request #10465 from kekekekule/ddl_settings
Add custom settings support in DDL-queries for CREATE DICTIONARY
2020-04-26 20:25:29 +03:00
alexey-milovidov
0a9bcae0ed
Merge pull request #10511 from ClickHouse/fix-ubsan-datetime64
Fixed UBSan for DateTime64; added a test
2020-04-26 20:17:01 +03:00
Alexey Milovidov
38e55c7883 Move old bug to test 2020-04-26 19:39:48 +03:00
Alexey Milovidov
1a4181b4ac Removed already fixed bug (already having a test) 2020-04-26 19:34:33 +03:00
Alexey Milovidov
08d8c350b7 Fix overflow at beginning of unix epoch for fractional timezones #9335 2020-04-26 19:22:44 +03:00
Alexey Milovidov
a70637ab4b Fixed UBSan; added a test 2020-04-26 17:57:45 +03:00
alexey-milovidov
62e2f10959
Merge pull request #10474 from hczhcz/patch-0422
Fix overflow in simpleLinearRegression
2020-04-26 17:34:57 +03:00
Vitaliy Zakaznikov
f35c7a8bf0 Updating 01247_insert_into_watch_live_view_url to check
CSV, JSONEachRow and JSONEachRowWithProgress output formats
2020-04-26 16:23:55 +02:00
Vitaliy Zakaznikov
369b4d53ef Adding support for output_format_enable_streaming format setting. 2020-04-26 15:44:11 +02:00
Vitaliy Zakaznikov
cf8bc71b21 Adding support to set HTTP_SERVER_HOST using an env variable of the same name. 2020-04-26 14:04:28 +02:00
Vitaliy Zakaznikov
c09126e80f Updating 01247_insert_into_watch_live_view_url.py test
Updating httpechoserver.py
2020-04-26 13:48:43 +02:00
Alexey Milovidov
1f0bd79d37 Update test 2020-04-26 04:15:35 +03:00
Alexey Milovidov
6bedcfc3f0 Update test 2020-04-26 04:08:19 +03:00
Alexey Milovidov
d01bd44f14 Merge branch 'master' into execute-query-flush-format-2 2020-04-26 03:31:46 +03:00
alexey-milovidov
8820b43606
Merge pull request #10479 from Avogar/markdown_format
Markdown format
2020-04-26 03:25:48 +03:00
Andrew Onyshchuk
e7ba75ce98 Avro nested fields - support complex types 2020-04-25 17:42:49 -05:00
Vitaliy Zakaznikov
f571a6b229 Adding 01247_insert_into_watch_live_view_url.py test case. 2020-04-25 17:21:36 -04:00
Vitaliy Zakaznikov
edc3268851 Adding 01246_insert_into_watch_live_view.py test case. 2020-04-25 11:03:42 -04:00
Avogar
13f6981bb0 Update markdown test reference 2020-04-25 00:17:33 +03:00
tavplubix
7928f2eaa1
Merge pull request #7512 from ClickHouse/database_atomic
DatabaseAtomic
2020-04-24 22:28:18 +03:00
Alexander Tokmakov
53dcce55e9 better diagnostic info in input formats 2020-04-24 15:03:48 +03:00
hcz
541cd638ba Fix overflow in simpleLinearRegression 2020-04-24 16:33:09 +08:00
Артем Стрельцов
69fef04a4b added test 2020-04-24 02:12:45 +03:00
Alexander Kuzmenkov
1bf02d459c performance comparison 2020-04-23 23:19:04 +03:00
Alexander Tokmakov
04d6b59ac0 Merge branch 'master' into database_atomic 2020-04-23 17:31:37 +03:00
Ivan Lezhankin
7cc0ad2884 Merge branch 'master' into pytest 2020-04-23 13:34:51 +03:00
alexey-milovidov
1ecfa27cd3
Merge pull request #10441 from ClickHouse/remove_casts_from_defaults
Remove CAST from DEFAULT expressions during table creation.
2020-04-23 12:36:12 +03:00
zhang2014
0070f75218 ISSUES-5436 fix integration test failure & add test 2020-04-23 17:11:20 +08:00
alexey-milovidov
829a7a551c
Merge pull request #10446 from CurtizJ/fix-mysql-test
Fix mysql integration test
2020-04-23 00:25:25 +03:00
Alexander Tokmakov
1833ac7f16 fixes 2020-04-22 23:43:10 +03:00
Alexander Kuzmenkov
11f07a32f3 performance comparison 2020-04-22 23:17:52 +03:00
Nikita Mikhaylov
3cf2016867
Merge pull request #10188 from nikitamikhaylov/quorum_bug
insert_quorum vs drop partition or ttl
2020-04-23 00:11:57 +04:00
Anton Popov
47213ebfe1 fix mysql test 2020-04-22 23:09:07 +03:00
alesapin
dadeb3d8b9 Remove casts from tests references 2020-04-22 20:14:34 +03:00
alexey-milovidov
f5fe39944e
Merge pull request #10431 from zhang2014/fix/ISSUES-9623
ISSUES-9623 add some check for BloomFilter index
2020-04-22 20:04:13 +03:00
Nikita Mikhaylov
f1ee08778f
Merge pull request #10414 from nikitamikhaylov/copier-sample-offset
cluster copier with sample offset
2020-04-22 20:31:17 +04:00
alesapin
45b8cb5b37 Remove casts from table creation by default 2020-04-22 17:29:38 +03:00
Alexander Tokmakov
fefbbd37df Merge branch 'master' into database_atomic 2020-04-22 17:02:30 +03:00
Nikita Mikhaylov
1d5d6582a0 fix test 2020-04-22 14:35:18 +03:00
zhang2014
0a0555d4d7 ISSUES-9623 fix failure test case 2020-04-22 18:34:42 +08:00
zhang2014
bfb87f0eab ISSUES-9623 check the number and type of arguments when creating BloomFilter index 2020-04-22 16:17:09 +08:00
alexey-milovidov
7065a8ba9c
Merge pull request #10422 from azat/fallback_to_stale_replicas-over-skip_unavailable_shards
Prefer fallback_to_stale_replicas over skip_unavailable_shards
2020-04-22 09:20:25 +03:00
Alexey Milovidov
e6acb35d95 Added a fix from Vadim Plakhtinskiy @VadimPlh 2020-04-22 07:32:05 +03:00
alexey-milovidov
eb0a1ec755
Merge pull request #10415 from azat/dict-load-after-detach-attach
Fix dictionary name (RELOAD and system.dictionaries) after DETACH/ATTACH
2020-04-22 06:57:08 +03:00
alexey-milovidov
7690c34e5b
Merge pull request #10424 from ClickHouse/tsv-bom-extra-case
Allow to parse BOM in TSV if the first column cannot contain BOM in its value
2020-04-22 06:56:43 +03:00
Alexey Milovidov
0c9a2e8132 Fix test 2020-04-22 06:42:10 +03:00
Alexander Kuzmenkov
d1c5e38a21
Merge pull request #10385 from CurtizJ/tuple-literal
Parse tuples of tuples as literals
2020-04-22 05:49:14 +03:00
Alexander Kuzmenkov
627dfe103f performance comparison 2020-04-22 04:50:21 +03:00
Alexey Milovidov
0a9c49beee Added a test from @filimonov #9936 2020-04-22 03:48:03 +03:00
alexey-milovidov
484de2abac
Merge pull request #10407 from qoega/negative_generate_random_tests
Add negative tests for randomGenerate
2020-04-22 03:31:14 +03:00
alexey-milovidov
91d9b26ab4
Merge pull request #10404 from ClickHouse/test_for_distributed_alter
Add test for alter on cluster
2020-04-22 03:30:55 +03:00
Alexey Milovidov
e8a9c7d518 Allow to parse BOM in TSV if the first column cannot contain BOM in its value 2020-04-22 02:46:42 +03:00
Alexey Milovidov
8df64543b7 Added a test from Mr.CHU @chu1070y #9270 2020-04-22 02:11:16 +03:00
Azat Khuzhin
e0f58b1ca1 Cover fallback_to_stale_replicas in conjunction with skip_unavailable_shards 2020-04-22 01:47:22 +03:00
alexey-milovidov
fcf5c3c6e1
Merge pull request #10399 from ClickHouse/fix-distributed_group_by_no_merge-segfault
Fix segfault with distributed_group_by_no_merge
2020-04-22 01:28:02 +03:00
Alexey Milovidov
561702c264 Added a test from Konstantin Podshumok #9068 2020-04-22 01:20:05 +03:00
Azat Khuzhin
2fa933a73e Cover creating of dictionary without db name 2020-04-21 21:02:36 +03:00
Azat Khuzhin
6f6b198fb2 Cover dictionary loading after DETACH/ATTACH DATABASE
This is the case when the server is starting.
2020-04-21 21:02:36 +03:00
Nikita Mikhaylov
15de7e4fa7 first try 2020-04-21 20:37:40 +03:00
Yatsishin Ilya
1adf094810 add tests 2020-04-21 17:45:11 +03:00
alesapin
dec2e65aa5 Add test for alter on cluster 2020-04-21 16:47:00 +03:00
Ilya Yatsishin
0ca37c75fd
Merge pull request #10390 from ClickHouse/fix-flattening-of-array-tuples
Fix flattening of Array(Tuple(...)) data type.
2020-04-21 15:41:00 +03:00
Ilya Yatsishin
82b0f31e37
Merge pull request #10335 from qoega/move_docker_to_docker
Move integration tests docker files to docker/ directory.
2020-04-21 15:10:42 +03:00
Nikita Mikhaylov
2173bcf28e Merge branch 'master' of github.com:ClickHouse/ClickHouse into quorum_bug 2020-04-21 14:35:06 +03:00
Nikolai Kochetov
f5ba4f4ed8 Added test. 2020-04-21 12:59:46 +03:00
Alexey Milovidov
750b73084a Added a test from Alexey Ilyukhov @livace 2020-04-21 02:56:57 +03:00
Alexey Milovidov
1e9c96776a Added a test 2020-04-21 02:50:14 +03:00
alexey-milovidov
4ecc86beca
Merge pull request #9950 from ClickHouse/aku/literal-columns
Create unique columns for literals
2020-04-21 02:30:17 +03:00
tavplubix
1a067484c8
Merge pull request #10137 from kekekekule/direct_queries
Add custom settings support for certain dictionary sources
2020-04-21 01:21:32 +03:00
alexey-milovidov
fe1309e575
Merge pull request #10381 from ClickHouse/fix-concat-prepare
Fix concat prepare
2020-04-21 00:07:32 +03:00
alexey-milovidov
ab922d44d5
Merge pull request #10379 from ClickHouse/only_fetch_repliac
Add setting always_fetch_merged_part
2020-04-21 00:07:00 +03:00
alexey-milovidov
2c8576798b
Merge pull request #10354 from oandrew/avro-nested
Avro nested fields insert support
2020-04-20 23:36:02 +03:00
alexey-milovidov
c4758b69a2
Merge pull request #10378 from hczhcz/patch-0420
Add JSONExtractKeysAndValuesRaw
2020-04-20 23:30:40 +03:00
alexey-milovidov
fea7ee800a
Merge pull request #10369 from ClickHouse/fix-weird-timezones
Fix for weird timezones
2020-04-20 23:21:52 +03:00
Anton Popov
e1b7e2de2f parse tuples of tuples as literals 2020-04-20 23:14:56 +03:00
alexey-milovidov
69b6f135e7
Merge pull request #10382 from excitoon-favorites/altercodec
Allowed to alter column in non-modifying data mode when the same type is specified
2020-04-20 22:54:53 +03:00
Alexander Kuzmenkov
da7eeb31d0
Update test.py 2020-04-20 22:37:50 +03:00
alesapin
e1fa39d801 fix test 2020-04-20 18:17:34 +03:00
Alexander Kuzmenkov
672c952d39
Update test.py 2020-04-20 17:44:21 +03:00
alesapin
0afd361933 Fix subprocess call in clickhouse-test 2020-04-20 17:20:06 +03:00
Vladimir Chebotarev
82985ff594 Allowed to alter column in non-modifying data mode when the same type is specified. 2020-04-20 14:15:06 +03:00
Alexander Tokmakov
b29bddac12 Merge branch 'master' into database_atomic 2020-04-20 14:09:09 +03:00
Nikolai Kochetov
6c319850ae Update tests. 2020-04-20 14:05:24 +03:00
alesapin
1bc84ec8b4 Fix comments 2020-04-20 13:56:23 +03:00
alesapin
8767ea7efa Add setting which restrict replica to merge parts by itself and always prefer dowloading from other replicas. 2020-04-20 13:53:29 +03:00
hcz
309a20caf0 Add tests and docs 2020-04-20 18:14:34 +08:00
Alexey Milovidov
848e4a0541 Added a test for #2219 2020-04-20 11:15:53 +03:00
alexey-milovidov
9d0004cba0
Merge pull request #10365 from ClickHouse/avoid-infinite-loop-in-hierarchical-dictionaries
Avoid infinite loop in hierarchical dictionaries
2020-04-20 10:54:16 +03:00
alexey-milovidov
e2d85501fe
Merge pull request #10366 from ClickHouse/fix-test-insert-batching
Fix flacky integration test
2020-04-20 10:53:38 +03:00
Alexey Milovidov
5a56714b6e Added a test 2020-04-20 10:41:26 +03:00
Alexey Milovidov
ac31d22572 More tests 2020-04-20 10:23:17 +03:00
Alexey Milovidov
1d559b9308 Added a test 2020-04-20 10:21:20 +03:00
Alexey Milovidov
70054e90d6 Merge branch 'master' into execute-query-flush-format-2 2020-04-20 09:19:34 +03:00
alexey-milovidov
587e16e23b
Merge pull request #10363 from ClickHouse/fixed-string-compare-as-zero-padded
Compare with fixed string of different size as if strings are zero padded
2020-04-20 09:14:27 +03:00
alexey-milovidov
1577d771df
Merge pull request #10341 from azat/auto_distributed_group_by_no_merge
Auto distributed_group_by_no_merge on GROUP BY sharding key
2020-04-20 08:30:27 +03:00
Alexey Milovidov
38aaa6206e Fix test 2020-04-20 08:29:08 +03:00
Alexey Milovidov
be4d20e690 Fixed an error and added a test 2020-04-20 07:02:52 +03:00
Alexey Milovidov
acde587c75 Merge branch 'master' into fixed-string-compare-as-zero-padded 2020-04-20 06:49:21 +03:00
Alexey Milovidov
e06dc573b4 Fix flacky integration test 2020-04-20 06:15:29 +03:00
alexey-milovidov
061cfe9fa5
Merge pull request #10359 from ClickHouse/system-tables-lazy-load
System tables eager creation, continuation
2020-04-20 06:14:19 +03:00
Alexey Milovidov
7634092536 More tests 2020-04-20 05:35:19 +03:00
Alexey Milovidov
d99c26a40c Fix infinite loop in dictIsIn function #515 2020-04-20 05:31:21 +03:00
alexey-milovidov
d906f6c4bf
Update 01250_fixed_string_comparison.sql 2020-04-20 04:19:00 +03:00
Alexey Milovidov
3af3cb62fb Added a test 2020-04-20 04:15:57 +03:00
alexey-milovidov
a7d360b72b
Merge pull request #10356 from vzakaznikov/fixing_test_00964_live_view_watch_events_heartbeat
Fixing 00964_live_view_watch_events_heartbeat.py test
2020-04-20 02:16:04 +03:00
Alexey Milovidov
99667a38c3 Added a test from Svyatoslav Tkhon Il Pak @DeifyTheGod #9642 2020-04-19 22:56:34 +03:00
Alexey Milovidov
0cebfc74b6 Added a test 2020-04-19 22:22:03 +03:00
zhang2014
8105a9bbe0 ISSUES-5436 fix review suggestions 2020-04-20 02:26:06 +08:00
tai
dafba9d66a ISSUES-5436 add integration test for custom http 2020-04-20 02:25:43 +08:00
Azat Khuzhin
be1dec9239 Fix distributed_group_by_no_merge optimization for Distributed-over-Distributed 2020-04-19 21:11:14 +03:00
Azat Khuzhin
681034f4a3 Fix 01213_optimize_skip_unused_shards_DISTINCT after distributed_group_by_no_merge optimization 2020-04-19 20:52:43 +03:00
Azat Khuzhin
93d049fe64 Allow auto distributed_group_by_no_merge for DISTINCT of sharding key 2020-04-19 18:53:37 +03:00
Azat Khuzhin
6f76f2791d Cover distributed_group_by_no_merge on GROUP BY injective function of sharding key 2020-04-19 18:33:49 +03:00