From 0285a6b482d6c70197a023b99e5f3d12284d6eda Mon Sep 17 00:00:00 2001 From: "Lei, HUANG" <6406592+v0y4g3r@users.noreply.github.com> Date: Fri, 30 Aug 2024 12:41:11 +0800 Subject: [PATCH] fix: change alias for timestamp(0) to TimestampSecond (#1156) --- docs/reference/sql/data-types.md | 2 +- .../current/reference/sql/data-types.md | 2 +- .../version-0.6/reference/sql/data-types.md | 2 +- .../version-0.7/reference/sql/data-types.md | 2 +- .../version-0.8/reference/sql/data-types.md | 2 +- .../version-0.9/reference/sql/data-types.md | 2 +- versioned_docs/version-0.6/reference/sql/data-types.md | 2 +- versioned_docs/version-0.7/reference/sql/data-types.md | 2 +- versioned_docs/version-0.8/reference/sql/data-types.md | 2 +- versioned_docs/version-0.9/reference/sql/data-types.md | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/reference/sql/data-types.md b/docs/reference/sql/data-types.md index 37a8427b9..be1e8ea21 100644 --- a/docs/reference/sql/data-types.md +++ b/docs/reference/sql/data-types.md @@ -239,7 +239,7 @@ For users migrating from MySQL or PostgreSQL to GreptimeDB, GreptimeDB supports | `TimestampNanosecond` | `Timestamp_ns`, `Timestamp(9)` | You can use these alias types when creating tables. -For example, use `Varchar` instead of `String`, `Double` instead of `Float64`, and `Timestamp(0)` instead of `TimestampMillisecond`. +For example, use `Varchar` instead of `String`, `Double` instead of `Float64`, and `Timestamp(0)` instead of `TimestampSecond`. ```sql CREATE TABLE alias_types ( diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/reference/sql/data-types.md b/i18n/zh/docusaurus-plugin-content-docs/current/reference/sql/data-types.md index c4db13ae9..a023ff816 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/reference/sql/data-types.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/reference/sql/data-types.md @@ -239,7 +239,7 @@ INSERT INTO bools(b) VALUES (TRUE), (FALSE); | `TimestampNanosecond` | `Timestamp_ns`, `Timestamp(9)` | 在创建表时也可以使用这些别名类型。 -例如,使用 `Varchar` 代替 `String`,使用 `Double` 代替 `Float64`,使用 `Timestamp(0)` 代替 `TimestampMillisecond`。 +例如,使用 `Varchar` 代替 `String`,使用 `Double` 代替 `Float64`,使用 `Timestamp(0)` 代替 `TimestampSecond`。 ```sql CREATE TABLE alias_types ( diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.6/reference/sql/data-types.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.6/reference/sql/data-types.md index b8d2b3982..af93ece0d 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.6/reference/sql/data-types.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.6/reference/sql/data-types.md @@ -109,7 +109,7 @@ INSERT INTO bools(b) VALUES (TRUE), (FALSE); | `TimestampNanosecond`| `Timestamp_ns`, `Timestamp(9)` | 在创建表时也可以使用这些别名类型。 -例如,使用 `Varchar` 代替 `String`,使用 `Double` 代替 `Float64`,使用 `Timestamp(0)` 代替 `TimestampMillisecond`。 +例如,使用 `Varchar` 代替 `String`,使用 `Double` 代替 `Float64`,使用 `Timestamp(0)` 代替 `TimestampSecond`。 ```sql CREATE TABLE alias_types ( diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.7/reference/sql/data-types.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.7/reference/sql/data-types.md index b8d2b3982..af93ece0d 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.7/reference/sql/data-types.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.7/reference/sql/data-types.md @@ -109,7 +109,7 @@ INSERT INTO bools(b) VALUES (TRUE), (FALSE); | `TimestampNanosecond`| `Timestamp_ns`, `Timestamp(9)` | 在创建表时也可以使用这些别名类型。 -例如,使用 `Varchar` 代替 `String`,使用 `Double` 代替 `Float64`,使用 `Timestamp(0)` 代替 `TimestampMillisecond`。 +例如,使用 `Varchar` 代替 `String`,使用 `Double` 代替 `Float64`,使用 `Timestamp(0)` 代替 `TimestampSecond`。 ```sql CREATE TABLE alias_types ( diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.8/reference/sql/data-types.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.8/reference/sql/data-types.md index fd2733c27..a0380df4f 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.8/reference/sql/data-types.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.8/reference/sql/data-types.md @@ -109,7 +109,7 @@ INSERT INTO bools(b) VALUES (TRUE), (FALSE); | `TimestampNanosecond` | `Timestamp_ns`, `Timestamp(9)` | 在创建表时也可以使用这些别名类型。 -例如,使用 `Varchar` 代替 `String`,使用 `Double` 代替 `Float64`,使用 `Timestamp(0)` 代替 `TimestampMillisecond`。 +例如,使用 `Varchar` 代替 `String`,使用 `Double` 代替 `Float64`,使用 `Timestamp(0)` 代替 `TimestampSecond`。 ```sql CREATE TABLE alias_types ( diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.9/reference/sql/data-types.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.9/reference/sql/data-types.md index c4db13ae9..a023ff816 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.9/reference/sql/data-types.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.9/reference/sql/data-types.md @@ -239,7 +239,7 @@ INSERT INTO bools(b) VALUES (TRUE), (FALSE); | `TimestampNanosecond` | `Timestamp_ns`, `Timestamp(9)` | 在创建表时也可以使用这些别名类型。 -例如,使用 `Varchar` 代替 `String`,使用 `Double` 代替 `Float64`,使用 `Timestamp(0)` 代替 `TimestampMillisecond`。 +例如,使用 `Varchar` 代替 `String`,使用 `Double` 代替 `Float64`,使用 `Timestamp(0)` 代替 `TimestampSecond`。 ```sql CREATE TABLE alias_types ( diff --git a/versioned_docs/version-0.6/reference/sql/data-types.md b/versioned_docs/version-0.6/reference/sql/data-types.md index 4e7a3ac93..40330a9a1 100644 --- a/versioned_docs/version-0.6/reference/sql/data-types.md +++ b/versioned_docs/version-0.6/reference/sql/data-types.md @@ -110,7 +110,7 @@ For users migrating from MySQL or PostgreSQL to GreptimeDB, GreptimeDB supports | `TimestampNanosecond`| `Timestamp_ns`, `Timestamp(9)` | You can use these alias types when creating tables. -For example, use `Varchar` instead of `String`, `Double` instead of `Float64`, and `Timestamp(0)` instead of `TimestampMillisecond`. +For example, use `Varchar` instead of `String`, `Double` instead of `Float64`, and `Timestamp(0)` instead of `TimestampSecond`. ```sql CREATE TABLE alias_types ( diff --git a/versioned_docs/version-0.7/reference/sql/data-types.md b/versioned_docs/version-0.7/reference/sql/data-types.md index 4e7a3ac93..40330a9a1 100644 --- a/versioned_docs/version-0.7/reference/sql/data-types.md +++ b/versioned_docs/version-0.7/reference/sql/data-types.md @@ -110,7 +110,7 @@ For users migrating from MySQL or PostgreSQL to GreptimeDB, GreptimeDB supports | `TimestampNanosecond`| `Timestamp_ns`, `Timestamp(9)` | You can use these alias types when creating tables. -For example, use `Varchar` instead of `String`, `Double` instead of `Float64`, and `Timestamp(0)` instead of `TimestampMillisecond`. +For example, use `Varchar` instead of `String`, `Double` instead of `Float64`, and `Timestamp(0)` instead of `TimestampSecond`. ```sql CREATE TABLE alias_types ( diff --git a/versioned_docs/version-0.8/reference/sql/data-types.md b/versioned_docs/version-0.8/reference/sql/data-types.md index 2bf6127f8..573643bd7 100644 --- a/versioned_docs/version-0.8/reference/sql/data-types.md +++ b/versioned_docs/version-0.8/reference/sql/data-types.md @@ -110,7 +110,7 @@ For users migrating from MySQL or PostgreSQL to GreptimeDB, GreptimeDB supports | `TimestampNanosecond` | `Timestamp_ns`, `Timestamp(9)` | You can use these alias types when creating tables. -For example, use `Varchar` instead of `String`, `Double` instead of `Float64`, and `Timestamp(0)` instead of `TimestampMillisecond`. +For example, use `Varchar` instead of `String`, `Double` instead of `Float64`, and `Timestamp(0)` instead of `TimestampSecond`. ```sql CREATE TABLE alias_types ( diff --git a/versioned_docs/version-0.9/reference/sql/data-types.md b/versioned_docs/version-0.9/reference/sql/data-types.md index 37a8427b9..be1e8ea21 100644 --- a/versioned_docs/version-0.9/reference/sql/data-types.md +++ b/versioned_docs/version-0.9/reference/sql/data-types.md @@ -239,7 +239,7 @@ For users migrating from MySQL or PostgreSQL to GreptimeDB, GreptimeDB supports | `TimestampNanosecond` | `Timestamp_ns`, `Timestamp(9)` | You can use these alias types when creating tables. -For example, use `Varchar` instead of `String`, `Double` instead of `Float64`, and `Timestamp(0)` instead of `TimestampMillisecond`. +For example, use `Varchar` instead of `String`, `Double` instead of `Float64`, and `Timestamp(0)` instead of `TimestampSecond`. ```sql CREATE TABLE alias_types (