Commit Graph

150953 Commits

Author SHA1 Message Date
Alexey Milovidov
c3e32bbecf Fix flaky check 2024-08-13 02:07:51 +02:00
Alexey Milovidov
f16c969352 Fix flaky check 2024-08-13 02:02:15 +02:00
Alexey Milovidov
fa0dc1d32e Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-test-replace-current-query 2024-08-13 02:01:29 +02:00
Michael Kolupaev
5d8ee17166 Merge remote-tracking branch 'origin/master' into qast 2024-08-12 23:56:11 +00:00
Michael Kolupaev
ddd5a96950 Fix 2024-08-12 23:56:02 +00:00
Michael Kolupaev
f12609440f fashion 2024-08-12 23:09:57 +00:00
Alexey Milovidov
3b1d6f30be Debug test 2024-08-12 23:55:01 +02:00
Alexey Milovidov
aa38315673 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-trash-in-aws-s3 2024-08-12 23:54:45 +02:00
Alexey Milovidov
203857020f
Merge pull request #68178 from ClickHouse/fix-68177
Fix `test_cluster_all_replicas`
2024-08-12 21:52:13 +00:00
avogar
83cb991f75 Fix special build 2024-08-12 21:30:30 +00:00
avogar
8136e6a452 Update new prepareForSquashing method for ColumnDynamic 2024-08-12 21:29:26 +00:00
János Benjamin Antal
ac6826392d
Merge pull request #67554 from ClickHouse/fix-message-queue-sink-from-http-interface
Fix message queue sink from http interface
2024-08-12 21:29:14 +00:00
Anton Popov
dccf34dc95 fix drift of profile event time 2024-08-12 21:20:57 +00:00
János Benjamin Antal
6eb4a71ad3
Merge pull request #68163 from azat/backups-processes
[RFC] Fix settings/current_database in system.processes for async BACKUP/RESTORE
2024-08-12 21:07:55 +00:00
János Benjamin Antal
eaa5715a02
Merge pull request #68200 from ClickHouse/remove-log-engine-from-kafka-integration-tests
Remove Log engine from Kafka integration tests
2024-08-12 20:44:53 +00:00
Alexander Tokmakov
5a683796a0
Update DatabaseReplicated.cpp 2024-08-12 22:34:14 +02:00
avogar
03182c7a8f Merge branch 'master' of github.com:ClickHouse/ClickHouse into better-dynamic 2024-08-12 20:29:24 +00:00
Michael Kolupaev
469c1698b0 Fix 'Refresh set entry already exists' 2024-08-12 19:32:13 +00:00
Han Fei
40382451a2
Merge pull request #68186 from rschu1ze/stats-tests-refactoring
Refactor tests for (experimental) statistics
2024-08-12 18:58:19 +00:00
Robert Schulze
45a14fa0ce
Fix spelling 2024-08-12 18:54:06 +00:00
Robert Schulze
d03b354550
Merge pull request #67964 from rschu1ze/multiquery-followup-new2
Remove obsolete `--multiquery` parameter (follow-up to #63898), pt. III
2024-08-12 18:42:53 +00:00
Shaun Struwig
eab8594570
Update aspell-dict.txt 2024-08-12 20:35:33 +02:00
Shaun Struwig
aa7a2bcb02
Fix typo 2024-08-12 20:34:02 +02:00
jsc0218
38405dd7cd add projection merge doc 2024-08-12 18:14:22 +00:00
Robert Schulze
c22265b889
Some fixups 2024-08-12 17:45:38 +00:00
Kruglov Pavel
ba85cc8d59
Merge pull request #67043 from Avogar/improve-squashing
Improve columns squashing for String/Array/Map/Variant/Dynamic types
2024-08-12 17:14:15 +00:00
Antonio Andelic
ea9b7d4c27
Merge pull request #67998 from ClickHouse/minio-audit-logs
Collect minio audit logs in stateless tests
2024-08-12 17:03:17 +00:00
Alexey Milovidov
74fb08198c Merge branch 'master' into fix-68177 2024-08-12 18:39:06 +02:00
Nikita Taranov
05b5950948 small fix 2024-08-12 17:31:56 +01:00
Nikita Taranov
f0f10bc009 remove cgroupsV2MemoryControllerEnabled() 2024-08-12 17:30:12 +01:00
Nikita Taranov
f7af4c5643 don't report system-wide metrics when cgroup metrics present 2024-08-12 17:27:43 +01:00
Alexey Milovidov
58ed71bf11
Merge pull request #68181 from ClickHouse/fix-leftovers
Fix leftovers
2024-08-12 16:22:17 +00:00
Alexey Milovidov
c95a40cdf0
Merge pull request #68182 from ClickHouse/fix-transactions
Fix test `01172_transaction_counters`
2024-08-12 16:20:26 +00:00
Pablo Marcos
858b7e55d0 Improve condition in case the default column consumes slightly more memory
It never happened in the few hundreds of tests I ran successfully,
but we'd rather be safe than sorry.
2024-08-12 16:16:57 +00:00
Robert Schulze
fe537045c9
Merge remote-tracking branch 'ClickHouse/master' into query_cache_tag 2024-08-12 16:16:32 +00:00
Yarik Briukhovetskyi
3a6e05eb43
try to fix includes 2024-08-12 18:03:42 +02:00
Yarik Briukhovetskyi
ea1cd66575
fix tidy 2024-08-12 17:32:43 +02:00
Robert Schulze
fb76cb90b1
Allow un-quoted skip index parameters
Previously, only this syntax to create a skip index worked:

   INDEX index_name column_name TYPE vector_similarity('hnsw', 'L2Distance')

Now, this syntax will work as well:

  INDEX index_name column_name TYPE vector_similarity(hnsw, L2Distance)
2024-08-12 15:32:25 +00:00
Robert Schulze
d2e79f0b92
Rework vector index parameters
USearch (similar to FAISS) allows to specify the distance function,
quantization, and various HNSW meta-parameters for index creation and
sarch. Some users wished for greater configurability, so let's expose
them.

Index creation now requires either
- 2 parameters (with the other 4 parameters taking on default values), or
- 6 parameters for full control

This commit also remove quantization `f64` (that would be upsampling).
2024-08-12 15:32:19 +00:00
Robert Schulze
cc5c64e1ed
Add migration helper for legacy 'annoy' and 'usearch' indexes types
Index types 'annoy' and 'usearch' were removed and replaced by
'vector_similarity' indexes in an earlier commit.

This means unfortuantely, that if customers have tables with these
indexes and upgrade, their database might not start anymore - the
system loads the metadata at startup, thinks something is wrong with
such tables, and halts immediately.

This commit adds support for loading and attaching such indexes back.
Data insert or use (search) return an error which recommends a migration
to 'vector_similarity' indexes. The implementation is generally similar
to what has recently been implemented for 'full_text' indexes [1, 2].

[1] https://github.com/ClickHouse/ClickHouse/pull/64656
[2] https://github.com/ClickHouse/ClickHouse/pull/64846
2024-08-12 15:31:27 +00:00
Robert Schulze
785b6637fa
Rename index type "usearch" to "vector_similarity"
First, index type "vector_similarity" is more speaking and user-friendly
than "usearch". Second, we should not expose the name of the library
doing the job (usearch). Of course, the docs will continue to mention
usearch (credit where credit is due).

Existing setting `allow_experimental_usearch_index` was marked obsolete.
A new settings `allow_experimental_vector_similarity_index` was added.
2024-08-12 15:30:45 +00:00
Robert Schulze
021fad920e
Cosmetics: minor stuff 2024-08-12 15:30:41 +00:00
Robert Schulze
2aa037985b
Cosmetics: simplify inheritance hierarchy 2024-08-12 15:30:38 +00:00
Robert Schulze
901906159d
Cosmetics: ApproximateNearestNeighborInformation --> Info + nest in class 2024-08-12 15:30:35 +00:00
Robert Schulze
6170aad43e
Cosmetics: ApproximateNearestNeighborIndexesCommon --> VectorSimilarityCondition 2024-08-12 15:30:30 +00:00
Robert Schulze
e20eff635e
Cosmetics: variable naming 2024-08-12 15:30:27 +00:00
Robert Schulze
1bf320a1a8
Cosmetics: metric --> distance_function (for consistent terminology) 2024-08-12 15:30:24 +00:00
Robert Schulze
3f47b42d71
Remove funny typedef 2024-08-12 15:30:21 +00:00
Robert Schulze
fb26a9e6d4
Cosmetics: whitespaces 2024-08-12 15:30:18 +00:00
Robert Schulze
0f1765a273
Cosmetics: function naming 2024-08-12 15:30:14 +00:00