You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ma...@apache.org on 2022/03/21 08:13:13 UTC
[flink] branch release-1.14 updated: [hotfix][docs] Fix doc for interval of years
This is an automated email from the ASF dual-hosted git repository.
martijnvisser pushed a commit to branch release-1.14
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.14 by this push:
new f94a9e7 [hotfix][docs] Fix doc for interval of years
f94a9e7 is described below
commit f94a9e7bcc617d2cfb7e532ab879085759996ced
Author: Yi Tang <ss...@gmail.com>
AuthorDate: Tue Mar 1 15:05:43 2022 +0800
[hotfix][docs] Fix doc for interval of years
---
docs/data/sql_functions.yml | 3 +--
docs/data/sql_functions_zh.yml | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/docs/data/sql_functions.yml b/docs/data/sql_functions.yml
index 38e48fa..6a970ac 100644
--- a/docs/data/sql_functions.yml
+++ b/docs/data/sql_functions.yml
@@ -378,8 +378,7 @@ temporal:
An interval range might be DAY, MINUTE, DAY TO HOUR, or DAY TO SECOND for intervals of milliseconds; YEAR or YEAR TO MONTH for intervals of months.
E.g., INTERVAL '10 00:00:00.004' DAY TO SECOND, INTERVAL '10' DAY, or INTERVAL '2-10' YEAR TO MONTH return intervals.
- - sql: YEAR(date)
- table: |
+ - table: |
NUMERIC.year
NUMERIC.years
description: Creates an interval of months for NUMERIC years.
diff --git a/docs/data/sql_functions_zh.yml b/docs/data/sql_functions_zh.yml
index c02a846..f738c64 100644
--- a/docs/data/sql_functions_zh.yml
+++ b/docs/data/sql_functions_zh.yml
@@ -479,8 +479,7 @@ temporal:
是 DAY,MINUTE,DAY TO HOUR 或 DAY TO SECOND,以毫秒为间隔;YEAR 或 YEAR TO MONTH 表示几个月的间隔。例
如 `INTERVAL '10 00:00:00.004' DAY TO SECOND,INTERVAL '10' DAY` 或 `INTERVAL '2-10' YEAR TO
MONTH` 返回间隔。
- - sql: YEAR(date)
- table: numeric.year | numeric.years
+ - table: numeric.year | numeric.years
description: 创建 numeric 年的月间隔。
- table: numeric.quarter | numeric.quarters
description: 为 numeric 季度创建月间隔。例如 `2.quarters` 返回 `6`。