You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2022/10/12 01:09:12 UTC
[doris] branch master updated: [typo](docs)delete duplicate document and fix some problem (#13274)
This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 022cfb6979 [typo](docs)delete duplicate document and fix some problem (#13274)
022cfb6979 is described below
commit 022cfb697942fa691c7425c8d3a099414a406aad
Author: Liqf <10...@users.noreply.github.com>
AuthorDate: Wed Oct 12 09:09:05 2022 +0800
[typo](docs)delete duplicate document and fix some problem (#13274)
---
.../ecosystem/external-table/hive-bitmap-udf.md | 8 ++--
.../date-time-functions/year_floor.md | 48 ----------------------
docs/sidebars.json | 1 -
.../date-time-functions/year_floor.md | 48 ----------------------
4 files changed, 4 insertions(+), 101 deletions(-)
diff --git a/docs/en/docs/ecosystem/external-table/hive-bitmap-udf.md b/docs/en/docs/ecosystem/external-table/hive-bitmap-udf.md
index a06899d97d..27d6199fa8 100644
--- a/docs/en/docs/ecosystem/external-table/hive-bitmap-udf.md
+++ b/docs/en/docs/ecosystem/external-table/hive-bitmap-udf.md
@@ -46,10 +46,10 @@ CREATE TABLE IF NOT EXISTS `hive_bitmap_table`(
-- Example:Create Hive Table
CREATE TABLE IF NOT EXISTS `hive_table`(
- `k1` int COMMENT '',
- `k2` String COMMENT '',
- `k3` String COMMENT '',
- `uuid` int COMMENT ''
+ `k1` int COMMENT '',
+ `k2` String COMMENT '',
+ `k3` String COMMENT '',
+ `uuid` int COMMENT ''
) comment 'comment'
```
diff --git a/docs/en/docs/sql-manual/sql-functions/date-time-functions/year_floor.md b/docs/en/docs/sql-manual/sql-functions/date-time-functions/year_floor.md
deleted file mode 100644
index 169655ba20..0000000000
--- a/docs/en/docs/sql-manual/sql-functions/date-time-functions/year_floor.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-{
- "title": "year_floor",
- "language": "en"
-}
----
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-## year_floor
-### description
-#### Syntax
-
-`DATETIME year_floor(DATETIME date)`
-
-Rounding down the specified time, reserving the field level to years, returns the DATETIME type
-
-### Example
-
-```
-mysql> select year_floor('2022-09-22 17:00:00');
-+-----------------------------------+
-| year_floor('2022-09-22 17:00:00') |
-+-----------------------------------+
-| 2022-01-01 00:00:00 |
-+-----------------------------------+
-```
-
-### keywords
-
- year_floor
diff --git a/docs/sidebars.json b/docs/sidebars.json
index 64a037ce6d..3b423dc338 100644
--- a/docs/sidebars.json
+++ b/docs/sidebars.json
@@ -282,7 +282,6 @@
"sql-manual/sql-functions/date-time-functions/yearweek",
"sql-manual/sql-functions/date-time-functions/dayname",
"sql-manual/sql-functions/date-time-functions/monthname",
- "sql-manual/sql-functions/date-time-functions/year_floor",
"sql-manual/sql-functions/date-time-functions/hour",
"sql-manual/sql-functions/date-time-functions/minute",
"sql-manual/sql-functions/date-time-functions/second",
diff --git a/docs/zh-CN/docs/sql-manual/sql-functions/date-time-functions/year_floor.md b/docs/zh-CN/docs/sql-manual/sql-functions/date-time-functions/year_floor.md
deleted file mode 100644
index df7d6851bd..0000000000
--- a/docs/zh-CN/docs/sql-manual/sql-functions/date-time-functions/year_floor.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-{
- "title": "year_floor",
- "language": "zh-CN"
-}
----
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-## year_floor
-### description
-#### Syntax
-
-`DATETIME year_floor(DATETIME date)`
-
-指定时间向下舍入,保留字段级别到年,返回DATETIME类型
-
-### Example
-
-```
-mysql> select year_floor('2022-09-22 17:00:00');
-+-----------------------------------+
-| year_floor('2022-09-22 17:00:00') |
-+-----------------------------------+
-| 2022-01-01 00:00:00 |
-+-----------------------------------+
-```
-
-### keywords
-
- year_floor
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org