Alexey Milovidov
ebd95586d2
Merge pull request #58358 from ClickHouse/format-constexpr
...
Make function `format` return a constant on constant arguments.
2023-12-30 12:34:56 +01:00
Alexey Milovidov
743a5dd156
Update 02956_clickhouse_local_system_parts.sh
2023-12-30 14:34:15 +03:00
Alexey Milovidov
1d344026be
Merge pull request #58360 from ClickHouse/enum-transform
...
Support for Enum in function `transform`
2023-12-30 12:32:49 +01:00
Azat Khuzhin
a4ac45f2cc
Fix 02943_rmt_alter_metadata_merge_checksum_mismatch flakiness
...
Disable keeper injection to make part names static, unlike here [1]:
azat@s1:~/ch/tmp/57755 [1] {elapsed: 301s}$ zstd -cdq clickhouse-server.log.zst | grep c287beae-b56e-4193-b4c2-812ca5c52919
2023.12.30 03:20:15.984668 [ 1956 ] {c287beae-b56e-4193-b4c2-812ca5c52919} <Debug> executeQuery: (from [::1]:34846) (comment: 02943_rmt_alter_metadata_merge_checksum_mismatch.sh) insert into data_r2 (key) values (stage: Complete)
2023.12.30 03:20:15.987023 [ 1956 ] {c287beae-b56e-4193-b4c2-812ca5c52919} <Trace> ContextAccess (default): Access granted: INSERT(key) ON test_y82swg5w.data_r2
2023.12.30 03:20:16.007771 [ 1956 ] {c287beae-b56e-4193-b4c2-812ca5c52919} <Trace> test_y82swg5w.data_r2 (fcf801a4-4edd-4209-b52a-4400eb4c4a4c): Trying to reserve 1.00 MiB using storage policy from min volume index 0
2023.12.30 03:20:16.008769 [ 1956 ] {c287beae-b56e-4193-b4c2-812ca5c52919} <Trace> DiskLocal: Reserved 1.00 MiB on local disk `default`, having unreserved 94.58 GiB.
2023.12.30 03:20:16.034847 [ 1956 ] {c287beae-b56e-4193-b4c2-812ca5c52919} <Trace> MergedBlockOutputStream: filled checksums all_1_1_0 (state Temporary)
2023.12.30 03:20:16.037815 [ 1956 ] {c287beae-b56e-4193-b4c2-812ca5c52919} <Debug> test_y82swg5w.data_r2 (fcf801a4-4edd-4209-b52a-4400eb4c4a4c) (Replicated OutputStream): Wrote block with ID 'all_16201685294980115408_4608068419994166055', 1 rows
2023.12.30 03:20:16.144259 [ 1956 ] {c287beae-b56e-4193-b4c2-812ca5c52919} <Trace> test_y82swg5w.data_r2 (fcf801a4-4edd-4209-b52a-4400eb4c4a4c) (Replicated OutputStream): ZooKeeperWithFaultInjection call FAILED: seed=8123498043031264807 func=tryMulti path=/clickhouse/tables/test_y82swg5w/data/blocks/all_16201685294980115408_4608068419994166055 code=Operation timeout message=Fault injection after operation
2023.12.30 03:20:16.148988 [ 1956 ] {c287beae-b56e-4193-b4c2-812ca5c52919} <Trace> test_y82swg5w.data_r2 (fcf801a4-4edd-4209-b52a-4400eb4c4a4c) (Replicated OutputStream): ZooKeeperRetriesControl: commitPart: setKeeperError: error=Operation timeout message=Fault injection after operation
2023.12.30 03:20:16.149232 [ 1956 ] {c287beae-b56e-4193-b4c2-812ca5c52919} <Debug> test_y82swg5w.data_r2 (fcf801a4-4edd-4209-b52a-4400eb4c4a4c) (Replicated OutputStream): ZooKeeperRetriesControl: commitPart: will retry due to error: retry_count=1/100 timeout=1ms error=Operation timeout message=Fault injection after operation
2023.12.30 03:20:16.155148 [ 1956 ] {c287beae-b56e-4193-b4c2-812ca5c52919} <Trace> test_y82swg5w.data_r2 (fcf801a4-4edd-4209-b52a-4400eb4c4a4c): Renaming temporary part tmp_insert_all_1_1_0 to all_3_3_0 with tid (1, 1, 00000000-0000-0000-0000-000000000000).
2023.12.30 03:20:16.161514 [ 1956 ] {c287beae-b56e-4193-b4c2-812ca5c52919} <Debug> test_y82swg5w.data_r2 (fcf801a4-4edd-4209-b52a-4400eb4c4a4c) (Replicated OutputStream): ZooKeeperRetriesControl: commitPart: succeeded after: Iterations=2 Total keeper failures=1/100
2023.12.30 03:20:16.166390 [ 1956 ] {c287beae-b56e-4193-b4c2-812ca5c52919} <Debug> executeQuery: Read 1 rows, 4.00 B in 0.181492 sec., 5.509884733211382 rows/sec., 22.04 B/sec.
2023.12.30 03:20:16.166950 [ 1956 ] {c287beae-b56e-4193-b4c2-812ca5c52919} <Debug> MemoryTracker: Peak memory usage (for query): 3.13 MiB.
2023.12.30 03:20:16.168314 [ 1956 ] {c287beae-b56e-4193-b4c2-812ca5c52919} <Debug> TCPHandler: Processed in 0.186244473 sec.
[1]: https://s3.amazonaws.com/clickhouse-test-reports/57755/a12df35be4c6954e683dbea53c00599ca6a96d5d/stateless_tests_flaky_check__asan_.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-30 10:58:20 +01:00
Dmitry Novik
46dfc37397
Fixup
2023-12-30 10:41:41 +01:00
Bharat Nallan Chakravarthy
906745feaa
validation and left over fixes
2023-12-29 20:06:07 -08:00
robot-ch-test-poll3
c0290d1cfd
Merge pull request #58354 from azat/xml-conf-dot
...
[RFC] Correctly handle keys with dot in the name in configurations XMLs
2023-12-30 03:59:16 +01:00
Amos Bird
907e844635
Fix examples
2023-12-30 10:48:19 +08:00
Bharat Nallan Chakravarthy
af534db4d9
style fixes and cleanup
2023-12-29 16:38:17 -08:00
Bharat Nallan Chakravarthy
ab28da85d3
try wire everything up
2023-12-29 16:38:17 -08:00
Bharat Nallan Chakravarthy
8e83d3604d
register all remaining databases
2023-12-29 16:38:02 -08:00
robot-ch-test-poll2
667c56a9e3
Merge pull request #58364 from ClickHouse/nikitamikhaylov-patch-1
...
Remove stale events from README
2023-12-29 22:40:11 +01:00
Alexey Milovidov
aa462fa7cd
Merge branch 'master' into feature-server-iface-metrics
2023-12-29 22:37:52 +01:00
Nikita Mikhaylov
102af6e1b5
Update README.md
2023-12-29 22:26:11 +01:00
Alexey Milovidov
384de7a9eb
More tests
2023-12-29 21:52:07 +01:00
Alexey Milovidov
e1eca1ee39
Support for Enum in function transform
2023-12-29 21:48:38 +01:00
Alexey Milovidov
7c2d868ef1
Revert "Support for Enum in function transform
"
...
This reverts commit 06628f76d7
.
2023-12-29 21:48:14 +01:00
Alexey Milovidov
06628f76d7
Support for Enum in function transform
2023-12-29 21:47:53 +01:00
Alexey Milovidov
f6f9a20855
Add a test
2023-12-29 21:28:14 +01:00
robot-clickhouse-ci-1
ed8ba9c566
Merge pull request #58352 from azat/tests/fix-replication.lib
...
Fix replication.lib helper (system.mutations has database not current_database)
2023-12-29 21:27:07 +01:00
Alexey Milovidov
39b239683c
Attach all system tables in clickhouse-local
2023-12-29 21:25:22 +01:00
Alexey Milovidov
9d8c26331e
Make format
constexpr
2023-12-29 21:09:58 +01:00
Alexey Milovidov
b03aabd3a0
Make format
constexpr
2023-12-29 21:09:30 +01:00
Alexey Milovidov
a7d773c7c1
Revert "Make format
constexpr"
...
This reverts commit 34645f6a00
.
2023-12-29 21:09:06 +01:00
Alexey Milovidov
34645f6a00
Make format
constexpr
2023-12-29 21:08:45 +01:00
Nikolay Degterinsky
47c3696a46
Fix build
2023-12-29 20:41:33 +01:00
avogar
51ca7f6e0a
Fix test
2023-12-29 17:58:01 +00:00
robot-ch-test-poll1
5697d11d6a
Merge pull request #58348 from azat/ci/perf-duration-in-artifacts
...
Upload time of the perf tests into artifacts as test_duration_ms
2023-12-29 18:46:18 +01:00
Nikolai Kochetov
b95bdef09e
Update StorageS3 and StorageS3Cluster
2023-12-29 17:41:11 +00:00
Amos Bird
18395a387c
Fix another unitest
2023-12-30 01:14:21 +08:00
Raúl Marín
5fb7f9f861
Ignore other numeric types for now
2023-12-29 18:09:20 +01:00
Kruglov Pavel
c03e36e012
Merge branch 'master' into better-parsing-exceptions
2023-12-29 18:07:32 +01:00
avogar
f20917048e
Fix kafka tests
2023-12-29 17:02:46 +00:00
Alexander Tokmakov
790ededf80
Update BackupCoordinationStageSync.cpp
2023-12-29 17:58:24 +01:00
Azat Khuzhin
9a8b308a3d
Correctly handle keys with dot in the name in configurations XMLs
...
For this I've added escape of the keys returned by keys() method, and
handle this escaping in get*() methods.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-29 17:30:23 +01:00
Raúl Marín
22ef5443bb
Move findNumeric to .cpp
2023-12-29 17:22:06 +01:00
Raúl Marín
ed6b9703a1
More iota
2023-12-29 17:20:18 +01:00
Raúl Marín
4b7fcfbc75
Use iota in more places
2023-12-29 17:20:18 +01:00
Alexander Tokmakov
302ddeb6d0
Update BackupCoordinationStageSync.cpp
2023-12-29 17:08:13 +01:00
Kruglov Pavel
f57939096c
Merge branch 'master' into ignore-mv-with-dropped-target-table
2023-12-29 17:02:23 +01:00
Kruglov Pavel
a38b3b9a79
Fix test
2023-12-29 17:02:02 +01:00
Raúl Marín
db97a69989
Add perf tests with tuples
2023-12-29 17:00:01 +01:00
Nikolai Kochetov
5521e5d9b1
Refactor StorageHDFS and StorageFile virtual columns filtering
2023-12-29 15:58:01 +00:00
robot-ch-test-poll3
07ba672e37
Merge pull request #58142 from canhld94/final_less_compare
...
MergeTree FINAL to not compare rows from same non-L0 part
2023-12-29 16:47:14 +01:00
Azat Khuzhin
a12df35be4
Eliminate possible race between ALTER_METADATA and MERGE_PARTS
...
v2: move metadata version check after checking that the part is not covering part
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-29 16:46:10 +01:00
Azat Khuzhin
7efe413575
Add a test for ALTER_METADATA vs MERGE_PARTS race (CHECKSUM_DOESNT_MATCH)
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-29 16:43:02 +01:00
Azat Khuzhin
c7fa93d704
Add infrastructure for testing replicated MergeTree queue
...
- replicated_queue_fail_next_entry - to fail next queue entry
- replicated_queue_unfail_entries - to "unfail" all queue entries (if
any)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-29 16:43:01 +01:00
Azat Khuzhin
4b1712f8e9
Fix replication.lib helper (system.mutations has database not current_database)
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-29 16:24:57 +01:00
Alexander Tokmakov
1013f6b23f
Merge branch 'master' into reintroduce_is_deleted
2023-12-29 15:46:24 +01:00
Alexander Tokmakov
26f2ea308a
Update 02488_zero_copy_detached_parts_drop_table.sh
2023-12-29 15:42:40 +01:00