Commit Graph

14501 Commits

Author SHA1 Message Date
Nikita Mikhaylov
043000b088 Better 2023-09-29 15:59:54 +02:00
Nikita Mikhaylov
804ae4c58b Better 2023-09-29 11:16:24 +00:00
Robert Schulze
bb4d141132
Merge pull request #55069 from HarryLeeIBM/hlee-ftsearch
Add optimization for roaring bitmaps in full text search
2023-09-29 11:16:16 +02:00
Alexey Milovidov
95d573f70d Update autogenerated version to 23.10.1.1 and contributors 2023-09-29 08:52:43 +02:00
Igor Nikonov
1983b4cfd1
Merge pull request #55026 from ClickHouse/insert-quorum-wo-keeper-retries
Fix: insert quorum w/o keeper retries
2023-09-28 11:05:21 +02:00
HarryLeeIBM
71adb052ee Add optimization for roaring bitmaps in full text search 2023-09-27 12:23:00 -07:00
János Benjamin Antal
c911c8daf4
Prevent attaching parts from tables with different projections or indices (#55062)
* Prevent attaching parts from tables with different projections or indices

* Update docs

* Add tests
2023-09-27 15:02:53 -04:00
Robert Schulze
2d750e9e2f
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-reenable-checks 2023-09-27 12:15:29 +00:00
Robert Schulze
e9c3032f83
Merge pull request #55037 from rschu1ze/inf_sch_tables
Implement information_schema.tables.data_length
2023-09-27 14:09:38 +02:00
Igor Nikonov
98bf455726 Merge remote-tracking branch 'origin/master' into insert-quorum-wo-keeper-retries 2023-09-27 09:02:39 +00:00
Robert Schulze
3e0bc6fe42
Disable '-clang-analyzer-unix.Malloc' for now 2023-09-27 08:51:17 +00:00
Robert Schulze
3a1663a460
Merge pull request #55035 from rschu1ze/is_deterministic_resubmit
Added field "is_deterministic" to system.functions
2023-09-27 10:13:18 +02:00
Michael Kolupaev
23bc286280
Print more information about one logical error in MergeTreeDataWriter (#55001) 2023-09-26 13:23:26 -07:00
Robert Schulze
e22de584e9
information_schema.tables.data_length 2023-09-26 20:08:54 +00:00
Robert Schulze
dcdc8bf0e9
Added field "is_deterministic" to system.functions 2023-09-26 19:13:23 +00:00
Robert Schulze
cde10fe7b5
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-reenable-checks 2023-09-26 18:59:41 +00:00
Robert Schulze
ab2b5cd5ca
More fixes 2023-09-26 18:55:10 +00:00
Robert Schulze
6634043a9f
Merge pull request #54837 from rschu1ze/obsolete-mt-settings
Mark obsolete settings in system.merge_tree_settings as is_obsolete = 1
2023-09-26 19:55:05 +02:00
George Gamezardashvili
0ce30ab6d5
SSH keys authentication (#41109)
Added new type of authentication based on SSH keys. It works only for Native TCP protocol.

Co-authored-by: Nikita Mikhaylov <nikitamikhaylov@clickhouse.com>
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2023-09-26 17:50:19 +02:00
Igor Nikonov
54f25409ef Test with fail point 2023-09-26 15:19:04 +00:00
Alexander Tokmakov
f39cb17881
Revert "Added field "is_deterministic" to system.functions" 2023-09-26 15:01:05 +02:00
Igor Nikonov
fd7862cd10 Remove keeper retries when waiting for insert quorum 2023-09-26 12:13:32 +00:00
Anton Popov
6cd32eb7b5
Merge pull request #50612 from CurtizJ/long-column-names
Allow to replace long file names to hashes
2023-09-26 13:05:33 +02:00
Robert Schulze
e4c081652d
Suppress more checks 2023-09-26 11:01:35 +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
9fff447716
Re-enable clang-tidy checks 2023-09-26 09:34:12 +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
987906680f
Revert "Fix NATS high cpu usage" 2023-09-26 03:36:14 +02: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
6f3d7fcc86
Better lint 2023-09-25 17:11:32 +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
Anton Popov
0ebc22e851
Merge branch 'master' into long-column-names 2023-09-25 16:55:14 +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
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
robot-clickhouse
320e4c47f3
Merge pull request #54943 from amosbird/fix-54941
Rebuild minmax_count_projection when partition key gets modified
2023-09-23 22:11:52 +02:00
robot-clickhouse-ci-2
2a26557391
Merge pull request #54399 from vahpetr/fix-nats-high-cpu-usage
Fix NATS high cpu usage
2023-09-23 21:36:21 +02:00
Sergei Trifonov
c1489d52b7
Merge pull request #54618 from ClickHouse/io-scheduling-throttler
add IO scheduling node to limit bandwidth
2023-09-23 21:26:17 +02:00
Alexey Milovidov
e89a8e4d13
Merge pull request #53492 from ClickHouse/fix-prewhere-lost-column
Fix: moved to prewhere condition actions can lose column
2023-09-23 22:24:00 +03:00
serxa
44acb53ad3 Merge branch 'master' into io-scheduling-throttler 2023-09-23 10:51:18 +00:00
Sergei Trifonov
4032fc17bb
Merge pull request #54780 from ucasfl/comment
update comment
2023-09-23 12:48:48 +02:00
Amos Bird
81804ce9ba
Rebuild minmax_count_projection when partition key gets modified 2023-09-23 17:59:06 +08:00
robot-ch-test-poll2
3c93a939a2
Merge pull request #54936 from ClickHouse/pufit/s3-yet-another-num-streams-adjustment
Set a minimum limit of `num_streams` in StorageS3
2023-09-23 02:59:50 +02:00
robot-clickhouse-ci-2
d98234dc9d
Merge pull request #54803 from Avogar/ephemeral-columns-from-files
Forbid special columns for file/s3/url/... storages, fix insert into ephemeral columns from files
2023-09-22 23:24:42 +02:00