Commit Graph

1449 Commits

Author SHA1 Message Date
Robert Schulze
fa635358d2
Initial Analyzer support for vector similarity search
This code is extremely shameful, don't look at it.

Only goal of this PR is to demonstrate that the analyzer is able to see
vector similarity indexes:

ip-10-19-83-181.eu-central-1.compute.internal :) explain plan indexes=1 SELECT id, vec, L2Distance(vec, [0.0, 2.0])
FROM tab
ORDER BY L2Distance(vec, [0.0, 2.0])
LIMIT 3 settings enable_analyzer = 1

EXPLAIN indexes = 1
SELECT
    id,
    vec,
    L2Distance(vec, [0., 2.])
FROM tab
ORDER BY L2Distance(vec, [0., 2.]) ASC
LIMIT 3
SETTINGS enable_analyzer = 1

Query id: 086df46e-2e27-4342-a47c-6900762a7c8c

    ┌─explain─────────────────────────────────────────────────────────────────────────────────────────┐
 1. │ Expression (Project names)                                                                      │
 2. │   Limit (preliminary LIMIT (without OFFSET))                                                    │
 3. │     Sorting (Sorting for ORDER BY)                                                              │
 4. │       Expression ((Before ORDER BY + (Projection + Change column names to column identifiers))) │
 5. │         ReadFromMergeTree (default.tab)                                                         │
 6. │         Indexes:                                                                                │
 7. │           PrimaryKey                                                                            │
 8. │             Condition: true                                                                     │
 9. │             Parts: 1/1                                                                          │
10. │             Granules: 1/1                                                                       │
11. │           Skip                                                                                  │
12. │             Name: idx                                                                           │
13. │             Description: vector_similarity GRANULARITY 100000000                                │
14. │             Parts: 1/1                                                                          │
15. │             Granules: 1/1                                                                       │
    └─────────────────────────────────────────────────────────────────────────────────────────────────┘

15 rows in set. Elapsed: 0.007 sec.
2024-11-06 22:10:12 +00:00
Daniil Ivanik
e29c488b05
Merge pull request #71184 from ClickHouse/divanik/add_info_about_unsupported_remote_7z
Fix and document 7z archive local-only restriction
2024-10-31 10:29:16 +00:00
MikhailBurdukov
b0977923fb Add new type of headers for S3 endpoints 2024-10-30 07:52:41 +00:00
divanik
9a9aadc33f Added info 2024-10-29 11:21:24 +00:00
Raúl Marín
c82cf25b3e
Merge pull request #71065 from gingerwizard/link_rmt_to_guide
note on final for RMT + link to guide
2024-10-25 22:12:42 +00:00
Raúl Marín
88dec86bd4
Update replacingmergetree.md 2024-10-25 23:08:58 +02:00
Dale Mcdiarmid
ddd6eea267 call out guide 2024-10-25 17:56:49 +01:00
Dale Mcdiarmid
67ba0433d9 fix comment 2024-10-25 17:52:30 +01:00
Dale Mcdiarmid
2b9d59c086 note on final + link to guide 2024-10-25 17:05:05 +01:00
Dale Mcdiarmid
1e892333bd link new perf docs 2024-10-25 16:40:37 +01:00
Diana Carroll
b6c959846d
Minor cleanup of aggregatingmergetree.md
Fix several small typos and formatting inconsistencies, and clean up wording.
2024-10-24 14:59:03 -04:00
kssenii
7bcdda3a52 Merge remote-tracking branch 'origin/master' into s3queue-add-system-s3queue-settings 2024-10-23 11:27:54 +02:00
kssenii
7e43c58c3d Add documentation 2024-10-22 17:54:20 +02:00
Robert Schulze
5f94239f99
Update default HNSW parameter settings 2024-10-21 07:30:25 +00:00
Robert Schulze
d02a31da44
Merge pull request #70616 from rschu1ze/query-time-ef-search
Vector search: allow to specify HNSW parameter `ef_search` at query time
2024-10-21 06:47:46 +00:00
Alexey Milovidov
d05a77ecab Remove documentation from MaterializedMySQL 2024-10-17 15:31:42 +02:00
Robert Schulze
c69cd58ec8
Docs cosmetics 2024-10-17 12:16:46 +00:00
Robert Schulze
4c3de5ceb4
Update docs 2024-10-17 12:15:14 +00:00
Robert Schulze
b5fc077515
Merge remote-tracking branch 'ClickHouse/master' into query-time-ef-search 2024-10-17 12:09:29 +00:00
Vladimir Cherkasov
3d81cc4832
Fix typo in docs/mongodb.md 2024-10-16 13:19:48 +02:00
Robert Schulze
da31d3252e
Merge remote-tracking branch 'ClickHouse/master' into query-time-ef-search 2024-10-15 17:24:32 +00:00
Justin de Guzman
81f07df2e0
[Docs] Remove cloud only badge 2024-10-14 12:17:14 -07:00
Robert Schulze
d8ea2198b7
Better 2024-10-14 17:50:47 +00:00
Robert Schulze
395ad883af
Better 2024-10-14 17:35:42 +00:00
Kseniia Sumarokova
ad7c74c549
Merge pull request #70135 from ClickHouse/cache-for-object-storage-table-engines
Allow to cache read files for object storage table engines and data lakes using hash from ETag and file path as cache key
2024-10-14 14:08:30 +00:00
Robert Schulze
b701a94750
Query-time ef_search 2024-10-14 09:04:24 +00:00
Kseniia Sumarokova
d3258e0a80
Merge pull request #70268 from ucasfl/iceberg-hdfs
Support reading iceberg tables on HDFS
2024-10-11 11:57:26 +00:00
kssenii
367cdb7227 Add documentation 2024-10-10 13:40:08 +08:00
alsu
d680e52d00 fix some typos 2024-10-04 16:10:06 +02:00
flynn
3332d59584 Support reading iceberg tables on HDFS 2024-10-02 11:15:16 +00:00
vdimir
53af3d6ea6
Upd docs/en/engines/table-engines/integrations/mongodb.md 2024-09-23 09:03:11 +00:00
vdimir
4c9c9015f8
Revert "Revert "Merge pull request #63279 from allmazz/mongodb_refactoring""
This reverts commit 2ae9c9ac16.
2024-09-23 07:06:58 +00:00
Alexey Milovidov
2ae9c9ac16 Revert "Merge pull request #63279 from allmazz/mongodb_refactoring"
This reverts commit 14cb02a18c, reversing
changes made to a940a9ebbc.
2024-09-22 22:28:24 +02:00
Alexey Milovidov
ea71d7f6d1 Revert "Merge pull request #69790 from ClickHouse/allmazz/mongodb_refactoring"
This reverts commit ea8f34f504, reversing
changes made to e5420c3fca.
2024-09-22 22:28:18 +02:00
Denny Crane
a05273ef02 fix broken link 2024-09-22 12:02:46 -03:00
vdimir
bec2540cd9
Upd docs/en/engines/table-engines/integrations/mongodb.md 2024-09-21 19:53:33 +00:00
Alexey Milovidov
14cb02a18c
Merge pull request #63279 from allmazz/mongodb_refactoring
MongoDB integration refactoring
2024-09-21 18:18:44 +00:00
Alexey Milovidov
b995b45f8b
Merge pull request #67656 from ClickHouse/docs-peerdb
[Docs] Add notes on PeerDB
2024-09-21 16:54:06 +00:00
Kseniia Sumarokova
3e3496bc51
Update s3queue.md 2024-09-19 21:19:29 +01:00
kssenii
043d830313 Update s3queue.md 2024-09-19 16:05:33 +02:00
Kirill Nikiforov
070afb17d8
remove +srv support 2024-09-19 15:10:22 +04:00
Kirill Nikiforov
2c360e86be
Merge remote-tracking branch 'origin' into mongodb_refactoring 2024-09-18 16:14:02 +04:00
Kseniia Sumarokova
0369aaea87
Merge pull request #69092 from 1on/master
Ability to limit columns for tables in MaterializedPostgreSQL
2024-09-17 11:08:05 +00:00
Kseniia Sumarokova
79223045c9
Merge pull request #68592 from Sergey2Gnezdilov/patch-1
Update nats.md
2024-09-17 10:56:37 +00:00
Yarik Briukhovetskyi
19dbee7cdb
Merge pull request #69625 from ClickHouse/fix-filelog-docs
Update filelog.md
2024-09-16 15:50:38 +00:00
Rich Raposa
d793e06860
Merge pull request #69622 from Olexandr88/patch-1
Docs: Update index
2024-09-16 13:12:30 +00:00
János Benjamin Antal
60f893bf87
Update filelog.md 2024-09-16 12:38:42 +02:00
Oleksandr
85af661b9c
Docs: Update index 2024-09-16 12:57:24 +03:00
Oleksandr
14feba8443
Docs: Update index 2024-09-16 11:42:09 +03:00
1on
51d770fa7a Ability to limit columns for tables in MaterializedPostgreSQL 2024-09-12 18:10:19 +03:00