This is an automated email from the ASF dual-hosted git repository. jiafengzheng pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push: new 3c98c47d67a [typo](docs)delete duplicate document (#138) 3c98c47d67a is described below commit 3c98c47d67a6370d20abc0a4cda98cf4cbe6dd22 Author: Liqf <109049295+lemonlit...@users.noreply.github.com> AuthorDate: Tue Oct 11 14:47:45 2022 +0800 [typo](docs)delete duplicate document (#138) --- .../date-time-functions/year_floor.md | 48 ---------------------- .../date-time-functions/year_floor.md | 48 ---------------------- sidebars.json | 1 - 3 files changed, 97 deletions(-) diff --git a/docs/sql-manual/sql-functions/date-time-functions/year_floor.md b/docs/sql-manual/sql-functions/date-time-functions/year_floor.md deleted file mode 100644 index 169655ba20c..00000000000 --- a/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/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/date-time-functions/year_floor.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/date-time-functions/year_floor.md deleted file mode 100644 index df7d6851bd6..00000000000 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/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 diff --git a/sidebars.json b/sidebars.json index 881e38ff728..4b540048810 100644 --- a/sidebars.json +++ b/sidebars.json @@ -249,7 +249,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", --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org