Commit Graph

10338 Commits

Author SHA1 Message Date
kssenii
c1ae5814a7 Merge master 2022-03-30 17:59:36 +02:00
tavplubix
c34d512586
Update 00484_preferred_max_column_in_block_size_bytes.sql 2022-03-30 18:36:37 +03:00
kssenii
d810853b78 Fix path in test 2022-03-30 17:35:59 +02:00
kssenii
099fa0e668 Merge master 2022-03-30 17:33:32 +02:00
mergify[bot]
4813f0b305
Merge branch 'master' into is-secure-client-info 2022-03-30 15:12:56 +00:00
kssenii
b30948dd53 Relax test 2022-03-30 17:12:23 +02:00
Alexander Gololobov
6e1036de50
Fix user file path extraction
It turned out that $CLICHOUSE_CLIENT could produce more verbose output that was not properly parsed. I made a change that should fix this parsing.
2022-03-30 16:12:13 +02:00
Maksim Kita
12ec3522e6
Merge pull request #35745 from azat/fix-tests-v22.3
Tests fixes
2022-03-30 15:44:25 +02:00
Kruglov Pavel
8c05a3dffc
Update 01825_type_json_parallel_insert.sql 2022-03-30 15:00:32 +02:00
avogar
849596c7a2 Improve schema inference for insert select queries 2022-03-30 12:44:53 +00:00
tavplubix
cf8332e109
Update 00170_s3_cache.reference 2022-03-30 14:38:21 +03:00
Anton Popov
d53858758d fix tests 2022-03-30 11:32:08 +00:00
Antonio Andelic
7bc5731025 Merge branch 'master' into is-secure-client-info 2022-03-30 11:26:05 +00:00
avogar
af4bfec051 Fix bug in conversion from custom types to string 2022-03-30 11:19:03 +00:00
Maksim Kita
371cdc956a Added input format settings for parsing invalid IPv4, IPv6 addresses as default values 2022-03-30 12:54:19 +02:00
Vladimir C
31c367d3cd
Merge pull request #35651 from amosbird/columntransformerrename 2022-03-30 12:37:30 +02:00
tavplubix
531942ce5c
Update 00170_s3_cache.sql 2022-03-30 12:43:34 +03:00
mergify[bot]
9a391f2fed
Merge branch 'master' into parallel_stateful 2022-03-30 09:40:12 +00:00
Azat Khuzhin
2a099d90fe tests: make 02152_http_external_tables_memory_tracking more stable
After settings randomization, it can not reach max_untracked_memory,
i.e. due to max_block_size=67990 for example (like in [1]).

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/35683/c609426d091ea8b9f2d37f8d7fcbf9e759cc94e5/stateless_tests__release__actions_.html

Fix this, by settings max_untracked_memory to 0, to track any
allocations.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-30 11:06:07 +03:00
Azat Khuzhin
b264bdcf5e tests: wait for left queries in 00417_kill_query
CI: https://s3.amazonaws.com/clickhouse-test-reports/0/c244ee7cbb61fea384679e18a577ff579060288b/stateless_tests__release__s3_storage__actions_/runlog.log
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-30 11:06:07 +03:00
Antonio Andelic
b70456879e Add tests for is_secure in query_log 2022-03-30 06:39:40 +00:00
taiyang-li
47f3e9330e merge master and fix conflict 2022-03-30 11:06:51 +08:00
taiyang-li
e76ed3acde Merge branch 'master' into improve_access_type 2022-03-30 11:04:57 +08:00
Anton Popov
a842a81aba
Merge pull request #35690 from CurtizJ/flatten-tuple
Add function `flattenTuple`
2022-03-30 00:24:36 +02:00
Anton Popov
1cba31c305
Merge pull request #35687 from CurtizJ/dynamic-columns-7
Fix reading from type object
2022-03-30 00:21:32 +02:00
Alexander Tokmakov
6191eaa983 fix some flaky tests 2022-03-29 23:12:06 +02:00
Anton Popov
caacc7d385 add quota for written bytes 2022-03-29 18:21:29 +00:00
Anton Popov
74cafe154a
fix flaky test 02246_async_insert_quota 2022-03-29 19:58:59 +02:00
Kseniia Sumarokova
e2370d9622
Update 02235_remote_fs_cache_stress.sh 2022-03-29 19:11:36 +02:00
mergify[bot]
87303368fc
Merge branch 'master' into patch-2 2022-03-29 17:07:12 +00:00
Maksim Kita
f1f4e85c4b Added test for insert of invalid IPv6 value 2022-03-29 19:02:59 +02:00
Anton Kozlov
7da5d4f145
Updated a comment that clarifies the expected error 2022-03-29 17:27:12 +01:00
tavplubix
f3e580e876
Merge pull request #35711 from kssenii/fix-local-drop-db
Fix dropping non-empty database in clickhouse local
2022-03-29 18:39:01 +03:00
Kruglov Pavel
5a5aa3ab31
Update test 2022-03-29 17:35:29 +02:00
kssenii
a2e950bd3b Fix 2022-03-29 17:34:50 +02:00
avogar
ce97ccbfb9 Improve schema inference for JSONEachRow and TSKV formats 2022-03-29 14:47:51 +00:00
Alexander Tokmakov
c37945b2c8 run stateful tests in parallel 2022-03-29 15:24:29 +02:00
Yakov Olkhovskiy
f68f0cce04
Update 02205_ephemeral_1.reference
tests without default is added
2022-03-29 09:24:00 -04:00
Yakov Olkhovskiy
0f10a2de9c
Update 02205_ephemeral_1.sql
tests without default added
2022-03-29 09:20:05 -04:00
Dmitry Novik
8f935a72d6
Merge pull request #33230 from CurtizJ/read_in_order_max_rows_to_read
Proper handle of 'max_rows_to_read' in case of reading in order of sorting key
2022-03-29 15:16:34 +02:00
taiyang-li
67c3c0be3d Merge branch 'master' into improve_access_type 2022-03-29 20:42:57 +08:00
Anton Popov
9610139477
Merge pull request #35629 from CurtizJ/dynamic-columns-5
Support schema inference for type `Object` in format `JSONEachRow`
2022-03-29 14:17:09 +02:00
Kruglov Pavel
8edf6e7448
Mark test 02242_optimize_to_subcolumns_no_storage as backward incompatible for version 22.3.2.1 2022-03-29 14:15:19 +02:00
Anton Popov
c59926dcc7 fix tests 2022-03-29 12:13:02 +00:00
tavplubix
ec496faae8
Merge pull request #35688 from ClickHouse/tavplubix-patch-4
Fix flaky 01037_polygon_dicts_correctness_fast
2022-03-29 15:07:10 +03:00
Anton Popov
d42632dc13
Merge pull request #32928 from bigo-sg/rocksdb_metacache
Speed up parts loading process of MergeTree by metadata cache
2022-03-29 14:05:22 +02:00
Alexander Gololobov
bf376ee2f5
Merge pull request #35628 from ClickHouse/make_date
Implementation of makeDate and makeDate32
2022-03-29 13:35:26 +02:00
taiyang-li
834ac3a1b9 Merge remote-tracking branch 'ck/master' into rocksdb_metacache 2022-03-29 18:32:06 +08:00
kssenii
98fe1ca1ec Fix 2022-03-29 12:05:27 +02:00
Anton Popov
5d8988ad4e
Merge pull request #35645 from CurtizJ/fix-quotas-async-inserts
Fix usage of quota with async inserts
2022-03-29 11:54:24 +02:00
Nikolai Kochetov
86690f18ee
Merge pull request #35667 from amosbird/projection-fix2
Another fix of projection part check
2022-03-29 10:22:01 +02:00
taiyang-li
db436ad621 Merge branch 'master' into function_enumerate_streams 2022-03-29 11:35:21 +08:00
Amos Bird
3ab8fc1e7b
Fix projection part check
Fix projection part check when projection part type is different from
parent part type.
2022-03-29 10:39:07 +08:00
kssenii
c6b1f86306 Merge with master 2022-03-29 02:03:28 +02:00
Nikita Mikhaylov
85282f1b4d
Made schema inference work with s3Cluster table function (#35544) 2022-03-29 00:46:35 +02:00
Anton Popov
cd3cc60d5d fix fasttest 2022-03-28 21:13:20 +00:00
mergify[bot]
bf5a9dcb7a
Merge branch 'master' into groupSortedArray 2022-03-28 20:57:07 +00:00
mergify[bot]
9efc8bda78
Merge branch 'master' into remote-filesystem-cache-fixes 2022-03-28 20:53:29 +00:00
kssenii
1d49a85963 Merge master 2022-03-28 22:51:56 +02:00
Alexander Gololobov
b49993f993 Fixes according to the code review 2022-03-28 22:47:39 +02:00
kssenii
a2013ebe2b Better 2022-03-28 22:40:27 +02:00
Kseniia Sumarokova
9a8e9198e5
Merge pull request #35593 from kssenii/named-collections-fix
Fix headers with named collections, add compression_method
2022-03-28 22:10:32 +02:00
alesapin
10f29ff7f9
Merge pull request #35679 from Avogar/fix-tests
Fix flaky tests 02149_read_in_order_fixed_prefix and 02177_issue_31009
2022-03-28 21:42:17 +02:00
Anton Popov
24c0cf86d4 add function 'flattenTuple' 2022-03-28 19:32:12 +00:00
alesapin
438e44e68d
Merge pull request #35659 from ClickHouse/fix_flaky_test
Fix multiple flaky tests
2022-03-28 21:18:37 +02:00
Anton Popov
6cbdc6af00 remove obsolete parameter 2022-03-28 18:44:53 +00:00
Vladimir C
ecdd89e811
Merge pull request #35666 from vdimir/fix-fuse 2022-03-28 20:40:43 +02:00
tavplubix
9a650456eb
Update 01037_polygon_dicts_correctness_fast.sh 2022-03-28 20:42:51 +03:00
Anton Popov
d677635cd8
Merge pull request #35592 from CurtizJ/dynamic-columns-4
Add parallel parsing and schema inference for format `JSONAsObject`
2022-03-28 19:29:55 +02:00
Anton Popov
0e4af89f69 fix reading from type object 2022-03-28 17:23:34 +00:00
Alexander Gololobov
93021e387e Implementation of makeDate and makeDate32 2022-03-28 18:57:24 +02:00
Anton Popov
bbfe8a2ca7 fix possible loss of subcolumns in type Object 2022-03-28 15:36:05 +00:00
Anton Kozlov
8143526cd2
[test] Adds clean-up for functional test 02167
Running this test twice now doesn't result in a failure due to the fact that the temporary file is being cleaned up
2022-03-28 16:11:20 +01:00
alesapin
9c3e9a2c9b
Update tests/queries/0_stateless/01108_restart_replicas_rename_deadlock_zookeeper.sh
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2022-03-28 17:11:20 +02:00
avogar
1f028dd48e Fix flaky tests 02149_read_in_order_fixed_prefix and 02177_issue_31009 2022-03-28 14:13:56 +00:00
tavplubix
e0dbe1785c
Merge pull request #35657 from ClickHouse/fix_flaky_test_1532
Fix flaky test `01532_primary_key_without_order_by_zookeeper`
2022-03-28 17:08:12 +03:00
tavplubix
1eef2d7c26
Update 01532_primary_key_without_order_by_zookeeper.sql 2022-03-28 16:56:25 +03:00
alesapin
e75a0a594d Better fix for procfs_metrics 2022-03-28 15:39:02 +02:00
Kruglov Pavel
9f2cba498c
Fix timeouts in 01514_parallel_formatting test 2022-03-28 15:34:32 +02:00
mergify[bot]
f09ebea2d8
Merge branch 'master' into read_in_order_max_rows_to_read 2022-03-28 13:30:34 +00:00
vdimir
a216bc26c1
Correct check asof join key nullability 2022-03-28 13:29:34 +00:00
alesapin
51ef88e5dd Fix 00385 2022-03-28 15:29:13 +02:00
taiyang-li
38702be40c Merge remote-tracking branch 'ck/master' into rocksdb_metacache 2022-03-28 21:03:22 +08:00
alesapin
13831120da Fix restart repliacs test 2022-03-28 14:32:53 +02:00
Kruglov Pavel
0513aac13f
Merge pull request #35599 from Avogar/random-settings
Make some tests more stable
2022-03-28 14:23:26 +02:00
vdimir
1122db89db
Use float devision for avg after optimize_fuse_sum_count_avg 2022-03-28 11:26:42 +00:00
Kseniia Sumarokova
3887fefb6b
Delete 02226_s3_with_cache.reference 2022-03-28 12:51:35 +02:00
Kseniia Sumarokova
dbeba322fd
Delete 02226_s3_with_cache.sql 2022-03-28 12:51:26 +02:00
alesapin
c7fc1bd4dd Fix flaky 01307_multiple_leaders 2022-03-28 12:16:41 +02:00
Alexander Tokmakov
fe86805e5d fix flaky test 2022-03-28 12:14:56 +02:00
Amos Bird
58a78fba12
formatString bug fix and refactoring 2022-03-28 15:47:48 +08:00
kssenii
98ad78f0a9 Ping CI 2022-03-28 09:41:56 +02:00
kssenii
9d20339dcb Mark test as long 2022-03-28 09:25:18 +02:00
Kseniia Sumarokova
482a5e362b
Merge pull request #35620 from kssenii/fix-positional-arguments-with-aliases
Fix positional arguments
2022-03-28 09:18:49 +02:00
Antonio Andelic
c4d0cc7c84
Merge pull request #35616 from ClickHouse/fix-lowcardinality-hash-join
Fix HashJoin with LowCardinality data
2022-03-28 08:28:28 +02:00
Anton Popov
4ddfff3084 fix usage of quota with async inserts 2022-03-28 00:46:35 +00:00
Denny Crane
b7b06e1b64 fix order 2022-03-26 16:43:57 -03:00
Denny Crane
3bfd911ce2 test for crash _join_with_nullable_lowcardinality 2022-03-26 16:11:45 -03:00
Denny Crane
22c9b54036 test for partition_by using ignore() 2022-03-26 15:09:48 -03:00
mergify[bot]
93b3b46caf
Merge branch 'master' into fix-lowcardinality-hash-join 2022-03-25 22:56:59 +00:00
Anton Popov
67195bfdd5 support schema inference for type Object in format JSONEachRow 2022-03-25 21:51:53 +00:00
kssenii
d8960cde62 Fix positional order/etc by literal 2022-03-25 20:03:12 +01:00
Antonio Andelic
e27a68ef8c
Merge pull request #35576 from ClickHouse/fix-casewithexpression-type-deduction
Fix `caseWithExpression` return type deduction
2022-03-25 16:01:31 +01:00
Vladimir C
cfb12aff6f
Merge pull request #35460 from helifu/master 2022-03-25 15:55:17 +01:00
taiyang-li
4788006030 Merge branch 'master' into function_enumerate_streams 2022-03-25 22:31:10 +08:00
taiyang-li
3ca487030d Merge branch 'master' into improve_access_type 2022-03-25 22:11:08 +08:00
kssenii
5103aefd34 Fix 2022-03-25 14:33:54 +01:00
Antonio Andelic
c954e10383 add tests for hash join with LowCardinality 2022-03-25 12:10:38 +00:00
kssenii
200abb51dc Better test 2022-03-25 12:48:23 +01:00
tavplubix
ce99b95230
Merge pull request #35594 from ClickHouse/fix_stupid_bug
Fix stupid bug in ATTACH TABLE
2022-03-25 14:38:27 +03:00
avogar
8be73a0554 Fix test 2022-03-25 11:23:23 +00:00
Antonio Andelic
e76074ef7f Merge branch 'master' into fix-casewithexpression-type-deduction 2022-03-25 11:12:38 +00:00
Antonio Andelic
f6439efcad
Merge pull request #35459 from ClickHouse/case-insensitive-column-matching
Support for case insensitive column matching for ORC/Arrow/Parquet files
2022-03-25 08:09:29 +01:00
taiyang-li
dd0873189d rename all files 2022-03-25 14:54:01 +08:00
taiyang-li
c9acc55008 rename function name 2022-03-25 14:51:59 +08:00
mergify[bot]
6267ba4445
Merge branch 'master' into fix_stupid_bug 2022-03-25 01:30:48 +00:00
Kruglov Pavel
2f2d3cdbca
Merge pull request #35578 from ClickHouse/Avogar-patch-3
Increase fiber stack size a bit in attempt to fix stack overflow in tests with address sanitizer
2022-03-25 00:33:05 +01:00
Maksim Kita
7b03617341
Merge pull request #35539 from kitaisreal/parse-ipv6-long-fix
Fix parsing of IPv6 addresses longer than 39 characters
2022-03-24 22:28:51 +01:00
avogar
52f20041c1 Fix test 01091_num_threads 2022-03-24 21:12:26 +00:00
Kruglov Pavel
aedea58741
Mark test as long 2022-03-24 22:10:20 +01:00
avogar
780cc37479 Make some tests more stable 2022-03-24 20:29:12 +00:00
kssenii
0c6577eee0 Merge master 2022-03-24 20:49:02 +01:00
avogar
c63bc05292 Add test 2022-03-24 19:32:14 +00:00
Alexander Tokmakov
7c0bdbfa93 fix stupid bug 2022-03-24 20:24:05 +01:00
Anton Popov
1c2afcdee1 better test 2022-03-24 18:22:41 +00:00
kssenii
d9d9f3bc6d Fix 2022-03-24 19:10:53 +01:00
Anton Popov
78100abc5f add parallel parsing and schema inference for type Object 2022-03-24 17:51:35 +00:00
mergify[bot]
52099b23a1
Merge branch 'master' into case-insensitive-column-matching 2022-03-24 15:24:46 +00:00
Alexey Milovidov
66a6352378
Merge pull request #35556 from ClickHouse/revert-35524-fix-stack-overflow
Revert "Decrease data_type_max_parse_depth a little to avoid stack overflow in coroutines"
2022-03-24 17:57:24 +03:00
Alexey Milovidov
31420615c0
Merge pull request #35553 from ClickHouse/kostik-consistent-hash
Rename `yandexConsistentHash` to `kostikConsistentHash`
2022-03-24 17:56:59 +03:00
Alexey Milovidov
ea7a1be826
Merge pull request #35555 from ClickHouse/cleanup-test-data
Cleanup test data
2022-03-24 17:56:47 +03:00
Maksim Kita
a4e8e940bc Fixed tests 2022-03-24 13:45:04 +01:00
Kruglov Pavel
65598f40b2
Don't run 01318_long_unsuccessful_mutation_zookeeper test in backward compatibility check 2022-03-24 13:39:52 +01:00
Kruglov Pavel
87ff97f910
Merge pull request #35047 from Avogar/random-settings
Add next batch of random settings in functional tests
2022-03-24 13:38:43 +01:00
vdimir
d16ae46589
remove description for ReadFromMergeTree from pipeline, adjust tests for plan 2022-03-24 11:31:52 +00:00
Antonio Andelic
7a25fc612d Add tests for caseWithExpression 2022-03-24 11:29:11 +00:00
kssenii
142a5938a1 Merge master 2022-03-24 12:10:26 +01:00
mergify[bot]
bf90edc362
Merge branch 'master' into case-insensitive-column-matching 2022-03-24 08:00:42 +00:00
taiyang-li
a75ded9da3 fix stateless tests 2022-03-24 15:55:01 +08:00
Alexey Milovidov
8bf8632cd8
Revert "Decrease data_type_max_parse_depth a little to avoid stack overflow in coroutines" 2022-03-24 07:01:20 +03:00
taiyang-li
e6cc5364e0 add long tag for test 2022-03-24 11:22:35 +08:00
Alexey Milovidov
36e0946926 Make test data less frightening for random strangers 2022-03-24 03:55:43 +01:00
Alexey Milovidov
0597612eee Make test data less frightening for random strangers 2022-03-24 03:37:24 +01:00
Alexey Milovidov
d54138425f Rename yandexConsistentHash to kostikConsistentHash 2022-03-24 02:18:25 +01:00
Maksim Kita
4b88c6f934
Merge pull request #35534 from kitaisreal/set-in-ipv4-ipv6-address-cast-fix
Fix cast into IPv4, IPv6 address in IN section
2022-03-24 01:26:25 +01:00
mergify[bot]
e4e4fcb244
Merge branch 'master' into random-settings 2022-03-23 22:17:10 +00:00
mergify[bot]
b745b67026
Merge branch 'master' into parse-ipv6-long-fix 2022-03-23 18:56:40 +00:00
mergify[bot]
b6214ed51c
Merge branch 'master' into random-settings 2022-03-23 17:39:07 +00:00
mergify[bot]
853bea62db
Merge branch 'master' into fix-stack-overflow 2022-03-23 18:37:18 +01:00
Kruglov Pavel
826b933b08
Merge pull request #35332 from Avogar/fix-tskv-schema-inference
Fix schema inference for TSKV format while using small max_read_buffer_size
2022-03-23 18:37:07 +01:00