Commit Graph

16476 Commits

Author SHA1 Message Date
vdimir
41c32e24fe
Skip bugfix_validate_check when no pr-bugfix 2022-03-22 12:20:27 +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
Mikhail f. Shiryaev
b9cb64a4a1
Add apk package and reports 2022-03-22 11:11:38 +01:00
Mikhail f. Shiryaev
a0edb3e593
Build tgz and rpm for every running 2022-03-22 11:10:01 +01:00
Mikhail f. Shiryaev
0dd1f4af76
Rename alien arguments and parameters 2022-03-22 11:10:01 +01:00
Mikhail f. Shiryaev
a04b7fc0a8
Disable clickhouse-tests by default 2022-03-22 11:10:00 +01:00
Mikhail f. Shiryaev
342f7ba567
Migrate to nfpm 2022-03-22 11:09:59 +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
246c66bf3e
Merge pull request #35393 from bigo-sg/hive_column_pruning_bug
Fix erasing nonexistent column
2022-03-22 08:59:33 +01: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
Vitaly Baranov
72a2f31984
Merge pull request #33985 from vitlibar/improve-backup-and-restore
Improve backup and restore (experimental)
2022-03-21 17:59:51 +01: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
Alexander Tokmakov
3cca5fb181 minor fixes 2022-03-21 15:55:01 +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
Alexander Tokmakov
d0217a0025 make tests more compact 2022-03-21 14:22:15 +01: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
Alexander Tokmakov
94f616b48e Merge branch 'master' into merging_30325 2022-03-21 13:23:45 +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
lgbo-ustc
967d5a8055 Merge remote-tracking branch 'ck/master' into hive_column_pruning_bug 2022-03-21 19:52:06 +08: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
Vitaly Baranov
7a46e7a0d1
Merge branch 'master' into improve-backup-and-restore 2022-03-21 11:49:26 +01:00
Vitaly Baranov
51fc556fcd Implement BACKUP and RESTORE for MatViews. 2022-03-21 11:45:21 +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
Alexey Milovidov
0ce4696c49
Revert "[WIP] New row policies" 2022-03-21 08:41:33 +03:00
Alexey Milovidov
3a86829966
Merge pull request #35417 from nickitat/fix_grouping_aggregated_transform
Skip empty chunks in GroupingAggregatedTransform
2022-03-21 00:09:23 +03:00
Vitaly Baranov
18173d71fb A corresponding file in base backup can be searched by checksum too, not only by name. 2022-03-20 20:02:15 +01:00
Vitaly Baranov
5f195d6ead Implement writing backups as zip archive. 2022-03-20 20:02:15 +01:00
Vitaly Baranov
e72a343994 Implement BACKUP & RESTORE for the Memory table engine. 2022-03-20 20:02:15 +01:00
Vitaly Baranov
fd1d24f624 Add settings "throw_if_database_exists" and "throw_if_table_exists". 2022-03-20 20:02:15 +01: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
Nickita Taranov
675bf1916a add test 2022-03-20 18:07:59 +00: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
alesapin
2484a63d00
Merge pull request #35431 from ClickHouse/rename_list_option
Rename some variables in keeper
2022-03-20 15:25:04 +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
1da0f11496
Merge pull request #35428 from zhangyuli1/fix_test_keeper_back_to_back_duplicate
Fix test_keeper_back_to_back duplicate error
2022-03-19 22:00:35 +01:00
alesapin
ac3c607ed4 Merge branch 'master' into rename_list_option 2022-03-19 20:16:57 +01:00
zhangyuli1
152b949adf fix duplicate error 2022-03-20 00:42:16 +08:00
alesapin
95ca06f4e2 Fix names 2022-03-19 17:41:52 +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
Maksim Kita
9a4686adac
Merge pull request #35414 from kitaisreal/functions-array-first-last-or-null
Added functions arrayFirstOrNull, arrayLastOrNull
2022-03-19 02:03:11 +03:00
Anton Popov
18c32fbdb5 Merge remote-tracking branch 'upstream/master' into dynamic-columns-3 2022-03-18 21:16:21 +00:00
vdimir
0172ad6239
Revert "Add 02232_err_on_master"
This reverts commit a809c16b88.
2022-03-18 21:33:18 +01:00
vdimir
daa716f682
fix style 2022-03-18 21:32:59 +01: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
vdimir
a809c16b88
Add 02232_err_on_master 2022-03-18 16:31:27 +01:00
vdimir
2551adc416
Bugfix validate meta check 2022-03-18 16:31:19 +01:00
Anton Popov
79bb493383 fix race in data type Object 2022-03-18 14:52:07 +00:00
Kseniia Sumarokova
c7f6f858f0
Merge pull request #35403 from kssenii/postgres-support-uuid
Support uuid for postgres engines
2022-03-18 15:44:49 +01: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
Mikhail f. Shiryaev
2c6ce4b4a0
Merge pull request #35382 from ClickHouse/push-artifactory-improvement
Push LTS packages to both lts and stable repos
2022-03-18 13:10:37 +01:00
kssenii
1b06a2033e Support uuid 2022-03-18 12:24:50 +01:00
Raúl Marín
3191032c99 Merge remote-tracking branch 'blessed/master' into asof_ftw 2022-03-18 11:04:00 +01:00
Amos Bird
10996b1434
Fix mixed constant type during partition pruning 2022-03-18 17:47:03 +08:00
Maksim Kita
2e22164cd7
Merge pull request #35360 from ClickHouse/merging-min-sample-size
Merging #34354
2022-03-18 02:28:39 +03:00
Mikhail f. Shiryaev
0d259c6c29
Push LTS packages to both lts and stable repos 2022-03-17 20:59:46 +01:00
alesapin
d3a5839eb7
Merge pull request #35093 from ClickHouse/stress-test-runlog
Stress test runlog
2022-03-17 20:29:06 +01:00
Raúl Marín
90fd425117 Add ASOF performance test with random data 2022-03-17 19:48:25 +01:00
Raúl Marín
aeacd42e08 ASOF: Add big integer types support 2022-03-17 19:08:33 +01:00
Mikhail f. Shiryaev
b18daeab6f
Fix bug in push_to_artifactory.py, create a necessary dir 2022-03-17 17:44:01 +01:00
Mikhail f. Shiryaev
aabb3f883b
Merge pull request #35372 from ClickHouse/fix-release
Fix logic for --no-prestable
2022-03-17 17:15:46 +01:00
Mikhail f. Shiryaev
d593fda8d5
Fix logic for --no-prestable 2022-03-17 16:50:20 +01:00
Raúl Marín
e2cec4e65b Merge remote-tracking branch 'blessed/master' into asof_ftw 2022-03-17 16:33:29 +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
alesapin
bf5b3a856d Rename some variables in keeper 2022-03-17 11:55:15 +01:00
Antonio Andelic
103a3fa140 Merge branch 'master' into parallel-downloading-url-engine 2022-03-17 10:11:58 +00: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
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
Antonio Andelic
cc623bbf5e Fix redirect_url tests 2022-03-17 08:03:22 +00: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
Anton Popov
de2cc23e15 fix race 2022-03-16 20:16:59 +00: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
Maksim Kita
9ba53ae037
Merge pull request #34888 from kitaisreal/performance-tests-fix
Performance tests fix
2022-03-16 17:19:16 +01: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
Kruglov Pavel
ec6968c17e
Merge pull request #35313 from kssenii/fix-pg-db
Fix possible segfault in DatabasePostgreSQL::getCreateTableQuery
2022-03-16 12:23:25 +01:00
alesapin
ef8e097cda
Merge pull request #35224 from ClickHouse/integration-tests-correction
Correct some integration tests
2022-03-16 11:55:19 +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
kssenii
3a784fe611 Fix 2022-03-16 00:52:51 +01: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
Vitaly Baranov
f588632c86
Merge pull request #34513 from vzakaznikov/ldap_cluster_with_secret_testflows_tests
Updating RBAC and LDAP testflows suites + adding LDAP tests for cluster with secret issue
2022-03-15 20:18:37 +01: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
alesapin
1eefdc8df6 Fix more test 2022-03-15 17:31:33 +01: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
b202130841 Fixed performance tests 2022-03-15 15:43:39 +00:00
Maksim Kita
08bb39d869 Fixed performance tests 2022-03-15 15:43:39 +00:00
Maksim Kita
d49df02074 Fixed performance tests 2022-03-15 15:43:39 +00:00
Maksim Kita
98df85d2b7 Performance tests fix 2022-03-15 15:43:39 +00: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
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
lgbo-ustc
abfaa82bca fixed hive query bugs 2022-03-15 12:01:34 +08: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
alesapin
4233fa2bed Merge branch 'integration-tests-correction' of https://github.com/ClickHouse/ClickHouse into integration-tests-correction 2022-03-14 21:45:32 +01:00
alesapin
1edd4347fc Hope I'll fix it 2022-03-14 21:43:51 +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
Vladimir C
a4c410a1f5
Update tests/ci/docker_pull_helper.py
Co-authored-by: Mikhail f. Shiryaev <mr.felixoid@gmail.com>
2022-03-14 15:55:09 +00:00
vdimir
9f2feb4f0b
Use argparse in functional/integration_test_check.py 2022-03-14 15:52:46 +00:00
Mikhail f. Shiryaev
23afbbaeeb
Merge pull request #35260 from azat/fix-build-check
Mark build action as failed if it was retried and there was no succeeded builds
2022-03-14 16:45:34 +01:00
vdimir
cf70b79f74
Revert "Bugfix check requires either functional _or_ stateless test"
This reverts commit b8b64b1d15.
2022-03-14 15:43:15 +00:00
vdimir
494d5264dd
rm dummy tests 2022-03-14 15:42:23 +00:00
Anton Popov
428bbd6377 fix check table in case when there exist sparse columns 2022-03-14 15:22:23 +00:00
vdimir
16dbdc30de
rm test_dummy_err_on_master 2022-03-14 14:23:16 +00:00
vdimir
343c4ee611
Add 02232_err_on_master 2022-03-14 14:22:31 +00:00
alesapin
903fa58442
Update common.py 2022-03-14 15:22:28 +01:00
Antonio Andelic
d8fee72dd6 Fix fast test 2022-03-14 14:17:55 +00:00
vdimir
6f1cf419ac
Fix typo 2022-03-14 13:24:46 +00:00
vdimir
6170338726
Fix chellcheck for 02100_multiple_hosts_command_line_set 2022-03-14 13:23:37 +00:00
vdimir
da1e740b32
Add dummy integration tests 2022-03-14 13:15:26 +00:00
vdimir
b8b64b1d15
Bugfix check requires either functional _or_ stateless test 2022-03-14 13:09:53 +00:00
Antonio Andelic
d3353f3f0c Merge branch 'master' into parallel-downloading-url-engine 2022-03-14 12:47:23 +00:00
alesapin
2f8da04891 Fix timezones 2022-03-14 13:46:45 +01: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
alesapin
9753b4b8da Merge branch 'master' into integration-tests-correction 2022-03-14 11:35:53 +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
Azat Khuzhin
4b770343e1 Mark build action as failed if it was retried and there was no succeeded builds
Builder actions does not shows errors after retries, for example [1]
failed, but the check is green:

    Dump json report {
      'log_url': 'https://s3.amazonaws.com/clickhouse-builds/35204/c5a71a7f10e9d20b116b3e1db02bb444b203c32a/binary_gcc/build_log.log',
      'build_urls': [], <-- empty
      'build_config': {...},
      'elapsed_seconds': 0, 'status': False
    } to build_urls_binary_gcc.json with env build_urls_{build_name}

  [1]: https://github.com/ClickHouse/ClickHouse/runs/5510262456?check_suite_focus=true#logs

And previous build indeed failed [2]:

    Mar 11 08:19:45 ninja: build stopped: subcommand failed.

  [2]: https://s3.amazonaws.com/clickhouse-builds/35204/c5a71a7f10e9d20b116b3e1db02bb444b203c32a/binary_gcc/build_log.log

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-14 13:23:51 +03:00
alesapin
f1b812bdc1
Merge pull request #35229 from ClickHouse/change-timezone-in-stateful-tests
Change timezone in stateful tests.
2022-03-14 11:13:12 +01:00
tavplubix
17e803ea37
Update 01162_strange_mutations.sh 2022-03-14 13:02:56 +03:00
Kseniia Sumarokova
58a2d2b458
Merge pull request #35118 from zzsmdfj/issue/#31469_MaterializedMysql_mysqlDate2CkDate32
to #31469_MaterializedMysql_mysqlDate2CkDate32
2022-03-14 10:32:33 +01:00
taiyang-li
8da041fc12 fix test 02117_show_create_table_system 2022-03-14 10:40:45 +08:00
mergify[bot]
cba9c03d18
Merge branch 'master' into change-timezone-in-stateful-tests 2022-03-14 01:28:19 +00: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
mergify[bot]
638c7f8637
Merge branch 'master' into remove-bugs-2 2022-03-13 19:14:20 +00:00
Alexey Milovidov
b958edc104 Add a test for #34682 2022-03-13 20:12:10 +01:00
Maksim Kita
0dd807d19d
Merge pull request #34750 from kitaisreal/merge-tree-improve-insert-performance
MergeTree improve insert performance
2022-03-13 13:39:18 +01:00
Alexey Milovidov
2fe54b57b9 Addition to prev. revision 2022-03-12 20:16:25 +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
Alexey Milovidov
7c84b33918 Update test references 2022-03-12 20:10:34 +01:00
Maksim Kita
3a2b3ce503 Standardize behaviour of CAST into IPv4, IPv6, toIPv4, toIPv6 functions 2022-03-12 17:12:05 +00:00
Maksim Kita
3ccc5e2e82
Merge pull request #35228 from ClickHouse/remove-bugs
Remove "bugs" that do not exist anymore
2022-03-12 18:09:21 +01:00
Alexey Milovidov
2b5e42e997
Merge pull request #35227 from ClickHouse/change-timezone-in-performance-tests
Adjust timezone in performance tests
2022-03-12 15:48:38 +03:00
Alexey Milovidov
261806e897
Merge pull request #35223 from ClickHouse/testflows-remove-redundant-configs
Remove redundant configs for TestFlows
2022-03-12 05:22:37 +03:00
Alexey Milovidov
8ddf63c272 Change timezone in stateful tests. 2022-03-12 00:31:20 +01:00
Alexey Milovidov
7045f53d30 One more bug is actually fixed 2022-03-12 00:18:47 +01:00
Alexey Milovidov
1547dfb88f Addition to prev. revision 2022-03-12 00:14:08 +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
0995c63ea1 Adjust timezone in performance tests 2022-03-11 23:49:13 +01:00
Alexey Milovidov
38fa55fff0
Merge pull request #35182 from vdimir/regex-replace-35117
Fix replaceRegexpAll
2022-03-12 01:36:18 +03:00
Alexey Milovidov
e30ae215cf Correct some integration tests 2022-03-11 22:51:24 +01:00
Alexey Milovidov
96f75299c9 Remove even more configs 2022-03-11 22:47:47 +01:00
Alexey Milovidov
3fad904e75 Remove redundant configs for TestFlows 2022-03-11 22:44:15 +01:00
Maksim Kita
f1d2f2a9e1 Updated tests 2022-03-11 21:16:25 +00:00
vdimir
f2050b062e
Remove dummy tests ok on master 2022-03-11 14:42:19 +00:00
vdimir
983e8c8bdf
Remove tests failed on master 2022-03-11 14:37:00 +00:00
vdimir
23bee2c843
Do not invert result of integration bugfix check in ci-runner.py 2022-03-11 14:32:24 +00:00
vdimir
e5c63266c2
Integration test bugfix check 2022-03-11 14:14:16 +00:00
vdimir
e757837ec0
Different status colors in report for bugfix validation 2022-03-11 13:36:29 +00:00
vdimir
f7bcb796ce
add dummy integration tests 2022-03-11 12:50:34 +00:00
vdimir
6614d6eaaf
bugfix validate integration test 2022-03-11 12:50:33 +00:00
Maksim Kita
5f8900cee6
Merge pull request #35079 from qieqieplus/master
fix #33798
2022-03-11 11:55:49 +01:00
Maksim Kita
d61e418fbb
Merge pull request #35200 from ClickHouse/remove-useless-files-2
Remove useless file
2022-03-11 11:52:09 +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
Kseniia Sumarokova
818459b9f0
Merge pull request #33717 from kssenii/local-cache-for-remote-fs
Local cache for remote filesystem
2022-03-11 07:23:10 +01:00
Alexey Milovidov
415e2ff223 Remove useless file 2022-03-11 00:49:50 +01:00
Maksim Kita
d12618cd2e Updated performance tests 2022-03-10 21:45:31 +00:00
Maksim Kita
765cd09d06 MergeTree improve insert performance 2022-03-10 21:45:31 +00:00
alesapin
c0d8ccc91b
Merge pull request #35178 from Varinara/master
Added disk_name to system.part_log
2022-03-10 22:22:37 +01:00
alexey-milovidov
58e53b06a6
Merge pull request #35134 from azat/optimize_skip_unused_shards_rewrite_in-signed
Fix `optimize_skip_unused_shards_rewrite_in` for signed columns and negative values
2022-03-10 23:12:05 +03:00
vdimir
c66fb7cf6e
Attempt to fix replaceRegexpAll 2022-03-10 19:57:13 +00:00
mergify[bot]
059682a0cd
Merge branch 'master' into asof_ftw 2022-03-10 17:29:38 +00:00
mergify[bot]
9f4ebc313b
Merge branch 'master' into master 2022-03-10 16:55:27 +00:00
vdimir
b8c7e4657f
invert check in validate bugfix 2022-03-10 16:43:44 +00:00
vdimir
355a0d6fef
upd test for bugfix valiate 2022-03-10 16:43:43 +00:00
vdimir
000a31df3b
no-random-settings for bugfix validate 2022-03-10 16:43:43 +00:00
vdimir
fcb7e9ed36
fix CLICKHOUSE_CLIENT_DOWNLOAD_URL in download_previous_release.py 2022-03-10 16:43:42 +00:00
vdimir
4947d6db13
Use download_previous_release for bugfix validation
Should be merged with https://github.com/ClickHouse/ClickHouse/pull/27928
2022-03-10 16:43:41 +00:00
vdimir
196645679f
Add bugfix validate check to ci_config 2022-03-10 16:43:41 +00:00
vdimir
73b69805a8
add testcase to check bugfix validation 2022-03-10 16:43:40 +00:00
vdimir
da179c607e
Add bugfux validate check 2022-03-10 16:43:40 +00:00
Kseniia Sumarokova
3fc399b6e9
Merge pull request #35158 from kssenii/fix-materialized-postgresql
Fix materialised postrgesql adding new table after manually removing it
2022-03-10 17:02:32 +01:00
Kseniia Sumarokova
e30b0c5d57
Merge pull request #35162 from kssenii/fix-materialized-postgresql-table-override
Fix materialised postgres `table overrides` for partition by, etc
2022-03-10 17:01:24 +01:00
Varinara
f5523f7ff0 added disk_name to system.part_log 2022-03-10 18:44:19 +03:00
Amos Bird
a1b61dabfd
Fix empty chunk in with total transform. 2022-03-10 23:27:36 +08:00
kssenii
d54b0779e9 Release test 2022-03-10 15:34:17 +01:00
Kruglov Pavel
a506120646
Fix bug in schema inference in s3 table function (#35176) 2022-03-10 15:16:07 +01:00
Vladimir C
84af08b1a1
Merge pull request #35116 from bigo-sg/snappy_bug 2022-03-10 11:47:37 +01:00
kssenii
787a0805a5 Merge master 2022-03-10 11:42:19 +01:00
Kseniia Sumarokova
e6ee891c9c
Merge pull request #34957 from bigo-sg/hive_random_access_file_cache
Optimization for first time to read a random access readbuffer in hive
2022-03-10 11:36:22 +01:00
kssenii
3cd1da1e11 Fix 2022-03-10 11:11:59 +01:00
kssenii
bd68d1d6d0 Update test 2022-03-10 11:02:12 +01:00
HeenaBansal2009
3ce9397246 Added Suggestions from Code review 2022-03-09 20:35:01 -08:00
lgbo-ustc
fdd423a3da fixed code style 2022-03-10 12:13:19 +08:00
zzsmdfj
2731115093 Merge branch 'issue/#34890_fix_input_format_null_as_default_bug' of github.com:zzsmdfj/ClickHouse into issue/#34890_fix_input_format_null_as_default_bug 2022-03-10 11:15:13 +08:00
zzsmdfj
4135f2ddad to /#34890_fix_input_format_null_as_default_bug fix failed test 2022-03-10 11:12:53 +08:00