Skip to content

Commit cf8df28

Browse files
committed
Merge branch 'main' of https://github.com/clickhouse/clickhouse-docs into elastic_migration
2 parents f883f4d + f18e954 commit cf8df28

File tree

8 files changed

+94
-81
lines changed

8 files changed

+94
-81
lines changed

docs/cloud/reference/warehouses.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,11 @@ Once compute-compute is enabled for a service (at least one secondary service wa
128128

129129
3. **All read-write services are doing background merge operations.** When inserting data to ClickHouse, the database at first inserts the data to some staging partitions, and then performs merges in the background. These merges can consume memory and CPU resources. When two read-write services share the same storage, they both are performing background operations. That means that there can be a situation where there is an `INSERT` query in Service 1, but the merge operation is completed by Service 2. Note that read-only services do not execute background merges, thus they don't spend their resources on this operation.
130130

131-
4. **Inserts in one read-write service can prevent another read-write service from idling if idling is enabled.** Because of the previous point, a second service perform background merge operations for the first service. These background operations can prevent the second service from going to sleep when idling. Once the background operations are finished, the service will be idled. Read-only services are not affected and will be idled without delay.
131+
4. **All read-write services are performing S3Queue table engine insert operations.** When creating a S3Queue table on a RW service, all other RW services in the WH may perform reading data from S3 and writing data to the database.
132132

133-
5. **CREATE/RENAME/DROP DATABASE queries could be blocked by idled/stopped services by default.** These queries can hang. To bypass this, you can run database management queries with `settings distributed_ddl_task_timeout=0` at the session or per query level. For example:
133+
5. **Inserts in one read-write service can prevent another read-write service from idling if idling is enabled.** As a result, a second service performs background merge operations for the first service. These background operations can prevent the second service from going to sleep when idling. Once the background operations are finished, the service will be idled. Read-only services are not affected and will be idled without delay.
134+
135+
6. **CREATE/RENAME/DROP DATABASE queries could be blocked by idled/stopped services by default.** These queries can hang. To bypass this, you can run database management queries with `settings distributed_ddl_task_timeout=0` at the session or per query level. For example:
134136

135137
```sql
136138
create database db_test_ddl_single_query_setting

docs/data-modeling/projections.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ queries by creating a reordering of data by attributes of interest. This can be:
2424
3. A precomputed aggregation (similar to a Materialized View) but with an ordering
2525
aligned to the aggregation.
2626

27+
<br/>
28+
<iframe width="560" height="315" src="https://www.youtube.com/embed/6CdnUdZSEG0?si=1zUyrP-tCvn9tXse" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
29+
2730
## How do Projections work? {#how-do-projections-work}
2831

2932
Practically, a Projection can be thought of as an additional, hidden table to the

docs/integrations/data-ingestion/etl-tools/dbt/index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -813,10 +813,9 @@ In this run, only the new rows are added straight to `imdb_dbt.actor_summary` ta
813813
814814
### Delete+Insert mode (Experimental) {#deleteinsert-mode-experimental}
815815
816-
Historically ClickHouse has had only limited support for updates and deletes, in the form of asynchronous [Mutations](/sql-reference/statements/alter/index.md). These can be extremely IO-intensive and should generally be avoided.
817-
818-
ClickHouse 22.8 introduced [Lightweight deletes](/sql-reference/statements/delete.md). These are currently experimental but offer a more performant means of deleting data.
816+
Historically ClickHouse has had only limited support for updates and deletes, in the form of asynchronous [Mutations](/sql-reference/statements/alter/index.md). These can be extremely IO-intensive and should generally be avoided.
819817
818+
ClickHouse 22.8 introduced [lightweight deletes](/sql-reference/statements/delete.md) and ClickHouse 25.7 introduced [lightweight updates](/guides/developer/lightweight-update). With the introduction of these features, modifications from single update queries, even when being materialized asynchronously, will occur instantly from the user's perspective.
820819
821820
This mode can be configured for a model via the `incremental_strategy` parameter i.e.
822821

docs/integrations/language-clients/js.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,8 @@ The related JS type is relevant for any `JSON*` formats except the ones that rep
816816
| Variant(T1, T2...) | ✔️ | T (depends on the variant) |
817817
| Dynamic | ✔️ | T (depends on the variant) |
818818
| Nested | ✔️ | T[] |
819-
| Tuple | ✔️ | Tuple |
819+
| Tuple(T1, T2, ...) | ✔️ | [T1, T2, ...] |
820+
| Tuple(n1 T1, n2 T2...) | ✔️ | \{ n1: T1; n2: T2; ...} |
820821
| Nullable(T) | ✔️ | JS type for T or null |
821822
| IPv4 | ✔️ | string |
822823
| IPv6 | ✔️ | string |

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"@docusaurus/theme-mermaid": "3.7.0",
4545
"@docusaurus/theme-search-algolia": "^3.7.0",
4646
"@mdx-js/react": "^3.1.0",
47-
"@radix-ui/react-navigation-menu": "^1.2.5",
47+
"@radix-ui/react-navigation-menu": "^1.2.13",
4848
"@redocly/cli": "^1.34.0",
4949
"axios": "^1.8.2",
5050
"clsx": "^2.1.0",
@@ -70,7 +70,7 @@
7070
"remark-docusaurus-tabs": "^0.2.0",
7171
"remark-link-rewrite": "^1.0.7",
7272
"remark-math": "^6.0.0",
73-
"sass": "^1.86.1",
73+
"sass": "^1.89.1",
7474
"search-insights": "^2.17.3",
7575
"short-uuid": "^5.2.0",
7676
"unist-util-visit": "^5.0.0"

src/components/MobileSideBarMenu/MobileLanguagePicker.jsx

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,29 @@ const MobileLanguagePicker = ({ onLanguageChange }) => {
8686
};
8787

8888
// Handle language selection
89-
const handleLanguageSelect = (locale, href) => {
89+
const handleLanguageSelect = async (locale, href) => {
9090
setIsOpen(false);
9191

9292
// Notify parent component about language change if callback provided
9393
if (onLanguageChange) {
9494
onLanguageChange(locale, href);
95-
} else {
96-
// Fallback navigation if no callback
95+
}
96+
97+
// Try client-side navigation first
98+
try {
99+
// Use history.push for client-side navigation
100+
const { history } = await import('@docusaurus/router');
101+
history.push(href);
102+
103+
// Force a small delay to allow React to update, then trigger a re-render
104+
setTimeout(() => {
105+
// Force re-render by updating a state or triggering a window event
106+
window.dispatchEvent(new Event('languageChanged'));
107+
}, 100);
108+
109+
} catch (error) {
110+
// Fallback to full page reload if client-side navigation fails
111+
console.warn('Client-side navigation failed, falling back to full reload:', error);
97112
window.location.href = href;
98113
}
99114
};
@@ -144,9 +159,9 @@ const MobileLanguagePicker = ({ onLanguageChange }) => {
144159
// Handle docs root paths specifically
145160
if (currentPath === '/docs' || currentPath === '/docs/') {
146161
if (locale === i18n.defaultLocale || locale === 'en') {
147-
href = '/docs/';
162+
href = '/docs';
148163
} else {
149-
href = `/docs/${locale}/`;
164+
href = `/docs/${locale}`;
150165
}
151166
} else {
152167
// Remove existing locale from docs path if present

vercel.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3322,6 +3322,24 @@
33223322
{
33233323
"source": "/docs/cloud/manage/api/services-api-reference",
33243324
"destination": "https://clickhouse.com/docs/cloud/manage/api/swagger#/paths/~1v1~1organizations~1%7BorganizationId%7D~1services/get"
3325+
},
3326+
{
3327+
"source": "/docs/getting-started/example-datasets/reddit-comments",
3328+
"destination": "/docs/getting-started/example-datasets",
3329+
"permanent": true
3330+
},
3331+
{
3332+
"source": "/docs/getting-started/example-datasets/recipes",
3333+
"destination": "/docs/getting-started/example-datasets",
3334+
"permanent": true
3335+
},
3336+
{
3337+
"source": "/docs/whats-new/changelog/2025",
3338+
"destination": "/docs/category/changelog"
3339+
},
3340+
{
3341+
"source": "/docs/development/adding_test_queries",
3342+
"destination": "/docs/development/tests#adding-a-new-test"
33253343
}
33263344
]
33273345
}

yarn.lock

Lines changed: 43 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -3111,15 +3111,15 @@
31113111
"@radix-ui/react-primitive" "2.0.2"
31123112
"@radix-ui/react-slot" "1.1.2"
31133113

3114-
"@radix-ui/[email protected].6":
3115-
version "1.1.6"
3116-
resolved "https://registry.yarnpkg.com/@radix-ui/react-collection/-/react-collection-1.1.6.tgz#fecf74475e4660ee99c7eb1ebfa5ccfb1a219fe4"
3117-
integrity sha512-PbhRFK4lIEw9ADonj48tiYWzkllz81TM7KVYyyMMw2cwHO7D5h4XKEblL8NlaRisTK3QTe6tBEhDccFUryxHBQ==
3114+
"@radix-ui/[email protected].7":
3115+
version "1.1.7"
3116+
resolved "https://registry.yarnpkg.com/@radix-ui/react-collection/-/react-collection-1.1.7.tgz#d05c25ca9ac4695cc19ba91f42f686e3ea2d9aec"
3117+
integrity sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==
31183118
dependencies:
31193119
"@radix-ui/react-compose-refs" "1.1.2"
31203120
"@radix-ui/react-context" "1.1.2"
3121-
"@radix-ui/react-primitive" "2.1.2"
3122-
"@radix-ui/react-slot" "1.2.2"
3121+
"@radix-ui/react-primitive" "2.1.3"
3122+
"@radix-ui/react-slot" "1.2.3"
31233123

31243124
"@radix-ui/[email protected]":
31253125
version "1.1.1"
@@ -3183,6 +3183,17 @@
31833183
resolved "https://registry.yarnpkg.com/@radix-ui/react-direction/-/react-direction-1.1.1.tgz#39e5a5769e676c753204b792fbe6cf508e550a14"
31843184
integrity sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw==
31853185

3186+
"@radix-ui/[email protected]", "@radix-ui/react-dismissable-layer@^1.0.5":
3187+
version "1.1.10"
3188+
resolved "https://registry.yarnpkg.com/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.10.tgz#429b9bada3672c6895a5d6a642aca6ecaf4f18c3"
3189+
integrity sha512-IM1zzRV4W3HtVgftdQiiOmA0AdJlCtMLe00FXaHwgt3rAnNsIyDqshvkIW3hj/iu5hu8ERP7KIYki6NkqDxAwQ==
3190+
dependencies:
3191+
"@radix-ui/primitive" "1.1.2"
3192+
"@radix-ui/react-compose-refs" "1.1.2"
3193+
"@radix-ui/react-primitive" "2.1.3"
3194+
"@radix-ui/react-use-callback-ref" "1.1.1"
3195+
"@radix-ui/react-use-escape-keydown" "1.1.1"
3196+
31863197
"@radix-ui/[email protected]":
31873198
version "1.1.5"
31883199
resolved "https://registry.yarnpkg.com/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.5.tgz#96dde2be078c694a621e55e047406c58cd5fe774"
@@ -3194,28 +3205,6 @@
31943205
"@radix-ui/react-use-callback-ref" "1.1.0"
31953206
"@radix-ui/react-use-escape-keydown" "1.1.0"
31963207

3197-
"@radix-ui/[email protected]":
3198-
version "1.1.9"
3199-
resolved "https://registry.yarnpkg.com/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.9.tgz#46e025ba6e6f403677e22fbb7d99b63cf7b32bca"
3200-
integrity sha512-way197PiTvNp+WBP7svMJasHl+vibhWGQDb6Mgf5mhEWJkgb85z7Lfl9TUdkqpWsf8GRNmoopx9ZxCyDzmgRMQ==
3201-
dependencies:
3202-
"@radix-ui/primitive" "1.1.2"
3203-
"@radix-ui/react-compose-refs" "1.1.2"
3204-
"@radix-ui/react-primitive" "2.1.2"
3205-
"@radix-ui/react-use-callback-ref" "1.1.1"
3206-
"@radix-ui/react-use-escape-keydown" "1.1.1"
3207-
3208-
"@radix-ui/react-dismissable-layer@^1.0.5":
3209-
version "1.1.7"
3210-
resolved "https://registry.yarnpkg.com/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.7.tgz#80b5c23a0d29cfe56850399210c603376c27091f"
3211-
integrity sha512-j5+WBUdhccJsmH5/H0K6RncjDtoALSEr6jbkaZu+bjw6hOPOhHycr6vEUujl+HBK8kjUfWcoCJXxP6e4lUlMZw==
3212-
dependencies:
3213-
"@radix-ui/primitive" "1.1.2"
3214-
"@radix-ui/react-compose-refs" "1.1.2"
3215-
"@radix-ui/react-primitive" "2.1.0"
3216-
"@radix-ui/react-use-callback-ref" "1.1.1"
3217-
"@radix-ui/react-use-escape-keydown" "1.1.1"
3218-
32193208
"@radix-ui/react-dropdown-menu@^2.0.6":
32203209
version "2.1.6"
32213210
resolved "https://registry.yarnpkg.com/@radix-ui/react-dropdown-menu/-/react-dropdown-menu-2.1.6.tgz#b66b62648b378370aa3c38e5727fd3bc5b8792a3"
@@ -3296,25 +3285,25 @@
32963285
aria-hidden "^1.2.4"
32973286
react-remove-scroll "^2.6.3"
32983287

3299-
"@radix-ui/react-navigation-menu@^1.2.5":
3300-
version "1.2.12"
3301-
resolved "https://registry.yarnpkg.com/@radix-ui/react-navigation-menu/-/react-navigation-menu-1.2.12.tgz#d86b4ea4e12617186f912a0ceefb81379cd60a82"
3302-
integrity sha512-iExvawdu7n6DidDJRU5pMTdi+Z3DaVPN4UZbAGuTs7nJA8P4RvvkEz+XYI2UJjb/Hh23RrH19DakgZNLdaq9Bw==
3288+
"@radix-ui/react-navigation-menu@^1.2.13":
3289+
version "1.2.13"
3290+
resolved "https://registry.yarnpkg.com/@radix-ui/react-navigation-menu/-/react-navigation-menu-1.2.13.tgz#8d49ce275bf4f49a8642be520074b5a7438a5fb0"
3291+
integrity sha512-WG8wWfDiJlSF5hELjwfjSGOXcBR/ZMhBFCGYe8vERpC39CQYZeq1PQ2kaYHdye3V95d06H89KGMsVCIE4LWo3g==
33033292
dependencies:
33043293
"@radix-ui/primitive" "1.1.2"
3305-
"@radix-ui/react-collection" "1.1.6"
3294+
"@radix-ui/react-collection" "1.1.7"
33063295
"@radix-ui/react-compose-refs" "1.1.2"
33073296
"@radix-ui/react-context" "1.1.2"
33083297
"@radix-ui/react-direction" "1.1.1"
3309-
"@radix-ui/react-dismissable-layer" "1.1.9"
3298+
"@radix-ui/react-dismissable-layer" "1.1.10"
33103299
"@radix-ui/react-id" "1.1.1"
33113300
"@radix-ui/react-presence" "1.1.4"
3312-
"@radix-ui/react-primitive" "2.1.2"
3301+
"@radix-ui/react-primitive" "2.1.3"
33133302
"@radix-ui/react-use-callback-ref" "1.1.1"
33143303
"@radix-ui/react-use-controllable-state" "1.2.2"
33153304
"@radix-ui/react-use-layout-effect" "1.1.1"
33163305
"@radix-ui/react-use-previous" "1.1.1"
3317-
"@radix-ui/react-visually-hidden" "1.2.2"
3306+
"@radix-ui/react-visually-hidden" "1.2.3"
33183307

33193308
"@radix-ui/react-popover@^1.0.7":
33203309
version "1.1.6"
@@ -3384,19 +3373,12 @@
33843373
dependencies:
33853374
"@radix-ui/react-slot" "1.1.2"
33863375

3387-
"@radix-ui/[email protected]":
3388-
version "2.1.0"
3389-
resolved "https://registry.yarnpkg.com/@radix-ui/react-primitive/-/react-primitive-2.1.0.tgz#9233e17a22d0010195086f8b5eb1808ebbca8437"
3390-
integrity sha512-/J/FhLdK0zVcILOwt5g+dH4KnkonCtkVJsa2G6JmvbbtZfBEI1gMsO3QMjseL4F/SwfAMt1Vc/0XKYKq+xJ1sw==
3391-
dependencies:
3392-
"@radix-ui/react-slot" "1.2.0"
3393-
3394-
"@radix-ui/[email protected]":
3395-
version "2.1.2"
3396-
resolved "https://registry.yarnpkg.com/@radix-ui/react-primitive/-/react-primitive-2.1.2.tgz#03f64f957719c761d22c2f92cc43ffb64bd42cc8"
3397-
integrity sha512-uHa+l/lKfxuDD2zjN/0peM/RhhSmRjr5YWdk/37EnSv1nJ88uvG85DPexSm8HdFQROd2VdERJ6ynXbkCFi+APw==
3376+
"@radix-ui/[email protected]":
3377+
version "2.1.3"
3378+
resolved "https://registry.yarnpkg.com/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz#db9b8bcff49e01be510ad79893fb0e4cda50f1bc"
3379+
integrity sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==
33983380
dependencies:
3399-
"@radix-ui/react-slot" "1.2.2"
3381+
"@radix-ui/react-slot" "1.2.3"
34003382

34013383
"@radix-ui/react-radio-group@^1.1.3":
34023384
version "1.2.3"
@@ -3458,17 +3440,10 @@
34583440
dependencies:
34593441
"@radix-ui/react-compose-refs" "1.1.1"
34603442

3461-
"@radix-ui/[email protected]":
3462-
version "1.2.0"
3463-
resolved "https://registry.yarnpkg.com/@radix-ui/react-slot/-/react-slot-1.2.0.tgz#57727fc186ddb40724ccfbe294e1a351d92462ba"
3464-
integrity sha512-ujc+V6r0HNDviYqIK3rW4ffgYiZ8g5DEHrGJVk4x7kTlLXRDILnKX9vAUYeIsLOoDpDJ0ujpqMkjH4w2ofuo6w==
3465-
dependencies:
3466-
"@radix-ui/react-compose-refs" "1.1.2"
3467-
3468-
"@radix-ui/[email protected]":
3469-
version "1.2.2"
3470-
resolved "https://registry.yarnpkg.com/@radix-ui/react-slot/-/react-slot-1.2.2.tgz#18e6533e778a2051edc2ad0773da8e22f03f626a"
3471-
integrity sha512-y7TBO4xN4Y94FvcWIOIh18fM4R1A8S4q1jhoz4PNzOoHsFcN8pogcFmZrTYAm4F9VRUrWP/Mw7xSKybIeRI+CQ==
3443+
"@radix-ui/[email protected]":
3444+
version "1.2.3"
3445+
resolved "https://registry.yarnpkg.com/@radix-ui/react-slot/-/react-slot-1.2.3.tgz#502d6e354fc847d4169c3bc5f189de777f68cfe1"
3446+
integrity sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==
34723447
dependencies:
34733448
"@radix-ui/react-compose-refs" "1.1.2"
34743449

@@ -3609,12 +3584,12 @@
36093584
dependencies:
36103585
"@radix-ui/react-primitive" "2.0.2"
36113586

3612-
"@radix-ui/[email protected].2":
3613-
version "1.2.2"
3614-
resolved "https://registry.yarnpkg.com/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.2.2.tgz#aa6d0f95b0cd50f08b02393d25132f52ca7861dc"
3615-
integrity sha512-ORCmRUbNiZIv6uV5mhFrhsIKw4UX/N3syZtyqvry61tbGm4JlgQuSn0hk5TwCARsCjkcnuRkSdCE3xfb+ADHew==
3587+
"@radix-ui/[email protected].3":
3588+
version "1.2.3"
3589+
resolved "https://registry.yarnpkg.com/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.2.3.tgz#a8c38c8607735dc9f05c32f87ab0f9c2b109efbf"
3590+
integrity sha512-pzJq12tEaaIhqjbzpCuv/OypJY/BPavOofm+dbab+MHLajy277+1lLm6JFcGgF5eskJ6mquGirhXY2GD/8u8Ug==
36163591
dependencies:
3617-
"@radix-ui/react-primitive" "2.1.2"
3592+
"@radix-ui/react-primitive" "2.1.3"
36183593

36193594
"@radix-ui/[email protected]":
36203595
version "1.1.0"
@@ -12508,10 +12483,10 @@ sass-loader@^16.0.2:
1250812483
dependencies:
1250912484
neo-async "^2.6.2"
1251012485

12511-
sass@^1.86.1:
12512-
version "1.86.1"
12513-
resolved "https://registry.yarnpkg.com/sass/-/sass-1.86.1.tgz#862c7fc9d30ffb9bf616fa20e50c033cb1bee4dc"
12514-
integrity sha512-Yaok4XELL1L9Im/ZUClKu//D2OP1rOljKj0Gf34a+GzLbMveOzL7CfqYo+JUa5Xt1nhTCW+OcKp/FtR7/iqj1w==
12486+
sass@^1.89.1:
12487+
version "1.89.1"
12488+
resolved "https://registry.yarnpkg.com/sass/-/sass-1.89.1.tgz#9281c52c85b4be54264d310fef63a811dfcfb9d9"
12489+
integrity sha512-eMLLkl+qz7tx/0cJ9wI+w09GQ2zodTkcE/aVfywwdlRcI3EO19xGnbmJwg/JMIm+5MxVJ6outddLZ4Von4E++Q==
1251512490
dependencies:
1251612491
chokidar "^4.0.0"
1251712492
immutable "^5.0.2"

0 commit comments

Comments
 (0)