Commit Graph

125255 Commits

Author SHA1 Message Date
Robert Schulze
978a0c9cab
+ test 2023-09-26 10:45:50 +00:00
Robert Schulze
d10a61444c
Merge remote-tracking branch 'rschu1ze/master' into obsolete-mt-settings 2023-09-26 09:55:47 +00:00
Robert Schulze
e954ffe939
Cleanups 2023-09-26 09:51:48 +00:00
Robert Schulze
fa40732395
Merge pull request #54766 from rschu1ze/is_deterministic
Added field "is_deterministic" to system.functions
2023-09-26 11:05:03 +02:00
János Benjamin Antal
036aa9f756
Merge pull request #54869 from usurai/ceil
Update ceilRowsToCompleteGranules to use binary search.
2023-09-26 09:46:20 +02:00
Nikolay Degterinsky
b29e11dcb7
Merge pull request #55005 from ClickHouse/revert-54399-fix-nats-high-cpu-usage
Revert "Fix NATS high cpu usage"
2023-09-26 03:39:55 +02:00
Nikolay Degterinsky
987906680f
Revert "Fix NATS high cpu usage" 2023-09-26 03:36:14 +02:00
Robert Schulze
805924d9f4
Disable suggestions 2023-09-25 21:53:55 +00:00
Kseniia Sumarokova
5057a31bac
Merge pull request #54844 from kssenii/materialized-postrgesql-safer-parts
Fix "Invalid number of rows in Chunk" in MaterializedPostgreSQL
2023-09-25 23:37:12 +02:00
Robert Schulze
e7ed8f8f44
Merge pull request #54047 from rschu1ze/annoy-parallel
Parallelize Annoy index creation + minor test fix
2023-09-25 22:29:38 +02:00
robot-ch-test-poll4
ba1ca74a37
Merge pull request #54990 from ClickHouse/tylerhannan-README-update
Update README.md
2023-09-25 20:19:48 +02:00
Robert Schulze
d30137b1b6
Disable syntax suggestions in clickhouse-local 2023-09-25 17:47:10 +00:00
Robert Schulze
6f3d7fcc86
Better lint 2023-09-25 17:11:32 +00:00
Robert Schulze
10cee14bce
Fix docs 2023-09-25 17:09:58 +00:00
Robert Schulze
0149e4226f
Cosmetics 2023-09-25 17:09:22 +00:00
Robert Schulze
d24130092b
Fix spelling 2023-09-25 17:08:42 +00:00
Robert Schulze
3562204850
+ docs 2023-09-25 17:08:37 +00:00
Robert Schulze
0c490465d4
Stabilize tests 2023-09-25 17:07:48 +00:00
Robert Schulze
d170304359
Parallelize Annoy index creation + minor test fix 2023-09-25 17:07:23 +00:00
Robert Schulze
5233adecb0
Merge remote-tracking branch 'rschu1ze/master' into is_deterministic 2023-09-25 16:27:50 +00:00
Kruglov Pavel
af8b1e4978
Merge pull request #54855 from Avogar/obsolete-format-settings
Move obsolete format settings to separate section
2023-09-25 18:00:31 +02:00
Tyler Hannan
1abf60937a
Update README.md
Updating README
2023-09-25 17:11:20 +02:00
vdimir
70ae994e77
Merge pull request #54935 from ucasfl/hamming-distance
Add several string distance functions
2023-09-25 17:06:16 +02:00
usurai
330bcff239 Update ceilRowsToCompleteGranules to use binary search.
Replace the linear method in ceilRowsToCompleteGranules with a binary search.
2023-09-25 22:52:00 +08:00
Alexey Milovidov
0629b8679b
Merge pull request #54926 from Alex-Cheng/fix_exception_msg_in_pipe
Fix an exception message in Pipe::addTransform
2023-09-25 17:24:57 +03:00
Azat Khuzhin
aa5c02c1be
Remove 02151_hash_table_sizes_stats_distributed (fixes broken CI) (#54969)
* Fix 02151_hash_table_sizes_stats_distributed (fixes broken CI)

Fixes: #54961
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Remove 02151_hash_table_sizes_stats_distributed

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

---------

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-25 14:23:46 +02:00
Kseniia Sumarokova
f172ad1473
Merge pull request #54984 from kssenii/delete-test
Delete a test
2023-09-25 13:15:05 +02:00
kssenii
ca14363d0d Delete a test 2023-09-25 13:10:25 +02:00
alesapin
75b2f90923
Merge pull request #54772 from Avogar/less-flaky-async-tests
Add retries to rests test_async_query_sending/test_async_connect
2023-09-25 12:05:11 +02:00
alesapin
53158fa789
Merge pull request #54939 from evillique/fix-race
Fix data race in SYSTEM STOP LISTEN
2023-09-25 11:28:24 +02:00
Alexey Milovidov
ca7796ba85
Merge pull request #54960 from ClickHouse/tuple_element_distributed
Add a test for compatibility
2023-09-25 00:17:03 +03:00
Alexey Milovidov
aa37814b3a
Merge pull request #54250 from zvonand/zvonand-fix-53156
Add sub-second precision to `formatReadableTimeDelta`
2023-09-25 00:15:56 +03:00
Alexey Milovidov
477922617c
Merge pull request #54961 from ClickHouse/remove-test-hash_table_sizes_stats
Remove test `02151_hash_table_sizes_stats`
2023-09-24 20:28:15 +03:00
Alexey Milovidov
81cfa0344a Remove test 02151_hash_table_sizes_stats 2023-09-24 19:27:35 +02:00
Alexey Milovidov
cfe8317fb3 Add a test for compatibility 2023-09-24 19:17:33 +02:00
robot-ch-test-poll3
f23339b4be
Merge pull request #54946 from azat/system.stack_trace-max_block_size
Respect max_block_size while generating rows for system.stack_trace (will fix flakiness of the test)
2023-09-24 19:10:17 +02:00
Alexey Milovidov
7bef66ae6a
Merge pull request #54436 from azat/prewhere-filter-fix
Fix possible incorrect result with SimpleAggregateFunction in PREWHERE and FINAL
2023-09-24 20:05:06 +03:00
Andrey Zvonov
d2c95334aa
Merge branch 'ClickHouse:master' into zvonand-fix-53156 2023-09-24 16:15:42 +03:00
Nikolay Degterinsky
ff66d29376
Merge pull request #51469 from frinkr/perf-huge-ast
Improve performace for huge ast by direct-writing the column name for ASTLiteral
2023-09-24 14:56:50 +02:00
Azat Khuzhin
907d385df4 Resubmit 01051_system_stack_trace without flakiness (change max_block_size)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-24 14:01:24 +02:00
Azat Khuzhin
7a761730fa Respect max_block_size while reading form system.stack_trace
Reading from system.stack_trace can be very slow, especially if you read
all columns (there are some optimizations to avoid doing some actions),
that requires:
- reading /proc/self/task
- reading /proc/self/task/*/comm
- sending signal to each of the thread (to read query_id and trace_id)

And even if you have some conditions (for which there are some
optimizations, i.e. not sending signal to the thread which is the
slowest operation under load) it will still send signals to every thread
and wait for result.

This patch implements reading from system.stack_trace with respect to
max_block_size, that will make queries with lower max_block_size and
LIMIT works significantly faster.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-24 14:01:24 +02:00
Azat Khuzhin
01d22805ef Remove indent for anonymous namespace
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-24 14:01:24 +02:00
Azat Khuzhin
e0bca06a5d Add some logging for preparing rows for system.stack_trace
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-24 14:00:43 +02:00
zvonand
9559a6949b added subseconds to formatReadableTimeDelta and add tests 2023-09-24 13:04:56 +02:00
zvonand
2ab38761d7 added docs 2023-09-24 13:01:23 +02:00
Nikolay Degterinsky
256a699f43 Merge remote-tracking branch 'upstream/master' into perf-huge-ast 2023-09-24 00:29:03 +00:00
Alexey Milovidov
776c6adfe6
Merge pull request #54553 from Avogar/better-types-inference
Better integer types inference for Int64/UInt64 fields
2023-09-24 02:07:48 +03:00
Alexey Milovidov
e96dde24d3
Merge pull request #54951 from ClickHouse/remove-test-system-stack-trace
Remove test `01051_system_stack_trace`
2023-09-24 02:06:15 +03:00
Alexey Milovidov
b0d76b0028 Remove test 01051_system_stack_trace 2023-09-24 01:05:27 +02:00
Alexey Milovidov
b8b3c674f0
Merge pull request #54769 from Avogar/fix-timer-descriptor
Don't use default move assignment in TimerDescriptor
2023-09-24 02:03:08 +03:00