Commit Graph

9996 Commits

Author SHA1 Message Date
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
Yakov Olkhovskiy
1631656803
Merge pull request #34353 from zvonand/issue_33147
Extended usage of Milliseconds, Microseconds, Nanoseconds
2022-03-23 13:33:07 -04:00
Yakov Olkhovskiy
2772f3181a non-constant parameter tests added, some tests fixed 2022-03-23 13:28:17 -04:00
Antonio Andelic
052057f2ef Address PR comments 2022-03-23 15:42:46 +00:00
Maksim Kita
df0d3c9304 Fix parsing of IPv6 addresses longer than 39 characters 2022-03-23 16:11:46 +01:00
Antonio Andelic
08cb71a067 Merge branch 'master' into case-insensitive-column-matching 2022-03-23 14:37:05 +00:00
Maksim Kita
ff2d5dae83 Fix cast into IPv4, IPv6 address in IN section 2022-03-23 15:22:08 +01:00
Kruglov Pavel
2be956da22
Update 01598_memory_limit_zeros.sql 2022-03-23 11:58:27 +01:00
avogar
99cf1560da Decrease data_type_max_parse_depth a little to avoid stack overflow in coroutines 2022-03-23 10:50:55 +00:00
Maksim Kita
1f940f9e3b
Merge pull request #35512 from CurtizJ/fix-fuzzer
Fix crash with enabled `optimize_functions_to_subcolumns`
2022-03-23 11:31:32 +01:00
Antonio Andelic
8dc3c6901d Merge branch 'master' into case-insensitive-column-matching 2022-03-23 07:42:21 +00:00
Antonio Andelic
9829f2d051 Merge branch 'master' into parallel-downloading-url-engine 2022-03-23 07:41:14 +00:00
taiyang-li
ae3d55c6a2 merge master and fix conflict 2022-03-23 14:31:12 +08:00
taiyang-li
8dbf1c60e7 merge master and fix conflict 2022-03-23 11:36:50 +08:00
taiyang-li
9d88494b43 fix fasttest 2022-03-23 10:55:07 +08:00
Anton Popov
4ff9627f60 fix crash with enabled optimize_functions_to_subcolumns 2022-03-23 01:27:52 +00:00
Mikhail f. Shiryaev
71fb04ea4a
Merge pull request #35466 from ClickHouse/black
Check python black formatting
2022-03-22 23:53:02 +01:00
mergify[bot]
2543e25b02
Merge branch 'master' into random-settings 2022-03-22 20:00:47 +00:00
Kruglov Pavel
ea62f83842
Merge pull request #35502 from kitaisreal/short-circuit-short-column-crash-fix
Fix crash during short circuit function evaluation
2022-03-22 18:43:00 +01:00
Mikhail f. Shiryaev
e6f5a3f98b
Apply black formatter to all *.py files in the repo 2022-03-22 17:39:58 +01:00
Anton Popov
93dc5c0b81
Merge pull request #35488 from CurtizJ/add-subcolumns-sizes
Add sizes of subcolumns to `system.parts_columns` table
2022-03-22 16:53:23 +01:00
Maksim Kita
fcbf97ba68 Fix crash during short circuit function evaluation 2022-03-22 14:10:47 +01:00
Maksim Kita
0576c1b0f3
Merge pull request #35500 from kitaisreal/throw-if-constant-argument-crash-fix
Fix crash for function throwIf with constant arguments
2022-03-22 13:44:37 +01:00
Antonio Andelic
5da3058368 Merge branch 'master' into parallel-downloading-url-engine 2022-03-22 12:20:36 +00:00
Maksim Kita
22112feef3 Fix crash for function throwIf with constant arguments 2022-03-22 12:30:25 +01:00
Kruglov Pavel
594fa8f449
Merge pull request #35476 from Avogar/decimal-logical-error
Fix bug in function if that led to logical error
2022-03-22 12:12:24 +01:00
Kruglov Pavel
c8e1dcf88c
Merge pull request #35482 from Avogar/stress-test
Add retries in backward compatibility check
2022-03-22 12:05:47 +01:00
Antonio Andelic
0a469066e0 Add more tests 2022-03-22 10:55:20 +00:00
kssenii
a5aa75f102 Update test 2022-03-22 11:25:08 +01:00
Antonio Andelic
7c11295228 Remove old test 2022-03-22 09:33:11 +00:00
Antonio Andelic
ca7844e338 Fix tests 2022-03-22 09:27:20 +00:00
Antonio Andelic
b278600c3e rename tests 2022-03-22 07:38:26 +00:00
Antonio Andelic
6cebb6bc88 Merge branch 'master' into case-insensitive-column-matching 2022-03-22 07:36:35 +00:00
Anton Popov
54b02c5108 fix tests 2022-03-21 22:49:33 +00:00
alesapin
f1534e4345
Merge pull request #35470 from ClickHouse/nickitat-patch-1
Explicitly set allow_introspection_functions to 0
2022-03-21 22:50:27 +01:00
Kruglov Pavel
eb399359dd
Update 01650_fetch_patition_with_macro_in_zk_path_long.sql 2022-03-21 22:47:24 +01:00
Anton Popov
0c210a831c add sizes of subcolumns to system.parts_columns table 2022-03-21 21:12:26 +00:00
tavplubix
2fdc937ae1
Merge pull request #35480 from ClickHouse/fix_34586
Fix show create for information_schema
2022-03-21 22:20:34 +03:00
Alexander Tokmakov
552106f2e7 fix style check 2022-03-21 20:09:08 +01:00
avogar
0b8ddedb39 Fix tests 2022-03-21 18:01:55 +00:00
mergify[bot]
9b9959aae0
Merge branch 'master' into read_in_order_max_rows_to_read 2022-03-21 17:33:37 +00:00
Nikolai Kochetov
5e239762c6
Merge pull request #35334 from amosbird/fixpartitionpruneroverflow
Fix incorrect partition pruning when constant in predicate has no supertype of related key columns
2022-03-21 17:05:19 +01:00
Alexander Tokmakov
dba82a7732 fix show create for information_schema 2022-03-21 17:01:39 +01:00
avogar
0f69baa231 Fix bug in function if that led to logical error 2022-03-21 14:27:25 +00:00
mergify[bot]
e11ef05c2b
Merge branch 'master' into issue_33147 2022-03-21 13:40:17 +00:00
mergify[bot]
5df84df596
Merge branch 'master' into groupSortedArray 2022-03-21 13:35:06 +00:00
Nikita Taranov
8adf4ca499
Explicitly set allow_introspection_functions to 0
I spent dozen of time trying to understand why this test doesn't work locally
2022-03-21 13:32:18 +01:00
Antonio Andelic
0457a3998a remove old test 2022-03-21 11:58:55 +00:00
mergify[bot]
f22fddc3ec
Merge branch 'master' into random-settings 2022-03-21 11:52:21 +00:00
Kruglov Pavel
fbcc27a339
Merge pull request #27928 from Avogar/stress-test
Add backward compatibility check in stress test
2022-03-21 12:49:46 +01:00
Kruglov Pavel
ed7b40253c
Merge pull request #35039 from zzsmdfj/issue/#34890_fix_input_format_null_as_default_bug
to #34890_fix_input_format_null_as_default_bug
2022-03-21 12:42:17 +01:00
Antonio Andelic
b8c43ff2f2 Merge branch 'master' into parallel-downloading-url-engine 2022-03-21 09:11:01 +00:00
Antonio Andelic
7e14ab46a3 Add tests for case insensitive matching 2022-03-21 09:03:23 +00:00
tavplubix
716c6f0ffa
Merge pull request #35406 from Avogar/fix-parquet
Fix working with unneeded columns in Arrow/Parquet/ORC formats
2022-03-21 11:36:54 +03:00
Antonio Andelic
29d2bf7d1a Merge branch 'master' into case-insensitive-column-matching 2022-03-21 08:17:27 +00:00
taiyang-li
6fcdb9dd78 fix fasttest 2022-03-21 14:28:48 +08:00
Alexey Milovidov
0ce4696c49
Revert "[WIP] New row policies" 2022-03-21 08:41:33 +03:00
taiyang-li
8e856a00fd enable column as argument 2022-03-21 12:49:05 +08:00
Vitaly Baranov
9fb50422ce
Merge pull request #35345 from vitlibar/new-row-policies
[WIP] New row policies
2022-03-20 20:00:25 +01:00
Alexey Milovidov
9b05801e0f
Merge pull request #35284 from CurtizJ/fix-mutations-sparse-columns
Fix mutations in tables with enabled sparse columns
2022-03-20 21:55:59 +03:00
Vitaly Baranov
afe6a1003a Add new row policy kind: simple 2022-03-20 17:34:59 +01:00
vdimir
8dc1c72d17
fix 02177_issue_31009_pt2.sql 2022-03-20 15:50:45 +01:00
Anton Popov
ed67ba14b5
Merge pull request #35409 from CurtizJ/dynamic-columns-3
Fix race in data type `Object`
2022-03-19 22:18:50 +01:00
alesapin
e8a229f3a6
Merge pull request #35413 from ClickHouse/adjust-fasttest
Disable long-running (>30) fast tests
2022-03-19 17:01:58 +01:00
Anton Popov
18c32fbdb5 Merge remote-tracking branch 'upstream/master' into dynamic-columns-3 2022-03-18 21:16:21 +00:00
Maksim Kita
8ef4b38b69 Added tests 2022-03-18 19:52:41 +01:00
Mikhail f. Shiryaev
1b4adc963f
Disable long-running (>30) fast tests
02015_shard_crash_clang_12_build                                  OK  30.39
01014_lazy_database_concurrent_recreate_reattach_and_show_tables  OK  31.27
01034_move_partition_from_table_zookeeper                         OK  32.34
01035_concurrent_move_partition_from_table_zookeeper              OK  35.35
00183_skip_unavailable_shards                                     OK  36.69
01593_concurrent_alter_mutations_kill                             OK  38.36
02122_parallel_formatting                                         OK  39.27
02100_multiple_hosts_command_line_set                             OK  44.04
01114_database_atomic                                             OK  45.67
01287_max_execution_speed                                         OK  90.98
01599_multiline_input_and_singleline_comments                     OK  180.09
2022-03-18 17:30:05 +01:00
Anton Popov
79bb493383 fix race in data type Object 2022-03-18 14:52:07 +00:00
avogar
411ffbc600 Add data file for test 2022-03-18 14:15:39 +00:00
Maksim Kita
6cb2eedccd
Merge pull request #34733 from Algunenano/asof_ftw
Improve ASOF join performance
2022-03-18 16:29:19 +03:00
avogar
cffa2096de Fix working with unneeded columns in Arrow/Parquet/ORC formats 2022-03-18 13:07:54 +00:00
Alexey Milovidov
f13e436d40
Merge pull request #34924 from azat/tests-overlaps
Do not leave any queries after test finish (and add a check into clickhouse-test)
2022-03-18 16:06:38 +03:00
Kruglov Pavel
aa3c05e9d4
Merge pull request #35152 from rschu1ze/protobuf-batch-write
ProtobufList
2022-03-18 13:24:34 +01:00
kssenii
43ed2beb3c Merge master 2022-03-18 12:33:08 +01:00
Raúl Marín
3191032c99 Merge remote-tracking branch 'blessed/master' into asof_ftw 2022-03-18 11:04:00 +01:00
kssenii
b756af7a14 Uncomment code, update test 2022-03-18 10:57:32 +01:00
Amos Bird
10996b1434
Fix mixed constant type during partition pruning 2022-03-18 17:47:03 +08:00
mergify[bot]
fa02398f8f
Merge branch 'master' into enable-testmode-by-default 2022-03-18 09:39:49 +00:00
kssenii
4bc0128800 Add test 2022-03-18 10:33:43 +01:00
Maksim Kita
2e22164cd7
Merge pull request #35360 from ClickHouse/merging-min-sample-size
Merging #34354
2022-03-18 02:28:39 +03:00
Raúl Marín
aeacd42e08 ASOF: Add big integer types support 2022-03-17 19:08:33 +01:00
Maksim Kita
9bec85b6fe
Merge pull request #35358 from kitaisreal/function-h3-get-res-0-indexes-crash-fix
Function h3GetRes0Indexes crash fix
2022-03-17 16:29:33 +01:00
Vitaly Baranov
98e48d7b54 SHOW CREATE ROW POLICY now always shows AS permissive/restrictive if there is TO section. 2022-03-17 15:28:53 +01:00
Vitaly Baranov
470582e262 Change type of RowPolicyKind: bool -> enum. 2022-03-17 15:28:05 +01:00
mergify[bot]
28734562bb
Merge branch 'master' into issue/#34890_fix_input_format_null_as_default_bug 2022-03-17 13:24:34 +00:00
Antonio Andelic
607f785e48 Revert "Merge pull request #35145 from bigo-sg/lower-column-name"
This reverts commit ebf72bf61d, reversing
changes made to f1b812bdc1.
2022-03-17 12:31:43 +00:00
avogar
082ce9fb4d Fix tests 2022-03-17 12:28:43 +00:00
Vladimir C
344d6c6dc8
Merge pull request #35302 from vdimir/fix_00900_long_parquet_load 2022-03-17 13:23:57 +01:00
Maksim Kita
3f45755822
Merge pull request #34354 from achimbab/minSampleSize
Implement functions for minimum-sample-size-calculators
2022-03-17 12:47:53 +01:00
Maksim Kita
1bf3ff67b2 Function h3GetRes0Indexes crash fix 2022-03-17 11:45:25 +00:00
Maksim Kita
201a498471
Merge pull request #35159 from palegre-tiny/test_26965
Add test for #26965
2022-03-17 12:34:06 +01:00
Maksim Kita
d277614eea
Update 02233_set_enable_with_statement_cte_perf.sql 2022-03-17 12:33:56 +01:00
Nikolai Kochetov
ee9c2ec735
Merge pull request #34780 from azat/mt-delayed-part-flush
Do not delay final part writing by default (fixes possible Memory limit exceeded during INSERT)
2022-03-17 12:30:51 +01:00
mergify[bot]
5295dd0ef2
Merge branch 'master' into stress-test 2022-03-17 11:10:37 +00:00
Maksim Kita
9e88f3b4b9
Merge pull request #34568 from bharatnc/ncb/h3-misc-funcs-3
add remaining h3 miscellaneous functions
2022-03-17 11:55:58 +01:00
Antonio Andelic
103a3fa140 Merge branch 'master' into parallel-downloading-url-engine 2022-03-17 10:11:58 +00:00
kssenii
d136916508 Remove testmode option 2022-03-17 10:54:37 +01:00
alesapin
457fa0d1ba
Merge pull request #23932 from CurtizJ/dynamic-columns
Support of dynamic subcolumns (JSON data type)
2022-03-17 10:45:46 +01:00
taiyang-li
d9391f2f7b fix conflict 2022-03-17 17:31:37 +08:00
Maksim Kita
f837f609f3
Merge pull request #35240 from kitaisreal/cast-to-ip-address-refactoring
Standardize behaviour of CAST into IPv4, IPv6, toIPv4, toIPv6 functions
2022-03-17 10:26:32 +01:00
Pablo Alegre
d2bc179d3d fixup! Add test for #26965 * Add a test for 'WITH'+CTE performance if enable_global_with_statement is enabled 2022-03-16 23:09:33 +01:00
Pablo Alegre
289070a55c fixup! Add test for #26965 * Add a test for 'WITH'+CTE performance if enable_global_with_statement is enabled 2022-03-16 23:08:39 +01:00
Pablo Alegre
6fe26d24e7 Add test for #26965
* Add a test for 'WITH'+CTE performance if enable_global_with_statement is enabled
2022-03-16 23:07:47 +01:00
Robert Schulze
08d3f7fa14
Add tests for ProtobufList formats
- Various tests of the Protobuf format existed already. Most of them
  check serialization/deserialization of specific data types, e.g.
  arrays, arrays in arrays, enums, maps, columns with default values
  etc. There is also an end-to-end test which uses a complex table
  that combines aforementioned data types.

- Since "ProtobufList" reuses the data conversion code of "Protobuf"
  and only differs slightly in the schema matching logic it should
  suffice to extend only the end-to-end test. This avoids testing the
  same stuff twice (and the same was done btw. for the ProtobufSingle
  format).
2022-03-16 19:33:58 +01:00
Kruglov Pavel
719cf23185
Fix test 2022-03-16 18:06:30 +01:00
Anton Popov
2ced42ed41 add experimental settings for Object type 2022-03-16 16:51:23 +00:00
Antonio Andelic
0979155f2f Address PR comments 2022-03-16 15:45:17 +00:00
Anton Popov
0ba78c3c3a Merge remote-tracking branch 'upstream/master' into HEAD 2022-03-16 15:28:09 +00:00
avogar
36a2d0b289 Merge branch 'master' of github.com:ClickHouse/ClickHouse into random-settings 2022-03-16 14:38:54 +00:00
avogar
07711d4843 Fix tests 2022-03-16 14:37:39 +00:00
avogar
f7c5fe14e4 Fix schema inference for TSKV format while using small max_read_buffer_size 2022-03-16 13:53:50 +00:00
Maksim Kita
d130e51f07 Fixed tests 2022-03-16 12:47:17 +00:00
Nikita Mikhaylov
96c6325fc3
Merging #33398 (proportionsZTest) (#35157) 2022-03-16 13:17:07 +01:00
Kruglov Pavel
4a579768ef
Merge pull request #35311 from vdimir/pmj-dup-rows
Attempt to fix merge join duplicate rows
2022-03-16 12:48:29 +01:00
Kruglov Pavel
906b68dbcb
Merge pull request #35291 from Avogar/segfault-in-schema-inference
Fix possible segfault in JSONEachRow schema inference
2022-03-16 12:24:35 +01:00
Kruglov Pavel
ea5ace7b18
Merge pull request #35309 from Avogar/fix-client-host-help
Fix disappeared host and port from client help message
2022-03-16 12:24:07 +01:00
Nikolai Kochetov
bcd3c76296
Merge pull request #35214 from ClickHouse/add-database_replicated_allow_only_replicated_engine-setting
Add database_replicated_allow_only_replicated_engine setting.
2022-03-16 11:24:32 +01:00
Antonio Andelic
2291b7c1e1 Merge branch 'master' into parallel-downloading-url-engine 2022-03-16 09:59:52 +00:00
Kruglov Pavel
921df5a6e6
Update 02236_json_each_row_empty_map_schema_inference.sql 2022-03-15 23:07:14 +01:00
Kruglov Pavel
2b7e89e171
Merge pull request #35300 from Avogar/fix-bzip2
Fix possible assertion while using bzip2 compression
2022-03-15 22:17:37 +01:00
Kruglov Pavel
20e17a6d3e
Merge pull request #35296 from Avogar/fix-lz4
Fix possible segfault while using lz4 compression
2022-03-15 22:17:14 +01:00
Kruglov Pavel
6fd1a8281f
Merge pull request #35295 from Avogar/fix-lzma
Fix possible Assertion failed while using lzma compression
2022-03-15 22:14:35 +01:00
avogar
8d8a5e9eb0 Better test 2022-03-15 21:12:53 +00:00
Nikolai Kochetov
0ec847d03f Try fix test. 2022-03-15 19:39:28 +00:00
Vladimir C
307231334e
Check only presence of args in 02239_client_host_help.reference 2022-03-15 20:09:25 +01:00
Vladimir C
e022245a33
Merge pull request #35193 from vdimir/issue-34776 2022-03-15 19:56:09 +01:00
vdimir
695708d57c
[wip] merge join duplicate rows 2022-03-15 18:51:04 +00:00
mergify[bot]
a5e93ea30b
Merge branch 'master' into fix-bzip2 2022-03-15 18:42:26 +00:00
mergify[bot]
381a5e4f6e
Merge branch 'master' into fix-lz4 2022-03-15 18:42:14 +00:00
avogar
96c6a4b401 Fix disappeared host and port from client help message 2022-03-15 18:36:54 +00:00
Maksim Kita
225368aa2c Fixed tests 2022-03-15 18:34:23 +00:00
Kruglov Pavel
6e192c45a7
Fix tests 2022-03-15 17:21:00 +01:00
Nikolai Kochetov
aab6fdaad3
Update 02232_allow_only_replicated_engine.reference 2022-03-15 16:43:48 +01:00
Maksim Kita
fa4508bcb9 Fixed tests 2022-03-15 15:35:25 +00:00
Maksim Kita
5ffb12eb8c
Merge pull request #35289 from bigo-sg/getmacro_const
return const for function getMacro if not distributed query
2022-03-15 16:32:07 +01:00
alesapin
42a0709f7e
Merge pull request #35293 from ClickHouse/tavplubix-patch-1
Fix 00284_external_aggregation.sql
2022-03-15 15:52:38 +01:00
vdimir
4eb4bc3794
Add test_setting_input_format_use_lowercase_column_name.parquet.columns
(cherry picked from commit 346810cbe8)
2022-03-15 14:37:59 +00:00
vdimir
6d6c63a47a
Skip files if no .columns or parquet-reader in 00900_long_parquet_load
(cherry picked from commit 120dc30bfd)
2022-03-15 14:37:50 +00:00
vdimir
4ac49571d1
Revert "Fix"
This reverts commit 887414296b.
2022-03-15 14:37:29 +00:00
Vladimir C
1a01d9e1e9
Revert "Fix 00900_long_parquet_load" 2022-03-15 15:26:20 +01:00
avogar
ec3c5f86ad Fix possible assertion while using bzip2 compression 2022-03-15 14:23:52 +00:00
Vladimir C
28e39e62a1
Merge pull request #35299 from vdimir/fix_00900_long_parquet_load 2022-03-15 15:22:03 +01:00
vdimir
346810cbe8
Add test_setting_input_format_use_lowercase_column_name.parquet.columns 2022-03-15 14:20:43 +00:00
vdimir
120dc30bfd
Skip files if no .columns or parquet-reader in 00900_long_parquet_load 2022-03-15 14:19:38 +00:00
Kseniia Sumarokova
afec02fe18
Merge pull request #35264 from kssenii/test-mode-for-local
Support test mode for clickhouse-local
2022-03-15 14:53:01 +01:00
avogar
0cfaf48e1d Fix possible segfault while using lz4 compression 2022-03-15 13:46:14 +00:00
Nikolai Kochetov
a7d7915dc7 Mute stylecheck 2022-03-15 13:32:15 +00:00
Vladimir C
02414f1e88
Merge branch 'master' into issue-34776 2022-03-15 14:24:51 +01:00
avogar
90ce1709d7 Fix possible Assertion failed while using lzma compression 2022-03-15 13:00:53 +00:00
Kruglov Pavel
2e2ee2856e
Merge pull request #35281 from Avogar/fix-brotli
Fix possible Abort while using Brotli compression
2022-03-15 13:58:16 +01:00
Anton Popov
b5a04ff938
Merge pull request #35207 from bigo-sg/add_distributed_depth_in_querylog
Add column  distributed_depth for system.query_log and system.processes
2022-03-15 13:38:21 +01:00
Kruglov Pavel
e68a66ddaa
Update 02025_storage_filelog_virtual_col.sh 2022-03-15 13:25:50 +01:00
tavplubix
f37aeec8e9
Update 00284_external_aggregation.sql 2022-03-15 15:20:48 +03:00
Kruglov Pavel
9058e776e5
Update 02222_create_table_without_columns_metadata.sh 2022-03-15 13:17:08 +01:00
Kruglov Pavel
f955920146
Update 00732_quorum_insert_lost_part_and_alive_part_zookeeper_long.sql 2022-03-15 13:11:41 +01:00
Kruglov Pavel
b249a1a24a
Update 00942_dataparts_500.sh 2022-03-15 13:09:46 +01:00
avogar
e2d1e643f2 Fix possible segfault in JSONEachRow schema inference 2022-03-15 11:44:15 +00:00
Vladimir C
435d60c9e9
Merge pull request #35194 from vdimir/adjust_00284_external_aggregation 2022-03-15 12:11:01 +01:00
taiyang-li
93550d547e add doc and tests 2022-03-15 18:25:36 +08:00
taiyang-li
c08e3c0dd2 return const for function getMacro if not distributed query 2022-03-15 17:06:16 +08:00
mergify[bot]
9cdd6ec7ab
Merge branch 'master' into test-mode-for-local 2022-03-15 08:28:40 +00:00
Antonio Andelic
77d1b940dc Fix stateless tests 2022-03-15 08:26:35 +00:00
mergify[bot]
d613ad9445
Merge branch 'master' into fix-brotli 2022-03-15 08:25:12 +00:00
Antonio Andelic
067b79b00b Merge branch 'master' into parallel-downloading-url-engine 2022-03-15 07:55:41 +00:00
Anton Popov
ccbddd53a3 fix mutations in tables with enabled sparse columns 2022-03-15 01:48:21 +00:00
alesapin
fbb1ebd9b8
Merge pull request #35274 from CurtizJ/fix-check-table-sparse-columns
Fix check table in case when there exist sparse columns
2022-03-14 21:56:04 +01:00
Nikolai Kochetov
ce94b560bb Add test. 2022-03-14 19:30:52 +00:00
kssenii
887414296b Fix 2022-03-14 20:19:53 +01:00
avogar
4b12c6e6b3 Fix possible Abort while using Brotli compression 2022-03-14 18:58:05 +00:00
avogar
2800e6052a Fix tests 2022-03-14 18:55:54 +00:00
avogar
c74f78086d Merge branch 'master' of github.com:ClickHouse/ClickHouse into random-settings 2022-03-14 18:01:57 +00:00
alesapin
b143aefd3f
Merge pull request #35261 from ClickHouse/tavplubix-patch-1
Fix flaky test
2022-03-14 18:21:03 +01:00
vdimir
9c114421c5
Adjust max_memory_usage in external_aggregation.sql 2022-03-14 17:10:55 +00:00
avogar
b9496af3b3 Fix tests 2022-03-14 16:40:17 +00:00
Anton Popov
36ec379aeb Merge remote-tracking branch 'upstream/master' into HEAD 2022-03-14 16:28:35 +00:00
Vitaly Baranov
4af61fb9d3
Merge pull request #34738 from DevTeamBK/Issue-33953
New setting in Server Configuration to on/off AuthType Plaintext_password and No_password
2022-03-14 17:09:46 +01:00
Anton Popov
428bbd6377 fix check table in case when there exist sparse columns 2022-03-14 15:22:23 +00:00
Antonio Andelic
d8fee72dd6 Fix fast test 2022-03-14 14:17:55 +00:00
vdimir
6170338726
Fix chellcheck for 02100_multiple_hosts_command_line_set 2022-03-14 13:23:37 +00:00
Antonio Andelic
d3353f3f0c Merge branch 'master' into parallel-downloading-url-engine 2022-03-14 12:47:23 +00:00
Antonio Andelic
e83fd2ab33 Add HTTP with range test 2022-03-14 12:46:43 +00:00
vdimir
490495d0d7
Random config name in 02100_multiple_hosts_command_line_set 2022-03-14 11:58:48 +00:00
vdimir
bb1da0cba5
Separate cases with ssl from test ultiple_hosts_command_line_set 2022-03-14 11:58:47 +00:00
vdimir
2e3989378c
debug 02100_multiple_hosts_command_line_set 2022-03-14 11:58:47 +00:00
vdimir
db46c2ada8
Fix reading port from config 2022-03-14 11:58:47 +00:00
Antonio Andelic
ed3d71d83f
Merge pull request #35072 from azat/buffer-memory-tracker-leak
Avoid MEMORY_LIMIT_EXCEEDED during INSERT into Buffer with AggregateFunction
2022-03-14 12:31:04 +01:00
kssenii
199188be08 Support test mode for clickhouse-local 2022-03-14 12:02:06 +01:00
Antonio Andelic
ebf72bf61d
Merge pull request #35145 from bigo-sg/lower-column-name
add setting to lower column case when reading parquet/orc file
2022-03-14 11:25:03 +01:00
tavplubix
17e803ea37
Update 01162_strange_mutations.sh 2022-03-14 13:02:56 +03:00
taiyang-li
8da041fc12 fix test 02117_show_create_table_system 2022-03-14 10:40:45 +08:00
Alexey Milovidov
4712499b83
Merge pull request #35247 from ClickHouse/add-test-34682
Add a test for #34682
2022-03-14 04:26:33 +03:00
Alexey Milovidov
eb1192934c
Merge pull request #35249 from azat/fix-01506_buffer_table_alter_block_structure_2
Fix possible 01506_buffer_table_alter_block_structure_2 flakiness
2022-03-14 04:25:32 +03:00
Azat Khuzhin
619bed4371 Fix possible 01506_buffer_table_alter_block_structure_2 flakiness
SELECT from Buffer table is racy, so you can get data from the
underlying table but not from the Buffer itself, since in parallel with
SELECT, Buffer, can flush it's data to the underlying table.

It is hard to avoid with the current architecture, since this will
require to holding lock until the data will be read from the Buffer, and
this is not a good alternative.

So let's fix the test instead, but not relying on background flush (TTL
increased).

Here is an example of a test failure [1]:

    2022.03.12 20:56:58.141182 [ 678 ] {011e7d25-82a9-4ab6-8cb0-dcbbc84f9581} <Debug> executeQuery: (from [::1]:33324) (comment: 01506_buffer_table_alter_block_structure_2.sql) SELECT * FROM buf ORDER BY timestamp;
    2022.03.12 20:56:58.162709 [ 678 ] {011e7d25-82a9-4ab6-8cb0-dcbbc84f9581} <Trace> MergeTreeInOrderSelectProcessor: Reading 1 ranges in order from part 20200101_1_1_0, approx. 1 rows starting from 0
    2022.03.12 20:56:59.144663 [ 615 ] {} <Trace> test_bdtzgu.buf_dest (79ba36b2-0e90-4bbb-b55f-a42b605b362b): Renaming temporary part tmp_insert_20200101_2_2_0 to 20200101_2_2_0.
    2022.03.12 20:56:59.147550 [ 615 ] {} <Debug> StorageBuffer (test_bdtzgu.buf): Flushing buffer with 1 rows, 18 bytes, age 1 seconds, took 19 ms (bg).
    2022.03.12 20:56:59.391774 [ 678 ] {011e7d25-82a9-4ab6-8cb0-dcbbc84f9581} <Information> executeQuery: Read 1 rows, 13.00 B in 1.250102785 sec., 0 rows/sec., 10.40 B/sec.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/0/044cd6b861c1f4f00c6c24c4020799b676de6d34/stateless_tests__memory__actions__[1/3].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-13 23:13:31 +03:00
Alexey Milovidov
b958edc104 Add a test for #34682 2022-03-13 20:12:10 +01:00
Alexey Milovidov
f0867ed7ea Moved another test 2022-03-12 20:16:25 +01:00
Alexey Milovidov
4a92a8a732 Remove "bugs" that do not exist anymore 2022-03-12 20:16:25 +01:00
Alexey Milovidov
a9f0c66475
Revert "Remove "bugs" that do not exist anymore" 2022-03-12 22:11:49 +03:00
Maksim Kita
3a2b3ce503 Standardize behaviour of CAST into IPv4, IPv6, toIPv4, toIPv6 functions 2022-03-12 17:12:05 +00:00
Alexey Milovidov
7045f53d30 One more bug is actually fixed 2022-03-12 00:18:47 +01:00
Alexey Milovidov
84427ee314 Moved another test 2022-03-12 00:13:33 +01:00
Alexey Milovidov
c438e1e706 Remove "bugs" that do not exist anymore 2022-03-12 00:09:59 +01:00
Alexey Milovidov
38fa55fff0
Merge pull request #35182 from vdimir/regex-replace-35117
Fix replaceRegexpAll
2022-03-12 01:36:18 +03:00
Maksim Kita
5f8900cee6
Merge pull request #35079 from qieqieplus/master
fix #33798
2022-03-11 11:55:49 +01:00
shuchaome
7a3623d216 fix bug 2022-03-11 17:26:13 +08:00
Nikolai Kochetov
47f4bd30cd
Merge pull request #35186 from amosbird/fixwithtotalemptychunk
Fix empty chunk in with total transform
2022-03-11 10:24:19 +01:00
metahys
ff934cf0c2
Fix unexpected result when use -state type aggregate function in window frame (#34999)
* Fix unexpected result when use -state type aggregate function in window frame

* fix style

* fix style

* fix test

* fix flaky test

* fix flaky test

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-11 11:54:17 +03:00
Antonio Andelic
f3a13b98df Fix python tests 2022-03-11 08:49:40 +00:00
shuchaome
46cb4483a6 Optimise by lowering schema on the beginning. Add a functional test. 2022-03-11 14:34:46 +08:00