You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/use-cases/time-series/date-time-data-types.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,13 @@ From compact date representations to high-precision timestamps with nanosecond a
14
14
Whether you're working with historical financial data, IoT sensor readings, or future-dated events, ClickHouse's date and time types provide the flexibility needed to handle various temporal data scenarios.
15
15
The range of supported types allows you to optimize both storage space and query performance while maintaining the precision your use case demands.
16
16
17
-
* The [`Date`](/docs/sql-reference/data-types/date) type should be sufficient in most cases. This type requires 2 bytes to store a date and limits the range to `[1970-01-01, 2149-06-06]`.
17
+
* The [`Date`](/sql-reference/data-types/date) type should be sufficient in most cases. This type requires 2 bytes to store a date and limits the range to `[1970-01-01, 2149-06-06]`.
18
18
19
-
*[`Date32`](/docs/sql-reference/data-types/date32) covers a wider range of dates. It requires 4 bytes to store a date and limits the range to `[1900-01-01, 2299-12-31]`
19
+
*[`Date32`](/sql-reference/data-types/date32) covers a wider range of dates. It requires 4 bytes to store a date and limits the range to `[1900-01-01, 2299-12-31]`
20
20
21
-
*[`DateTime`](/docs/sql-reference/data-types/datetime) stores date time values with second precision and a range of `[1970-01-01 00:00:00, 2106-02-07 06:28:15]` It requires 4 bytes per value.
21
+
*[`DateTime`](/sql-reference/data-types/datetime) stores date time values with second precision and a range of `[1970-01-01 00:00:00, 2106-02-07 06:28:15]` It requires 4 bytes per value.
22
22
23
-
* For cases where more precision is required, [`DateTime64`](/docs/sql-reference/data-types/datetime64) can be used. This allows storing time with up to nanoseconds precision, with a range of `[1900-01-01 00:00:00, 2299-12-31 23:59:59.99999999]`. It requires 8 bytes per value.
23
+
* For cases where more precision is required, [`DateTime64`](/sql-reference/data-types/datetime64) can be used. This allows storing time with up to nanoseconds precision, with a range of `[1900-01-01 00:00:00, 2299-12-31 23:59:59.99999999]`. It requires 8 bytes per value.
24
24
25
25
Let's create a table that stores various date types:
26
26
@@ -38,7 +38,7 @@ ENGINE = MergeTree
38
38
ORDER BY tuple();
39
39
```
40
40
41
-
We can use the [`now()`](/docs/sql-reference/functions/date-time-functions#now) function to return the current time and [`now64()`](/docs/sql-reference/functions/date-time-functions#now64) to get it in a specified precision via the first argument.
41
+
We can use the [`now()`](/sql-reference/functions/date-time-functions#now) function to return the current time and [`now64()`](/sql-reference/functions/date-time-functions#now64) to get it in a specified precision via the first argument.
42
42
43
43
```sql
44
44
INSERT INTO dates
@@ -138,7 +138,7 @@ As in the first row, `dt_1` and `dt_3` are converted to `Europe/Berlin`, while `
138
138
139
139
ClickHouse also comes with a set of functions that let us convert between the different data types.
140
140
141
-
For example, we can use [`toDate`](/docs/sql-reference/functions/type-conversion-functions#todate) to convert a `DateTime` value to the `Date` type:
141
+
For example, we can use [`toDate`](/sql-reference/functions/type-conversion-functions#todate) to convert a `DateTime` value to the `Date` type:
142
142
143
143
```sql
144
144
SELECT
@@ -158,7 +158,7 @@ date_only: 2025-03-12
158
158
toTypeName(date_only): Date
159
159
```
160
160
161
-
We can use [`toDateTime64`](/docs/sql-reference/functions/type-conversion-functions#todatetime64) to convert `DateTime` to `DateTime64`:
161
+
We can use [`toDateTime64`](/sql-reference/functions/type-conversion-functions#todatetime64) to convert `DateTime` to `DateTime64`:
And we can use [`toDateTime`](/docs/sql-reference/functions/type-conversion-functions#todatetime) to go from `Date` or `DateTime64` back to `DateTime`:
181
+
And we can use [`toDateTime`](/sql-reference/functions/type-conversion-functions#todatetime) to go from `Date` or `DateTime64` back to `DateTime`:
Copy file name to clipboardExpand all lines: i18n/ru/docusaurus-plugin-content-docs/current/_placeholders/api/_services-api-reference.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,6 @@ sidebar_label: 'Сервисы'
3
3
title: 'Сервисы'
4
4
---
5
5
6
-
## Список услуг организации {#list-of-organization-services}
6
+
## Список сервисов организации {#list-of-organization-services}
7
7
8
-
Этот файл сгенерирован с помощью`clickhouseapi.js`во время процесса сборки. Если содержимое требует изменения, пожалуйста, отредактируйте `clickhouseapi.js`.
8
+
Этот файл генерируется при помощи`clickhouseapi.js`в процессе сборки. Если содержимое нужно изменить, отредактируйте `clickhouseapi.js`.
Copy file name to clipboardExpand all lines: i18n/ru/docusaurus-plugin-content-docs/current/_snippets/_GCS_authentication_and_bucket.md
+18-17
Original file line number
Diff line number
Diff line change
@@ -7,47 +7,48 @@ import GCS_create_service_account_a from '@site/static/images/integrations/data-
7
7
import GCS_create_service_account_2 from '@site/static/images/integrations/data-ingestion/s3/GCS-create-service-account-2.png';
8
8
import GCS_create_service_account_3 from '@site/static/images/integrations/data-ingestion/s3/GCS-create-service-account-3.png';
9
9
import GCS_guide_key from '@site/static/images/integrations/data-ingestion/s3/GCS-guide-key.png';
10
+
import Image from '@theme/IdealImage';
10
11
11
12
<details>
12
-
<summary>Создание бакетов GCS и HMAC ключа</summary>
13
+
<summary>Создание ведер GCS и ключа HMAC</summary>
13
14
14
15
### ch_bucket_us_east1 {#ch_bucket_us_east1}
15
16
16
-
<imgsrc={GCS_bucket_1}alt="Создание бакета GCS в US East 1" />
17
+
<Imagesize="md"img={GCS_bucket_1}alt="Создание ведра GCS в US East 1"border />
17
18
18
19
### ch_bucket_us_east4 {#ch_bucket_us_east4}
19
20
20
-
<imgsrc={GCS_bucket_2}alt="Создание бакета GCS в US East 4" />
21
+
<Imagesize="md"img={GCS_bucket_2}alt="Создание ведра GCS в US East 4"border />
21
22
22
23
### Генерация ключа доступа {#generate-an-access-key}
23
24
24
-
### Создание HMAC ключа и секрета для сервисного аккаунта {#create-a-service-account-hmac-key-and-secret}
25
+
### Создать ключ HMAC для сервисного аккаунта и секрет {#create-a-service-account-hmac-key-and-secret}
25
26
26
-
Откройте **Cloud Storage > Настройки > Совместимость** и выберите существующий **Ключ доступа**, или **СОЗДАТЬ КЛЮЧ ДЛЯ СЕРВИСНОГО АККУНТА**. Этот гид охватывает процесс создания нового ключа для нового сервисного аккаунта.
27
+
Откройте **Cloud Storage > Settings > Interoperability** и выберите существующий **Access key**, или **CREATE A KEY FOR A SERVICE ACCOUNT**. Этот учебник охватывает процесс создания нового ключа для нового сервисного аккаунта.
27
28
28
-
<imgsrc={GCS_create_service_account_key}alt="Генерация HMAC ключа сервисного аккаунта в GCS" />
29
+
<Imagesize="md"img={GCS_create_service_account_key}alt="Генерация ключа HMAC для сервисного аккаунта в GCS"border />
29
30
30
-
### Добавление нового сервисного аккаунта {#add-a-new-service-account}
31
+
### Добавить новый сервисный аккаунт {#add-a-new-service-account}
31
32
32
-
Если это проект без существующего сервисного аккаунта, **СОЗДАТЬ НОВЫЙ АККАНТ**.
33
+
Если это проект без существующего сервисного аккаунта, выберите **CREATE NEW ACCOUNT**.
33
34
34
-
<imgsrc={GCS_create_service_account_0}alt="Добавление нового сервисного аккаунта в GCS" />
35
+
<Imagesize="md"img={GCS_create_service_account_0}alt="Добавление нового сервисного аккаунта в GCS"border />
35
36
36
-
Существует три шага для создания сервисного аккаунта, на первом шаге дайте аккаунту значимое имя, ID и описание.
37
+
Существует три этапа создания сервисного аккаунта, на первом этапе дайте аккаунту значащее имя, ID и описание.
37
38
38
-
<imgsrc={GCS_create_service_account_a}alt="Определение имени и ID нового сервисного аккаунта в GCS" />
39
+
<Imagesize="md"img={GCS_create_service_account_a}alt="Определение имени и ID нового сервисного аккаунта в GCS"border />
39
40
40
-
В диалоговом окне настроек совместимости рекомендуется роль IAM **Администратор объектов хранилища**; выберите эту роль на втором шаге.
41
+
В диалоговом окне настроек совместимости рекомендуется роль IAM **Storage Object Admin**; выберите эту роль на втором этапе.
41
42
42
-
<imgsrc={GCS_create_service_account_2}alt="Выбор IAM роли Администратор объектов хранилища в GCS" />
43
+
<Imagesize="md"img={GCS_create_service_account_2}alt="Выбор IAM роли Storage Object Admin в GCS"border />
43
44
44
-
Шаг третий является необязательным и не используется в этом руководстве. Вы можете разрешить пользователям иметь эти привилегии в зависимости от ваших политик.
45
+
Третий этап является необязательным и не используется в этом руководстве. Вы можете разрешить пользователям иметь эти привилегии в соответствии с вашими политиками.
45
46
46
-
<imgsrc={GCS_create_service_account_3}alt="Настройка дополнительных параметров для нового сервисного аккаунта в GCS" />
47
+
<Imagesize="md"img={GCS_create_service_account_3}alt="Настройка дополнительных параметров для нового сервисного аккаунта в GCS"border />
47
48
48
-
HMAC ключ сервисного аккаунта будет отображен. Сохраните эту информацию, так как она будет использована в конфигурации ClickHouse.
49
+
Ключ HMAC сервисного аккаунта будет отображен. Сохраните эту информацию, так как она будет использована в конфигурации ClickHouse.
49
50
50
-
<imgsrc={GCS_guide_key}alt="Получение сгенерированного HMAC ключа для GCS" />
51
+
<Imagesize="md"img={GCS_guide_key}alt="Получение сгенерированного HMAC ключа для GCS"border />
0 commit comments