Commit Graph

15215 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
Robert Schulze
5c69cf3205
Docs: An attempt to fix the missing sidebar for TPC-H/DS and SSB benchmark docs
See https://github.com/ClickHouse/clickhouse-docs/issues/2721
2024-11-03 13:20:56 +01:00
Han Fei
4bfce22caa
Merge pull request #71389 from den-crane/patch-76
Doc. Copy/paste error
2024-11-01 20:51:13 +00:00
pufit
e2c372f8b3
Merge pull request #71332 from ClickHouse/pufit/fix-inconsistent-ast-wildcard-grants
Fix inconsistent AST formatting when granting wrong wildcard grants
2024-11-01 18:48:34 +00:00
Denny Crane
b3b245e3b8
Update anylast.md 2024-11-01 15:37:48 -03:00
Nikita Mikhaylov
57fde54f10
Merge pull request #71250 from cwurm/missing_sources_grants
Add missing sources grants for Kafka, NATS and RabbitMQ
2024-11-01 15:08:19 +00:00
Dmitry Novik
918697e9ef
Merge pull request #71245 from hnakamur/fix_docs_create_materialized_view_on_cluster
Fix doc for CREATE MATERIALIZED VIEW ON CLUSTER
2024-11-01 14:43:56 +00:00
Vladimir Cherkasov
c4db9a0501
Merge pull request #71014 from jirislav/increase_default_client_history_size
Make the Replxx client history size configurable
2024-11-01 14:04:00 +00:00
Dmitry Novik
a6e2a09843 Merge remote-tracking branch 'origin/master' into fix_docs_create_materialized_view_on_cluster 2024-11-01 14:23:57 +01:00
pufit
7726866767 Fix inconsistent AST formatting when granting wrong wildcard grants 2024-10-31 22:25:04 -04:00
Raúl Marín
f4a7f475dc
Merge pull request #71145 from Algunenano/setting_tiers
Introduce setting tiers
2024-10-31 15:18:29 +00:00
Thom O'Connor
33cbc540d5
Update kill.md - remove ON CLUSTER for KILL MUTATION
ON CLUSTER is not valid for KILL MUTATION, and will result in an exception. Correcting the docs for this syntax
2024-10-31 13:49:24 +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
Sergei Trifonov
d14ca872d4
Merge pull request #71266 from ClickHouse/revert-71251-revert-69187-sql-for-workload-management
Revert "Revert "SQL syntax for workload and resource management""
2024-10-30 23:18:05 +00:00
Kseniia Sumarokova
364276f53b
Merge pull request #71011 from MikhailBurdukov/access_header_for_s3
Add a new type of headers for S3 endpoints for custom authentication.
2024-10-30 16:38:05 +00:00
Sergei Trifonov
2760f283a1
Revert "Revert "SQL syntax for workload and resource management"" 2024-10-30 16:18:35 +01:00
Raúl Marín
50345cd254 Merge remote-tracking branch 'blessed/master' into setting_tiers 2024-10-30 14:39:56 +01:00
Konstantin Bogdanov
bceb1dce69
Merge pull request #70090 from arthurpassos/valid_until_per_auth_method
Allow each authentication method to have its own expiration date, remove from user entity.
2024-10-30 13:26:56 +00:00
Alexander Tokmakov
4a821e81a1
Revert "SQL syntax for workload and resource management" 2024-10-30 12:48:13 +01:00
Christoph Wurm
3b0273a5d3 Docs 2024-10-30 11:02:22 +00:00
Hiroaki Nakamura
d6acaeae5a
Fix doc for CREATE MATERIALIZED VIEW ON CLUSTER 2024-10-30 19:43:04 +09:00
divanik
da66d19b87 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/add_info_about_unsupported_remote_7z 2024-10-30 10:35:08 +00:00
Konstantin Bogdanov
1239137f24
Merge branch 'master' into valid_until_per_auth_method 2024-10-30 12:15:52 +03:00
MikhailBurdukov
b0977923fb Add new type of headers for S3 endpoints 2024-10-30 07:52:41 +00:00
serxa
fe9b323981 Merge branch 'master' into sql-for-workload-management 2024-10-29 22:18:11 +00:00
divanik
9a9aadc33f Added info 2024-10-29 11:21:24 +00:00
serxa
78c8b43479 Merge branch 'master' into sql-for-workload-management 2024-10-29 09:09:05 +00:00
pufit
934bd37160 Add a note that wildcard grants feature will be available only after 24.10 2024-10-29 00:48:31 -04:00
Alexey Milovidov
f2b67b7861
Merge pull request #71126 from ClickHouse/Avogar-patch-8
Slightly update JSON docs for better search
2024-10-29 01:48:29 +00:00
Shichao Jin
350cda4083
Merge pull request #71159 from alsugiliazova/backticks
Docs: add example to valid until docs with other timezone that requires non-obvious backticks around timezone
2024-10-29 00:10:21 +00:00
Sergei Trifonov
a97fc2678b
Merge pull request #69847 from ClickHouse/async_load_system_database
Add `async_load_system_database` setting
2024-10-28 22:30:42 +00:00
alsu
7a5a298cfd add example with other timezone that requires
non-obvious backticks
2024-10-28 23:26:25 +01:00
Raúl Marín
49655e71f5 Update docs 2024-10-28 18:20:43 +01:00
Raúl Marín
5e9aa01f33 Introduce Setting tiers 2024-10-28 17:25:52 +01:00
Sergei Trifonov
f595b20d08
Merge branch 'master' into async_load_system_database 2024-10-28 16:15:58 +01:00
Pavel Kruglov
0c5a5a0b07
Slightly update JSON docs for better search 2024-10-28 12:25:08 +01:00
Dale Mcdiarmid
93494b08f5 fix spelling 2024-10-28 10:01:40 +00:00
Dale McDiarmid
139fd5bde7
Merge branch 'master' into extra_credentials_s3 2024-10-28 09:59:33 +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
c46e3ca09f note for s3cluster 2024-10-25 19:11:58 +01:00
Dale Mcdiarmid
5834da5a62 move section 2024-10-25 19:08:29 +01:00
Dale Mcdiarmid
e85b75b2e9 document extra credentials s3 2024-10-25 19:03:37 +01: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
Raúl Marín
3e8bc8bf18
Merge pull request #69619 from bigo-sg/enable_quantile_exact_interpolate_new
Support aggreate function quantileExactWeightedInterpolated, which is a interpolated implementation based on quantileExactWeighted
2024-10-25 13:59:43 +00:00
Han Fei
6f3e25b50d
Merge pull request #70737 from KevinyhZou/support_datetime64_parse_joda_syntax
Support parse `DateTime64` and timezone in joda syntax
2024-10-25 12:37:15 +00:00
Yarik Briukhovetskyi
d1ac93ba17
Small doc improvement. 2024-10-25 14:30:18 +02:00