alesapin
c77a006325
Merge pull request #22707 from ClickHouse/don_t_fsync_on_log_rotate
...
Remove redundant fsync on coordination logs rotation
2021-04-06 23:51:28 +03:00
Nikita Mikhaylov
0d96ed99b7
update_perf_test
2021-04-06 22:23:16 +03:00
Nikita Mikhaylov
f3f550e811
better perf test
2021-04-06 22:23:16 +03:00
Nikita Mikhaylov
7a318d25ae
add perf test
2021-04-06 22:23:16 +03:00
Nikita Mikhailov
37f48d13b4
add test
2021-04-06 22:23:16 +03:00
Azat Khuzhin
60b000ed51
Fix approx total rows accounting for reverse reading from MergeTree
2021-04-06 21:13:51 +03:00
Alexander Kuzmenkov
d9ad06bd6d
fix ubsan
2021-04-06 19:24:56 +03:00
alesapin
80d441ec95
Reset timeouts to default
2021-04-06 19:11:29 +03:00
alesapin
1c8e33414f
Merge branch 'master' into johnskopis/dynamic-interserver-creds-v20
2021-04-06 16:28:46 +03:00
Amos Bird
a89e3df40a
Disable table function view in expression ( #21465 )
2021-04-06 16:08:29 +03:00
Anton Popov
f9b1661372
fix test 01702_system_query_log
2021-04-06 15:44:06 +03:00
Alexander Kuzmenkov
585da2c8d0
Merge remote-tracking branch 'origin/master' into HEAD
2021-04-06 14:58:21 +03:00
Alexander Kuzmenkov
4497b00ff5
the test
2021-04-06 14:57:32 +03:00
alexey-milovidov
e1e2f534e8
Merge pull request #22646 from azat/clickhouse-test-log-comment
...
Add log_comment setting for DROP/CREATE DATABASE in clickhouse-test
2021-04-06 14:48:04 +03:00
alexey-milovidov
636fe8b631
Merge pull request #22662 from vitlibar/fix-test-01294_create_settings_profile
...
Fix test 01294_create_settings_profile
2021-04-06 14:40:28 +03:00
Anton Popov
a9a01df74a
add test
2021-04-06 14:38:35 +03:00
Anton Popov
c05c1f7a34
Merge pull request #22666 from CurtizJ/fix-flaky-tests-1
...
Fix random failures of tests that are using query_log
2021-04-06 14:22:26 +03:00
Nikolai Kochetov
6102652c99
Merge branch 'master' into better-filter-push-down
2021-04-06 13:38:03 +03:00
Kseniia Sumarokova
ad85467128
Merge pull request #22668 from kssenii/postgres-add-bool
...
Add bool type in postgres engine
2021-04-06 13:29:33 +03:00
alesapin
3148c224ad
Merge pull request #22663 from CurtizJ/fix-flakey-tests
...
Fix test 01039_row_policy_dcl
2021-04-06 13:19:08 +03:00
Alexander Kuzmenkov
4402ec3101
Merge pull request #22324 from ClickHouse/aku/perf-stable
...
make some perf test queries more stable
2021-04-06 13:15:38 +03:00
alesapin
6456a1507c
Support alter setting
2021-04-06 13:14:44 +03:00
Alexander Kuzmenkov
c7776fefc0
Merge pull request #22110 from excitoon-favorites/testfinalize
...
Better tests for finalize in nested writers
2021-04-06 12:49:14 +03:00
vdimir
735154c81a
Handle not plain where tree in StorageMerge modifySelect
2021-04-06 12:29:29 +03:00
alesapin
86a843bb51
Merge pull request #21509 from kssenii/library-bridge
...
clickhouse-library-bridge for library dictionary source
2021-04-06 12:26:08 +03:00
Nikolai Kochetov
44700d97e9
Add setting to disable query plan optimization. Fix perftest.
2021-04-06 11:25:54 +03:00
Maksim Kita
0cbfa5d125
Updated test
2021-04-06 11:19:28 +03:00
alesapin
6afa8abb0e
Merge branch 'master' into merge_tree_deduplication
2021-04-06 11:17:18 +03:00
tavplubix
8b1d320633
Merge pull request #22217 from kssenii/replicas-shards-for-mysql-and-postgres
...
Replicas and shards for mysql and postgres storages
2021-04-06 11:05:24 +03:00
alesapin
fbfa53684a
Merge pull request #22670 from ClickHouse/fix_killer_test
...
Fix mutation killers tests
2021-04-06 10:24:36 +03:00
Azat Khuzhin
27d4fbd13b
Compare Block itself for distributed async INSERT batches
...
INSERT into Distributed with insert_distributed_sync=1 stores the
distributed batches on the disk for sending in background.
But types may be a little bit different for the Distributed and it's
underlying table, so the initiator need to know whether conversion is
required or not.
Before this patch those on disk distributed batches contains header,
which includes dumpStructure() for the block in that batch, however it
checks not only names and types and plus dumpStructure() is a debug
method.
So instead of storing string representation for the block header we
should store empty block in the file header (note, that we cannot store
the empty block not in header, since this will require reading all
blocks from file, due to some trickery of the readers interface).
Note, that this patch also contains tiny refactoring:
- s/header/distributed_header/
v1: dumpNamesAndTypes()
v2: dump empty block into the batch itself
v3: move empty block into the header
2021-04-06 10:05:21 +03:00
Anton Popov
8559958df4
try to fix perf test
2021-04-06 01:03:15 +03:00
Anton Popov
472662de80
skip test in arcadia
2021-04-06 00:45:28 +03:00
Anton Popov
c5354885a6
Merge pull request #22654 from azat/log-nested-fix
...
[RFC] Fix LOGICAL_ERROR for Log with nested types w/o columns in the SELECT clause
2021-04-06 00:34:58 +03:00
Anton Popov
dfb6890f27
fix flaky test
2021-04-06 00:04:13 +03:00
kssenii
68154fe10a
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into postgres-add-bool
2021-04-05 20:27:04 +00:00
Anton Popov
1e7f3fd576
Update tests/queries/0_stateless/01670_log_comment.sql
...
Co-authored-by: Alexander Kuzmenkov <36882414+akuzm@users.noreply.github.com>
2021-04-05 20:17:26 +03:00
alesapin
be22ffa5a8
Fix mutation killers tests
2021-04-05 19:31:49 +03:00
kssenii
dc42d5189d
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into replicas-shards-for-mysql-and-postgres
2021-04-05 15:36:35 +00:00
Anton Popov
700f4dabbd
Update 01670_log_comment.sql
2021-04-05 18:25:31 +03:00
Anton Popov
1f1a01171f
try fix one more test
2021-04-05 17:52:41 +03:00
kssenii
cc2fdc6c62
Add bool type
2021-04-05 14:49:52 +00:00
alexey-milovidov
6890d98114
Merge pull request #22633 from ClickHouse/clickhouse-test-better-zk-retries
...
Better retries on ZK errors in sh tests
2021-04-05 17:36:27 +03:00
kssenii
89a2e94364
Fixes
2021-04-05 14:08:49 +00:00
feng lv
f6e4e13f89
fix conflict
2021-04-05 14:08:30 +00:00
Anton Popov
663b300ab2
remove test from parallel run
2021-04-05 17:02:42 +03:00
feng lv
56073db22d
max distributed depth
...
Add settings max_distributed_depth
fix style
fix
fix
fix
fix test
fix
fix
2021-04-05 14:00:54 +00:00
kssenii
9dba529494
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into library-bridge
2021-04-05 13:14:51 +00:00
Vitaly Baranov
278ad443e4
Test 01294_create_settings_profile no longer changes settings of the default user.
2021-04-05 13:28:39 +03:00
Alexander Kuzmenkov
2d0de76375
fix
2021-04-05 13:03:29 +03:00
alesapin
8d5a787f6b
Merge branch 'master' into merge_tree_deduplication
2021-04-05 10:40:03 +03:00
Azat Khuzhin
42d858b7e5
Fix LOGICAL_ERROR for Log with nested types w/o columns in the SELECT clause
...
Found with fuzzer [1]:
<details>
2021.04.04 10:25:46.762596 [ 135 ] {4b6b5de3-d242-4267-910a-76b235467356} <Fatal> : Logical error: 'Logical error: no information about file column%2Ename.size0 in StorageLog'.
...
2021.04.04 10:25:46.763563 [ 44 ] {} <Trace> BaseDaemon: Received signal 6
2021.04.04 10:25:46.765884 [ 165 ] {} <Fatal> BaseDaemon: 5. abort @ 0x25859 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
2021.04.04 10:25:46.901540 [ 165 ] {} <Fatal> BaseDaemon: 6. ./obj-x86_64-linux-gnu/../src/Common/Exception.cpp:51: DB::handle_error_code() @ 0x11cc4f16 in /workspace/clickhouse
2021.04.04 10:25:47.030755 [ 165 ] {} <Fatal> BaseDaemon: 7. ./obj-x86_64-linux-gnu/../src/Common/Exception.cpp:58: DB::Exception::Exception() @ 0x11cc5025 in /workspace/clickhouse
2021.04.04 10:25:47.617201 [ 165 ] {} <Fatal> BaseDaemon: 8. ./obj-x86_64-linux-gnu/../src/Storages/StorageLog.cpp:183: DB::LogSource::readData()
</details>
[1]: https://clickhouse-test-reports.s3.yandex.net/22583/69296876005c0fa171c755f8b224e4d58192c402/fuzzer_debug/report.html#fail1
The problem here is that there is no column%2Ename.size0 there is
column.size0 instead, and it seems that reading sizeX file is not enough
in other places, so just filter them out in
ExpressionActions::getSmallestColumn() (fallback method for storages w/o
getColumnSizes() implemented)
2021-04-05 08:48:04 +03:00
alexey-milovidov
a16a09eb2f
Merge pull request #22596 from ClickHouse/fix-some-tests-aarch64
...
Fix some tests on AArch64
2021-04-05 07:40:33 +03:00
Azat Khuzhin
624b2632cc
Add log_comment setting for DROP/CREATE DATABASE in clickhouse-test
2021-04-05 06:58:54 +03:00
alexey-milovidov
6cefb8e620
Merge pull request #22583 from azat/log-rwlock-ub-fix
...
Avoid UB in *Log engines for rwlock unlock due to unlock from another thread
2021-04-05 05:20:16 +03:00
Alexey Milovidov
1bd4febfd5
Better retries on ZK errors in sh tests
2021-04-05 05:17:17 +03:00
alexey-milovidov
a9eb7a7c7e
Merge pull request #22595 from ClickHouse/change-accurate-comparison
...
Change accurate comparison of integer and float to be more consistent across different CPU
2021-04-05 04:22:50 +03:00
Alexey Milovidov
d645c4d4e2
Whitespace
2021-04-05 03:52:44 +03:00
Alexey Milovidov
08f129c0d3
Mark test as long
2021-04-05 03:52:06 +03:00
alexey-milovidov
3df84d5b48
Merge pull request #22628 from ClickHouse/fix-flaky-test-16
...
Fix flaky test 00816_long_concurrent_alter_column
2021-04-05 03:49:18 +03:00
Alexey Milovidov
e50d82ab45
Merge branch 'master' into change-accurate-comparison
2021-04-05 01:38:55 +03:00
Maksim Kita
deb35c5f4e
DirectDictionary dictGet multiple columns optimization
2021-04-05 01:26:26 +03:00
Maksim Kita
63f2008725
FlatDictionary fix perf test
2021-04-05 00:47:29 +03:00
Alexey Milovidov
b07d53640c
Fix flaky test 00816_long_concurrent_alter_column
2021-04-05 00:34:51 +03:00
alesapin
caaa19edb8
Merge pull request #22373 from ClickHouse/jepsen_for_ci
...
Add image to run jepsen tests
2021-04-04 18:35:21 +03:00
alesapin
0ceb95aa55
Merge branch 'master' into merge_tree_deduplication
2021-04-04 18:32:27 +03:00
Anton Popov
0d03b8c0c4
Merge pull request #21889 from CurtizJ/fix-aggregation-in-order-1
...
Fix bugs in aggregation by primary key
2021-04-04 18:17:04 +03:00
Maksim Kita
027ca2484e
FlatDictionary added layout options initial_array_size, max_array_size
2021-04-04 16:30:48 +03:00
Maksim Kita
ff86c21e65
Dictionary update field fix
2021-04-04 16:30:48 +03:00
alesapin
76d0e60e26
Merge branch 'master' into jepsen_for_ci
2021-04-04 16:07:53 +03:00
Alexey Milovidov
cae21b8560
Fix test
2021-04-04 15:50:19 +03:00
alexey-milovidov
44e160596e
Merge pull request #22587 from ClickHouse/fix-flaky-test-15
...
Fix flaky test after #22427
2021-04-04 15:44:44 +03:00
alexey-milovidov
f6e6842383
Merge pull request #22590 from ClickHouse/fix-tests-aarch64
...
Fix CPU-dependent behaviour in tests
2021-04-04 15:43:12 +03:00
alexey-milovidov
0e1035735c
Merge pull request #22565 from ClickHouse/fix-assert-arena
...
Fix assert in Arena when doing GROUP BY Array of Nothing of non-zero size.
2021-04-04 15:38:17 +03:00
Alexey Milovidov
d18daa5919
Fix test
2021-04-04 15:18:17 +03:00
Alexey Milovidov
3ad3109ec5
Fix tests
2021-04-04 15:14:01 +03:00
Alexey Milovidov
9d47adbae6
Fix tests
2021-04-04 15:10:13 +03:00
Alexey Milovidov
9383fec50b
Fix test
2021-04-04 15:07:52 +03:00
Alexey Milovidov
4a58055b2d
Update test
2021-04-04 14:52:46 +03:00
Alexey Milovidov
eae9b978f8
Generate test files for accurate comparison int vs. float
2021-04-04 14:49:24 +03:00
Maksim Kita
0bfb429c42
Merge pull request #22479 from kitaisreal/clickhouse-dictionary-source-loop-fix
...
ClickHouseDictionarySource loop fix
2021-04-04 13:29:17 +03:00
Azat Khuzhin
44abb7588a
StorageStripeLog: avoid UB for rwlock unlock due to unlock from another thread
2021-04-04 13:25:44 +03:00
Azat Khuzhin
89a96cf14d
StorageLog: avoid UB for rwlock unlock due to unlock from another thread
2021-04-04 13:25:44 +03:00
Azat Khuzhin
5d795661ed
StorageTinyLog: add regression test for UB due to unlock from different thread
...
Refs: #22560
2021-04-04 13:25:44 +03:00
Alexey Milovidov
729214c845
Fix some tests on AArch64
2021-04-04 13:11:36 +03:00
Alexey Milovidov
3ae0c7e17a
Fix CPU-dependent behaviour in tests
2021-04-04 12:55:04 +03:00
alesapin
c7da76e633
Fix style
2021-04-04 12:24:32 +03:00
Alexey Milovidov
41dfcb7bec
Fix flaky test after #22427
2021-04-04 12:24:00 +03:00
alesapin
71754a44eb
Simplier binary downloader
2021-04-04 12:21:44 +03:00
Alexey Milovidov
e684b463ae
Add test
2021-04-03 22:51:37 +03:00
alexey-milovidov
d0effbb0fc
Merge pull request #22534 from ClickHouse/minor-fixes-in-tests
...
Minor fixes in tests for AArch64
2021-04-03 22:10:43 +03:00
alesapin
75cd37f359
More retries
2021-04-03 18:05:10 +03:00
alesapin
0204f5dd35
Merge branch 'master' into merge_tree_deduplication
2021-04-03 15:24:26 +03:00
alesapin
dc9f776e15
More stable
2021-04-03 15:23:24 +03:00
alesapin
7d4415a2d0
Better logs snarfing
2021-04-03 15:17:28 +03:00
alesapin
b127e31451
CI fixes
2021-04-03 14:56:56 +03:00
Maksim Kita
2f1f9692e6
Fixed test
2021-04-03 13:58:11 +03:00
tavplubix
541b601317
Try fix flaky test
2021-04-03 13:25:40 +03:00
alexey-milovidov
30ece2c28f
Merge pull request #22510 from vdimir/merge-join-lc-bug-fix
...
Convert right block to full in MergeJoin
2021-04-03 12:54:34 +03:00
Alexey Milovidov
0733144b4a
Lower test scale
2021-04-03 12:53:57 +03:00