Commit Graph

9772 Commits

Author SHA1 Message Date
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
Vladimir C
e022245a33
Merge pull request #35193 from vdimir/issue-34776 2022-03-15 19:56:09 +01:00
mergify[bot]
381a5e4f6e
Merge branch 'master' into fix-lz4 2022-03-15 18:42:14 +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
Vladimir C
1a01d9e1e9
Revert "Fix 00900_long_parquet_load" 2022-03-15 15:26:20 +01: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
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
tavplubix
f37aeec8e9
Update 00284_external_aggregation.sql 2022-03-15 15:20:48 +03: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
mergify[bot]
d613ad9445
Merge branch 'master' into fix-brotli 2022-03-15 08:25:12 +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
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
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
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
vdimir
6170338726
Fix chellcheck for 02100_multiple_hosts_command_line_set 2022-03-14 13:23:37 +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
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
Alexey Milovidov
b958edc104 Add a test for #34682 2022-03-13 20:12:10 +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
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