diff --git a/.github/workflows/build-extension.yml b/.github/workflows/build-extension.yml
index 7c7dc5fb8b4f39..14998f24144b73 100644
--- a/.github/workflows/build-extension.yml
+++ b/.github/workflows/build-extension.yml
@@ -84,39 +84,39 @@ jobs:
- name: Build broker
run: |
cd fs_brokers/apache_hdfs_broker/ && /bin/bash build.sh
- build-docs:
- name: Build Documents
- needs: changes
- if: ${{ needs.changes.outputs.docs_changes == 'true' }}
- runs-on: ubuntu-latest
- steps:
- - name: Checkout ${{ github.ref }}
- uses: actions/checkout@v3
+ # build-docs:
+ # name: Build Documents
+ # needs: changes
+ # if: ${{ needs.changes.outputs.docs_changes == 'true' }}
+ # runs-on: ubuntu-latest
+ # steps:
+ # - name: Checkout ${{ github.ref }}
+ # uses: actions/checkout@v3
- - name: Build docs
- run: |
- cd docs && /bin/bash build_help_zip.sh
- - name: Build
- run: |
- git clone https://github.com/apache/doris-website.git website
- cd website
- echo "[\"current\"]" > versions.json
- mkdir -p docs
- cp -R ../docs/en/docs/* docs/
- cp -R ../docs/sidebars.json sidebars.json
- mkdir -p i18n/zh-CN/docusaurus-plugin-content-docs/current
- cp -R ../docs/zh-CN/docs/* i18n/zh-CN/docusaurus-plugin-content-docs/current/
- cp -R ../docs/dev.json i18n/zh-CN/docusaurus-plugin-content-docs/current.json
+ # - name: Build docs
+ # run: |
+ # cd docs && /bin/bash build_help_zip.sh
+ # - name: Build
+ # run: |
+ # git clone https://github.com/apache/doris-website.git website
+ # cd website
+ # echo "[\"current\"]" > versions.json
+ # mkdir -p docs
+ # cp -R ../docs/en/docs/* docs/
+ # cp -R ../docs/sidebars.json sidebars.json
+ # mkdir -p i18n/zh-CN/docusaurus-plugin-content-docs/current
+ # cp -R ../docs/zh-CN/docs/* i18n/zh-CN/docusaurus-plugin-content-docs/current/
+ # cp -R ../docs/dev.json i18n/zh-CN/docusaurus-plugin-content-docs/current.json
- mkdir -p community
- cp -R ../docs/en/community/* community/
- mkdir -p i18n/zh-CN/docusaurus-plugin-content-docs-community/current/
- cp -R ../docs/zh-CN/community/* i18n/zh-CN/docusaurus-plugin-content-docs-community/current/
- cp -R ../docs/sidebarsCommunity.json .
+ # mkdir -p community
+ # cp -R ../docs/en/community/* community/
+ # mkdir -p i18n/zh-CN/docusaurus-plugin-content-docs-community/current/
+ # cp -R ../docs/zh-CN/community/* i18n/zh-CN/docusaurus-plugin-content-docs-community/current/
+ # cp -R ../docs/sidebarsCommunity.json .
- cp -R ../docs/images static/
- npm install -g yarn
- yarn cache clean
- yarn && yarn build
- cd ../
- rm -rf website
+ # cp -R ../docs/images static/
+ # npm install -g yarn
+ # yarn cache clean
+ # yarn && yarn build
+ # cd ../
+ # rm -rf website
diff --git a/build.sh b/build.sh
index 3406f76ae45efa..8b5514e0beed21 100755
--- a/build.sh
+++ b/build.sh
@@ -472,12 +472,13 @@ fi
# Assesmble FE modules
FE_MODULES=''
+# TODO: docs are temporarily removed, so this var is always OFF
+# Fix it later
BUILD_DOCS='OFF'
modules=("")
if [[ "${BUILD_FE}" -eq 1 ]]; then
modules+=("fe-common")
modules+=("fe-core")
- BUILD_DOCS='ON'
fi
if [[ "${BUILD_SPARK_DPP}" -eq 1 ]]; then
modules+=("fe-common")
@@ -692,7 +693,7 @@ if [[ "${BUILD_FE}" -eq 1 ]]; then
rm -rf "${DORIS_OUTPUT}/fe/lib"/*
cp -r -p "${DORIS_HOME}/fe/fe-core/target/lib"/* "${DORIS_OUTPUT}/fe/lib"/
cp -r -p "${DORIS_HOME}/fe/fe-core/target/doris-fe.jar" "${DORIS_OUTPUT}/fe/lib"/
- cp -r -p "${DORIS_HOME}/docs/build/help-resource.zip" "${DORIS_OUTPUT}/fe/lib"/
+ #cp -r -p "${DORIS_HOME}/docs/build/help-resource.zip" "${DORIS_OUTPUT}/fe/lib"/
cp -r -p "${DORIS_HOME}/minidump" "${DORIS_OUTPUT}/fe"/
cp -r -p "${DORIS_HOME}/webroot/static" "${DORIS_OUTPUT}/fe/webroot"/
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/any-value.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/any-value.md
deleted file mode 100644
index 0f139905c8bf6c..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/any-value.md
+++ /dev/null
@@ -1,56 +0,0 @@
----
-{
- "title": "ANY_VALUE",
- "language": "en"
-}
----
-
-
-
-## ANY_VALUE
-
-
-
-ANY_VALUE
-
-
-
-
-### description
-#### Syntax
-
-`ANY_VALUE(expr)`
-
-If there is a non NULL value in expr, any non NULL value is returned; otherwise, NULL is returned.
-
-Alias function: `ANY(expr)`
-
-### example
-```
-mysql> select id, any_value(name) from cost2 group by id;
-+------+-------------------+
-| id | any_value(`name`) |
-+------+-------------------+
-| 3 | jack |
-| 2 | jack |
-+------+-------------------+
-```
-### keywords
-ANY_VALUE, ANY
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/approx-count-distinct.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/approx-count-distinct.md
deleted file mode 100644
index cad7c8110b8805..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/approx-count-distinct.md
+++ /dev/null
@@ -1,49 +0,0 @@
----
-{
- "title": "APPROX_COUNT_DISTINCT",
- "language": "en"
-}
----
-
-
-
-## APPROX_COUNT_DISTINCT
-### Description
-#### Syntax
-
-`APPROX_COUNT_DISTINCT (expr)`
-
-
-Returns an approximate aggregation function similar to the result of COUNT (DISTINCT col).
-
-It combines COUNT and DISTINCT faster and uses fixed-size memory, so less memory can be used for columns with high cardinality.
-
-### example
-```
-MySQL > select approx_count_distinct(query_id) from log_statis group by datetime;
-+-----------------+
-| approx_count_distinct(`query_id`) |
-+-----------------+
-| 17721 |
-+-----------------+
-```
-### keywords
-
-APPROX_COUNT_DISTINCT
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/array-agg.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/array-agg.md
deleted file mode 100644
index de61da28628eab..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/array-agg.md
+++ /dev/null
@@ -1,84 +0,0 @@
----
-{
- "title": "ARRAY_AGG",
- "language": "en"
-}
----
-
-
-
-## ARRAY_AGG
-
-### description
-
-#### Syntax
-
-`ARRAY_AGG(col)`
-
-Concatenation of values in a column (including the null value) into an array can be used for multiple rows to one row (row to column).
-
-### notice
-
-- The order of the elements in an array is not guaranteed.
-- Returns the array generated by the transformation. The element type in the array is the same as the col type.
-
-### example
-
-```sql
-mysql> select * from test_doris_array_agg;
-
-+------+------+
-
-| c1 | c2 |
-
-+------+------+
-
-| 1 | a |
-
-| 1 | b |
-
-| 2 | c |
-
-| 2 | NULL |
-
-| 3 | NULL |
-
-+------+------+
-
-mysql> select c1, array_agg(c2) from test_doris_array_agg group by c1;
-
-+------+-----------------+
-
-| c1 | array_agg(`c2`) |
-
-+------+-----------------+
-
-| 1 | ["a","b"] |
-
-| 2 | [NULL,"c"] |
-
-| 3 | [NULL] |
-
-+------+-----------------+
-```
-
-### keywords
-
-ARRAY_AGG
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/avg-weighted.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/avg-weighted.md
deleted file mode 100644
index b8805fc6c76ee4..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/avg-weighted.md
+++ /dev/null
@@ -1,51 +0,0 @@
----
-{
- "title": "AVG_WEIGHTED",
- "language": "en"
-}
----
-
-
-
-
-## AVG_WEIGHTED
-### Description
-#### Syntax
-
-` double avg_weighted(x, weight)`
-
-Calculate the weighted arithmetic mean, which is the sum of the products of all corresponding values and weights, divided the total weight sum.
-If the sum of all weights equals 0, NaN will be returned.
-
-### example
-
-```
-mysql> select avg_weighted(k2,k1) from baseall;
-+--------------------------+
-| avg_weighted(`k2`, `k1`) |
-+--------------------------+
-| 495.675 |
-+--------------------------+
-1 row in set (0.02 sec)
-
-```
-### keywords
-
-AVG_WEIGHTED
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/avg.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/avg.md
deleted file mode 100644
index 4fdf1f188525e3..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/avg.md
+++ /dev/null
@@ -1,59 +0,0 @@
----
-{
- "title": "AVG",
- "language": "en"
-}
----
-
-
-
-
-## AVG
-### Description
-#### Syntax
-
-`AVG([DISTINCT] expr)`
-
-
-Used to return the average value of the selected field
-
-Optional field DISTINCT parameters can be used to return the weighted average
-
-### example
-
-```
-mysql> SELECT datetime, AVG(cost_time) FROM log_statis group by datetime;
-+---------------------+--------------------+
-| datetime | avg(`cost_time`) |
-+---------------------+--------------------+
-| 2019-07-03 21:01:20 | 25.827794561933533 |
-+---------------------+--------------------+
-
-mysql> SELECT datetime, AVG(distinct cost_time) FROM log_statis group by datetime;
-+---------------------+---------------------------+
-| datetime | avg(DISTINCT `cost_time`) |
-+---------------------+---------------------------+
-| 2019-07-04 02:23:24 | 20.666666666666668 |
-+---------------------+---------------------------+
-
-```
-### keywords
-
-AVG
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/bitmap-agg.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/bitmap-agg.md
deleted file mode 100644
index 260c7b6b855d6e..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/bitmap-agg.md
+++ /dev/null
@@ -1,89 +0,0 @@
----
-{
- "title": "BITMAP_AGG",
- "language": "en"
-}
----
-
-
-
-## BITMAP_AGG
-### description
-#### Syntax
-
-`BITMAP_AGG(expr)`
-
-
-This aggregating function returns a bitmap that aggregates the values of expr, excluding any null values.
-The type of expr needs to be TINYINT, SMALLINT, INT, or BIGINT.
-
-### example
-```
-MySQL > select `n_nationkey`, `n_name`, `n_regionkey` from `nation`;
-+-------------+----------------+-------------+
-| n_nationkey | n_name | n_regionkey |
-+-------------+----------------+-------------+
-| 0 | ALGERIA | 0 |
-| 1 | ARGENTINA | 1 |
-| 2 | BRAZIL | 1 |
-| 3 | CANADA | 1 |
-| 4 | EGYPT | 4 |
-| 5 | ETHIOPIA | 0 |
-| 6 | FRANCE | 3 |
-| 7 | GERMANY | 3 |
-| 8 | INDIA | 2 |
-| 9 | INDONESIA | 2 |
-| 10 | IRAN | 4 |
-| 11 | IRAQ | 4 |
-| 12 | JAPAN | 2 |
-| 13 | JORDAN | 4 |
-| 14 | KENYA | 0 |
-| 15 | MOROCCO | 0 |
-| 16 | MOZAMBIQUE | 0 |
-| 17 | PERU | 1 |
-| 18 | CHINA | 2 |
-| 19 | ROMANIA | 3 |
-| 20 | SAUDI ARABIA | 4 |
-| 21 | VIETNAM | 2 |
-| 22 | RUSSIA | 3 |
-| 23 | UNITED KINGDOM | 3 |
-| 24 | UNITED STATES | 1 |
-+-------------+----------------+-------------+
-
-MySQL > select n_regionkey, bitmap_to_string(bitmap_agg(n_nationkey)) from nation group by n_regionkey;
-+-------------+---------------------------------------------+
-| n_regionkey | bitmap_to_string(bitmap_agg(`n_nationkey`)) |
-+-------------+---------------------------------------------+
-| 4 | 4,10,11,13,20 |
-| 2 | 8,9,12,18,21 |
-| 1 | 1,2,3,17,24 |
-| 0 | 0,5,14,15,16 |
-| 3 | 6,7,19,22,23 |
-+-------------+---------------------------------------------+
-
-MySQL > select bitmap_count(bitmap_agg(n_nationkey)) from nation;
-+-----------------------------------------+
-| bitmap_count(bitmap_agg(`n_nationkey`)) |
-+-----------------------------------------+
-| 25 |
-+-----------------------------------------+
-```
-### keywords
-BITMAP_AGG
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/bitmap-union.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/bitmap-union.md
deleted file mode 100644
index 8afe22c5be5039..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/bitmap-union.md
+++ /dev/null
@@ -1,149 +0,0 @@
----
-{
- "title": "BITMAP_UNION",
- "language": "en"
-}
----
-
-
-
-
-## BITMAP_UNION
-
-### description
-
-### example
-
-#### Create table
-
-The aggregation model needs to be used when creating the table. The data type is bitmap and the aggregation function is bitmap_union.
-```
-CREATE TABLE `pv_bitmap` (
- `dt` int (11) NULL COMMENT" ",
- `page` varchar (10) NULL COMMENT" ",
- `user_id` bitmap BITMAP_UNION NULL COMMENT" "
-) ENGINE = OLAP
-AGGREGATE KEY (`dt`,` page`)
-COMMENT "OLAP"
-DISTRIBUTED BY HASH (`dt`) BUCKETS 2;
-```
-
-Note: When the amount of data is large, it is best to create a corresponding rollup table for high-frequency bitmap_union queries
-
-```
-ALTER TABLE pv_bitmap ADD ROLLUP pv (page, user_id);
-```
-
-#### Data Load
-
-`TO_BITMAP (expr)`: Convert 0 ~ 18446744073709551615 unsigned bigint to bitmap
-
-`BITMAP_EMPTY ()`: Generate empty bitmap columns, used for insert or import to fill the default value
-
-`BITMAP_HASH (expr)` or `BITMAP_HASH64 (expr)`: Convert any type of column to a bitmap by hashing
-
-##### Stream Load
-
-```
-cat data | curl --location-trusted -u user: passwd -T--H "columns: dt, page, user_id, user_id = to_bitmap (user_id)" http: // host: 8410 / api / test / testDb / _stream_load
-```
-
-```
-cat data | curl --location-trusted -u user: passwd -T--H "columns: dt, page, user_id, user_id = bitmap_hash (user_id)" http: // host: 8410 / api / test / testDb / _stream_load
-```
-
-```
-cat data | curl --location-trusted -u user: passwd -T--H "columns: dt, page, user_id, user_id = bitmap_empty ()" http: // host: 8410 / api / test / testDb / _stream_load
-```
-
-##### Insert Into
-
-id2's column type is bitmap
-```
-insert into bitmap_table1 select id, id2 from bitmap_table2;
-```
-
-id2's column type is bitmap
-```
-INSERT INTO bitmap_table1 (id, id2) VALUES (1001, to_bitmap (1000)), (1001, to_bitmap (2000));
-```
-
-id2's column type is bitmap
-```
-insert into bitmap_table1 select id, bitmap_union (id2) from bitmap_table2 group by id;
-```
-
-id2's column type is int
-```
-insert into bitmap_table1 select id, to_bitmap (id2) from table;
-```
-
-id2's column type is String
-```
-insert into bitmap_table1 select id, bitmap_hash (id_string) from table;
-```
-
-
-#### Data Query
-
-##### Syntax
-
-
-`BITMAP_UNION (expr)`: Calculate the union of two Bitmaps. The return value is the new Bitmap value.
-
-`BITMAP_UNION_COUNT (expr)`: Calculate the cardinality of the union of two Bitmaps, equivalent to BITMAP_COUNT (BITMAP_UNION (expr)). It is recommended to use the BITMAP_UNION_COUNT function first, its performance is better than BITMAP_COUNT (BITMAP_UNION (expr)).
-
-`BITMAP_UNION_INT (expr)`: Count the number of different values in columns of type TINYINT, SMALLINT and INT, return the sum of COUNT (DISTINCT expr) same
-
-`INTERSECT_COUNT (bitmap_column_to_count, filter_column, filter_values ...)`: The calculation satisfies
-filter_column The cardinality of the intersection of multiple bitmaps of the filter.
-bitmap_column_to_count is a column of type bitmap, filter_column is a column of varying dimensions, and filter_values is a list of dimension values.
-
-##### Example
-
-The following SQL uses the pv_bitmap table above as an example:
-
-Calculate the deduplication value for user_id:
-
-```
-select bitmap_union_count (user_id) from pv_bitmap;
-
-select bitmap_count (bitmap_union (user_id)) from pv_bitmap;
-```
-
-Calculate the deduplication value of id:
-
-```
-select bitmap_union_int (id) from pv_bitmap;
-```
-
-Calculate the retention of user_id:
-
-```
-select intersect_count (user_id, page, 'meituan') as meituan_uv,
-intersect_count (user_id, page, 'waimai') as waimai_uv,
-intersect_count (user_id, page, 'meituan', 'waimai') as retention // Number of users appearing on both 'meituan' and 'waimai' pages
-from pv_bitmap
-where page in ('meituan', 'waimai');
-```
-
-### keywords
-
-BITMAP, BITMAP_COUNT, BITMAP_EMPTY, BITMAP_UNION, BITMAP_UNION_INT, TO_BITMAP, BITMAP_UNION_COUNT, INTERSECT_COUNT
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/collect-list.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/collect-list.md
deleted file mode 100644
index 3327be8d7db35a..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/collect-list.md
+++ /dev/null
@@ -1,79 +0,0 @@
----
-{
- "title": "COLLECT_LIST",
- "language": "en"
-}
----
-
-
-
-## COLLECT_LIST
-### description
-#### Syntax
-
-`ARRAY collect_list(expr)`
-
-Returns an array consisting of all values in expr within the group, and ,with the optional `max_size` parameter limits the size of the resulting array to `max_size` elements.The order of elements in the array is non-deterministic. NULL values are excluded.
-It has an alias `group_array`.
-### notice
-
-```
-Only supported in vectorized engine
-```
-
-### example
-
-```
-mysql> set enable_vectorized_engine=true;
-
-mysql> select k1,k2,k3 from collect_list_test order by k1;
-+------+------------+-------+
-| k1 | k2 | k3 |
-+------+------------+-------+
-| 1 | 2023-01-01 | hello |
-| 2 | 2023-01-02 | NULL |
-| 2 | 2023-01-02 | hello |
-| 3 | NULL | world |
-| 3 | 2023-01-02 | hello |
-| 4 | 2023-01-02 | sql |
-| 4 | 2023-01-03 | sql |
-+------+------------+-------+
-
-mysql> select collect_list(k1),collect_list(k1,3) from collect_list_test;
-+-------------------------+--------------------------+
-| collect_list(`k1`) | collect_list(`k1`,3) |
-+-------------------------+--------------------------+
-| [1,2,2,3,3,4,4] | [1,2,2] |
-+-------------------------+--------------------------+
-
-mysql> select k1,collect_list(k2),collect_list(k3,1) from collect_list_test group by k1 order by k1;
-+------+-------------------------+--------------------------+
-| k1 | collect_list(`k2`) | collect_list(`k3`,1) |
-+------+-------------------------+--------------------------+
-| 1 | [2023-01-01] | [hello] |
-| 2 | [2023-01-02,2023-01-02] | [hello] |
-| 3 | [2023-01-02] | [world] |
-| 4 | [2023-01-02,2023-01-03] | [sql] |
-+------+-------------------------+--------------------------+
-
-```
-
-### keywords
-COLLECT_LIST,GROUP_ARRAY,COLLECT_SET,ARRAY
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/collect-set.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/collect-set.md
deleted file mode 100644
index 42987df4e321e9..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/collect-set.md
+++ /dev/null
@@ -1,86 +0,0 @@
----
-{
- "title": "COLLECT_SET",
- "language": "en"
-}
----
-
-
-
-## COLLECT_SET
-
-
-
-COLLECT_SET
-
-
-
-### description
-#### Syntax
-
-`ARRAY collect_set(expr[,max_size])`
-
-Creates an array containing distinct elements from `expr`,with the optional `max_size` parameter limits the size of the resulting array to `max_size` elements. It has an alias `group_uniq_array`.
-
-### notice
-
-```
-Only supported in vectorized engine
-```
-
-### example
-
-```
-mysql> set enable_vectorized_engine=true;
-
-mysql> select k1,k2,k3 from collect_set_test order by k1;
-+------+------------+-------+
-| k1 | k2 | k3 |
-+------+------------+-------+
-| 1 | 2023-01-01 | hello |
-| 2 | 2023-01-01 | NULL |
-| 2 | 2023-01-02 | hello |
-| 3 | NULL | world |
-| 3 | 2023-01-02 | hello |
-| 4 | 2023-01-02 | doris |
-| 4 | 2023-01-03 | sql |
-+------+------------+-------+
-
-mysql> select collect_set(k1),collect_set(k1,2) from collect_set_test;
-+-------------------------+--------------------------+
-| collect_set(`k1`) | collect_set(`k1`,2) |
-+-------------------------+--------------------------+
-| [4,3,2,1] | [1,2] |
-+----------------------------------------------------+
-
-mysql> select k1,collect_set(k2),collect_set(k3,1) from collect_set_test group by k1 order by k1;
-+------+-------------------------+--------------------------+
-| k1 | collect_set(`k2`) | collect_set(`k3`,1) |
-+------+-------------------------+--------------------------+
-| 1 | [2023-01-01] | [hello] |
-| 2 | [2023-01-01,2023-01-02] | [hello] |
-| 3 | [2023-01-02] | [world] |
-| 4 | [2023-01-02,2023-01-03] | [sql] |
-+------+-------------------------+--------------------------+
-
-```
-
-### keywords
-COLLECT_SET,GROUP_UNIQ_ARRAY,COLLECT_LIST,ARRAY
\ No newline at end of file
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/corr.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/corr.md
deleted file mode 100644
index 862dbad02b17db..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/corr.md
+++ /dev/null
@@ -1,49 +0,0 @@
----
-{
- "title": "CORR",
- "language": "en"
-}
----
-
-
-
-## CORR
-### Description
-#### Syntax
-
-` double corr(x, y)`
-
-Calculate the Pearson correlation coefficient, which is returned as the covariance of x and y divided by the product of the standard deviations of x and y.
-If the standard deviation of x or y is 0, the result will be 0.
-
-### example
-
-```
-mysql> select corr(x,y) from baseall;
-+---------------------+
-| corr(x, y) |
-+---------------------+
-| 0.89442719099991586 |
-+---------------------+
-1 row in set (0.21 sec)
-
-```
-### keywords
-CORR
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/count-by-enum.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/count-by-enum.md
deleted file mode 100644
index 379661d0cf14e8..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/count-by-enum.md
+++ /dev/null
@@ -1,152 +0,0 @@
----
-{
- "title": "COUNT_BY_ENUM",
- "language": "en"
-}
----
-
-
-
-## COUNT_BY_ENUM
-
-
-
-COUNT_BY_ENUM
-
-
-
-### Description
-#### Syntax
-
-`count_by_enum(expr1, expr2, ... , exprN);`
-
-Treats the data in a column as an enumeration and counts the number of values in each enumeration. Returns the number of enumerated values for each column, and the number of non-null values versus the number of null values.
-
-#### Arguments
-
-`expr1` — At least one input must be specified. The value is a column of type `STRING`.
-
-##### Returned value
-
-Returns a JSONArray string.
-
-For example:
-```json
-[{
- "cbe": {
- "F": 100,
- "M": 99
- },
- "notnull": 199,
- "null": 1,
- "all": 200
-}, {
- "cbe": {
- "20": 10,
- "30": 5,
- "35": 1
- },
- "notnull": 16,
- "null": 184,
- "all": 200
-}, {
- "cbe": {
- "China": 10,
- "United States": 9,
- "England": 20,
- "Germany": 30
- },
- "notnull": 69,
- "null": 131,
- "all": 200
-}]
-```
-Description: The return value is a JSON array string and the order of the internal objects is the order of the input parameters.
-* cbe: count of non-null values based on enumeration values
-* notnull: number of non-null values.
-* null: number of null values
-* all: total number, including both null and non-null values.
-
-
-### example
-
-```sql
-DROP TABLE IF EXISTS count_by_enum_test;
-
-CREATE TABLE count_by_enum_test(
- `id` varchar(1024) NULL,
- `f1` text REPLACE_IF_NOT_NULL NULL,
- `f2` text REPLACE_IF_NOT_NULL NULL,
- `f3` text REPLACE_IF_NOT_NULL NULL
-)
-AGGREGATE KEY(`id`)
-DISTRIBUTED BY HASH(id) BUCKETS 3
-PROPERTIES (
- "replication_num" = "1"
-);
-
-INSERT into count_by_enum_test (id, f1, f2, f3) values
- (1, "F", "10", "China"),
- (2, "F", "20", "China"),
- (3, "M", NULL, "United States"),
- (4, "M", NULL, "United States"),
- (5, "M", NULL, "England");
-
-SELECT * from count_by_enum_test;
-
-+------+------+------+---------------+
-| id | f1 | f2 | f3 |
-+------+------+------+---------------+
-| 1 | F | 10 | China |
-| 2 | F | 20 | China |
-| 3 | M | NULL | United States |
-| 4 | M | NULL | United States |
-| 5 | M | NULL | England |
-+------+------+------+---------------+
-
-select count_by_enum(f1) from count_by_enum_test;
-
-+------------------------------------------------------+
-| count_by_enum(`f1`) |
-+------------------------------------------------------+
-| [{"cbe":{"M":3,"F":2},"notnull":5,"null":0,"all":5}] |
-+------------------------------------------------------+
-
-select count_by_enum(f2) from count_by_enum_test;
-
-+--------------------------------------------------------+
-| count_by_enum(`f2`) |
-+--------------------------------------------------------+
-| [{"cbe":{"10":1,"20":1},"notnull":2,"null":3,"all":5}] |
-+--------------------------------------------------------+
-
-select count_by_enum(f1,f2,f3) from count_by_enum_test;
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| count_by_enum(`f1`, `f2`, `f3`) |
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| [{"cbe":{"M":3,"F":2},"notnull":5,"null":0,"all":5},{"cbe":{"20":1,"10":1},"notnull":2,"null":3,"all":5},{"cbe":{"England":1,"United States":2,"China":2},"notnull":5,"null":0,"all":5}] |
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-```
-
-### keywords
-
-COUNT_BY_ENUM
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/count.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/count.md
deleted file mode 100644
index 70c2be3f69db4d..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/count.md
+++ /dev/null
@@ -1,61 +0,0 @@
----
-{
- "title": "COUNT",
- "language": "en"
-}
----
-
-
-
-## COUNT
-### Description
-#### Syntax
-
-`COUNT([DISTINCT] expr)`
-
-
-Number of rows used to return the required rows
-
-### example
-
-```
-MySQL > select count(*) from log_statis group by datetime;
-+----------+
-| count(*) |
-+----------+
-| 28515903 |
-+----------+
-
-MySQL > select count(datetime) from log_statis group by datetime;
-+-------------------+
-| count(`datetime`) |
-+-------------------+
-| 28521682 |
-+-------------------+
-
-MySQL > select count(distinct datetime) from log_statis group by datetime;
-+-------------------------------+
-| count(DISTINCT `datetime`) |
-+-------------------------------+
-| 71045 |
-+-------------------------------+
-```
-### keywords
-COUNT
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/covar-samp.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/covar-samp.md
deleted file mode 100644
index 0ce85588077cba..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/covar-samp.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-{
- "title": "COVAR_SAMP",
- "language": "en"
-}
----
-
-
-
-## COVAR_SAMP
-### Description
-#### Syntax
-
-` double covar_samp(x, y)`
-
-Calculate the sample covariance between x and y.
-
-### example
-
-```
-mysql> select covar_samp(x,y) from baseall;
-+---------------------+
-| covar_samp(x, y) |
-+---------------------+
-| 0.89442719099991586 |
-+---------------------+
-1 row in set (0.21 sec)
-
-```
-### keywords
-COVAR_SAMP
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/covar.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/covar.md
deleted file mode 100644
index dfc5ca4f0f2c3c..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/covar.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-{
- "title": "COVAR,COVAR_POP",
- "language": "en"
-}
----
-
-
-
-## COVAR,COVAR_POP
-### Description
-#### Syntax
-
-` double covar(x, y)`
-
-Calculate the covariance between x and y.
-
-### example
-
-```
-mysql> select covar(x,y) from baseall;
-+---------------------+
-| covar(x, y) |
-+---------------------+
-| 0.89442719099991586 |
-+---------------------+
-1 row in set (0.21 sec)
-
-```
-### keywords
-COVAR, COVAR_POP
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/group-bit-and.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/group-bit-and.md
deleted file mode 100644
index e9dda3b46c7113..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/group-bit-and.md
+++ /dev/null
@@ -1,60 +0,0 @@
----
-{
- "title": "GROUP_BIT_AND",
- "language": "en"
-}
----
-
-
-
-## group_bit_and
-### description
-#### Syntax
-
-`expr GROUP_BIT_AND(expr)`
-
-Perform an and calculation on expr, and return a new expr.
-All ints are supported
-
-### example
-
-```
-mysql> select * from group_bit;
-+-------+
-| value |
-+-------+
-| 3 |
-| 1 |
-| 2 |
-| 4 |
-+-------+
-4 rows in set (0.02 sec)
-
-mysql> select group_bit_and(value) from group_bit;
-+------------------------+
-| group_bit_and(`value`) |
-+------------------------+
-| 0 |
-+------------------------+
-```
-
-### keywords
-
- GROUP_BIT_AND,BIT
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/group-bit-or.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/group-bit-or.md
deleted file mode 100644
index 1ad5c96b53a1ff..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/group-bit-or.md
+++ /dev/null
@@ -1,60 +0,0 @@
----
-{
- "title": "GROUP_BIT_OR",
- "language": "en"
-}
----
-
-
-
-## group_bit_or
-### description
-#### Syntax
-
-`expr GROUP_BIT_OR(expr)`
-
-Perform an or calculation on expr, and return a new expr.
-All ints are supported
-
-### example
-
-```
-mysql> select * from group_bit;
-+-------+
-| value |
-+-------+
-| 3 |
-| 1 |
-| 2 |
-| 4 |
-+-------+
-4 rows in set (0.02 sec)
-
-mysql> select group_bit_or(value) from group_bit;
-+-----------------------+
-| group_bit_or(`value`) |
-+-----------------------+
-| 7 |
-+-----------------------+
-```
-
-### keywords
-
- GROUP_BIT_OR,BIT
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/group-bit-xor.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/group-bit-xor.md
deleted file mode 100644
index 719c6a9e078ef6..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/group-bit-xor.md
+++ /dev/null
@@ -1,60 +0,0 @@
----
-{
- "title": "GROUP_BIT_XOR",
- "language": "en"
-}
----
-
-
-
-## GROUP_BIT_XOR
-### description
-#### Syntax
-
-`expr GROUP_BIT_XOR(expr)`
-
-Perform an xor calculation on expr, and return a new expr.
-All ints are supported
-
-### example
-
-```
-mysql> select * from group_bit;
-+-------+
-| value |
-+-------+
-| 3 |
-| 1 |
-| 2 |
-| 4 |
-+-------+
-4 rows in set (0.02 sec)
-
-mysql> select group_bit_xor(value) from group_bit;
-+------------------------+
-| group_bit_xor(`value`) |
-+------------------------+
-| 4 |
-+------------------------+
-```
-
-### keywords
-
- GROUP_BIT_XOR,BIT
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/group-bitmap-xor.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/group-bitmap-xor.md
deleted file mode 100644
index b4eed3a00b9649..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/group-bitmap-xor.md
+++ /dev/null
@@ -1,57 +0,0 @@
----
-{
- "title": "GROUP_BITMAP_XOR",
- "language": "en"
-}
----
-
-
-
-## GROUP_BITMAP_XOR
-### description
-#### Syntax
-
-`BITMAP GROUP_BITMAP_XOR(expr)`
-
-Perform an xor calculation on expr, and return a new bitmap.
-
-### example
-
-```
-mysql> select page, bitmap_to_string(user_id) from pv_bitmap;
-+------+-----------------------------+
-| page | bitmap_to_string(`user_id`) |
-+------+-----------------------------+
-| m | 4,7,8 |
-| m | 1,3,6,15 |
-| m | 4,7 |
-+------+-----------------------------+
-
-mysql> select page, bitmap_to_string(group_bitmap_xor(user_id)) from pv_bitmap group by page;
-+------+-----------------------------------------------+
-| page | bitmap_to_string(group_bitmap_xor(`user_id`)) |
-+------+-----------------------------------------------+
-| m | 1,3,6,8,15 |
-+------+-----------------------------------------------+
-```
-
-### keywords
-
- GROUP_BITMAP_XOR,BITMAP
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/group-concat.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/group-concat.md
deleted file mode 100644
index 85b825c985f596..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/group-concat.md
+++ /dev/null
@@ -1,82 +0,0 @@
----
-{
- "title": "GROUP_CONCAT",
- "language": "en"
-}
----
-
-
-
-## GROUP_CONCAT
-### description
-#### Syntax
-
-`VARCHAR GROUP_CONCAT([DISTINCT] VARCHAR str[, VARCHAR sep] [ORDER BY { col_name | expr} [ASC | DESC]])`
-
-
-This function is an aggregation function similar to sum (), and group_concat links multiple rows of results in the result set to a string. The second parameter, sep, is a connection symbol between strings, which can be omitted. This function usually needs to be used with group by statements.
-
-
-Support Order By for sorting multi-row results, sorting and aggregation columns can be different.
-
-### example
-
-```
-mysql> select value from test;
-+-------+
-| value |
-+-------+
-| a |
-| b |
-| c |
-| c |
-+-------+
-
-mysql> select GROUP_CONCAT(value) from test;
-+-----------------------+
-| GROUP_CONCAT(`value`) |
-+-----------------------+
-| a, b, c, c |
-+-----------------------+
-
-mysql> select GROUP_CONCAT(value, " ") from test;
-+----------------------------+
-| GROUP_CONCAT(`value`, ' ') |
-+----------------------------+
-| a b c c |
-+----------------------------+
-
-mysql> select GROUP_CONCAT(DISTINCT value) from test;
-+-----------------------+
-| GROUP_CONCAT(`value`) |
-+-----------------------+
-| a, b, c |
-+-----------------------+
-
-mysql> select GROUP_CONCAT(value, NULL) from test;
-+----------------------------+
-| GROUP_CONCAT(`value`, NULL)|
-+----------------------------+
-| NULL |
-+----------------------------+
-```
-
-### keywords
-GROUP_CONCAT,GROUP,CONCAT
diff --git a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/grouping-id.md b/docs/en/docs/sql-manual/sql-functions/aggregate-functions/grouping-id.md
deleted file mode 100755
index f32b7dc4be5d34..00000000000000
--- a/docs/en/docs/sql-manual/sql-functions/aggregate-functions/grouping-id.md
+++ /dev/null
@@ -1,240 +0,0 @@
----
-{
- "title": "GROUPING_ID",
- "language": "en"
-}
----
-
-
-
-## GROUPING_ID
-
-### Name
-
-GROUPING_ID
-
-### Description
-
-Is a function that computes the level of grouping. `GROUPING_ID` can be used only in the `SELECT