Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
  • Loading branch information
huaxingao committed May 5, 2020
commit f7bf42826e5c6f1fa179b0569badf0474c8a532a
2 changes: 1 addition & 1 deletion docs/sql-ref-syntax-aux-analyze-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ ANALYZE TABLE table_identifier [ partition_spec ]

* **[ NOSCAN `|` FOR COLUMNS col [ , ... ] `|` FOR ALL COLUMNS ]**

* If no analyze option is specified, `ANALYZE TABLE` collects the table's number of rows and size in bytes. </li>
* If no analyze option is specified, `ANALYZE TABLE` collects the table's number of rows and size in bytes.
* **NOSCAN**

Collects only the table's size in bytes ( which does not require scanning the entire table ).
Expand Down
2 changes: 1 addition & 1 deletion docs/sql-ref-syntax-aux-show-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ SHOW [ function_kind ] FUNCTIONS [ [ LIKE ] { function_name | regex_pattern } ]
a database then the function is resolved from the user specified database, otherwise
it is resolved from the current database.

**Syntax:** `[database_name.]function_name`
**Syntax:** `[ database_name. ] function_name`

* **regex_pattern**

Expand Down
4 changes: 2 additions & 2 deletions docs/sql-ref-syntax-aux-show.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ license: |
---

* [SHOW COLUMNS](sql-ref-syntax-aux-show-columns.html)
* [SHOW CREATE TABLE](sql-ref-syntax-aux-show-create-table.html)
* [SHOW DATABASES](sql-ref-syntax-aux-show-databases.html)
* [SHOW FUNCTIONS](sql-ref-syntax-aux-show-functions.html)
* [SHOW PARTITIONS](sql-ref-syntax-aux-show-partitions.html)
* [SHOW TABLE EXTENDED](sql-ref-syntax-aux-show-table.html)
* [SHOW TABLES](sql-ref-syntax-aux-show-tables.html)
* [SHOW TBLPROPERTIES](sql-ref-syntax-aux-show-tblproperties.html)
* [SHOW PARTITIONS](sql-ref-syntax-aux-show-partitions.html)
* [SHOW CREATE TABLE](sql-ref-syntax-aux-show-create-table.html)
* [SHOW VIEWS](sql-ref-syntax-aux-show-views.html)
4 changes: 0 additions & 4 deletions docs/sql-ref-syntax-ddl-alter-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ ALTER TABLE table_identifier ADD COLUMNS ( col_spec [ , ... ] )

Specifies the columns to be added.

**Syntax:** `PARTITION ( partition_col_name = partition_col_val [ , ... ] )`

### ALTER OR CHANGE COLUMN

`ALTER TABLE ALTER COLUMN` or `ALTER TABLE CHANGE COLUMN` statement changes column's comment.
Expand All @@ -95,8 +93,6 @@ ALTER TABLE table_identifier { ALTER | CHANGE } [ COLUMN ] col_spec alterColumnA

Specifies the columns to be added.

**Syntax:** `PARTITION ( partition_col_name = partition_col_val [ , ... ] )`

* **alterColumnAction**

Change the comment string.
Expand Down
6 changes: 4 additions & 2 deletions docs/sql-ref-syntax-ddl-create-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ CREATE [ OR REPLACE ] [ TEMPORARY ] FUNCTION [ IF NOT EXISTS ]

* **IF NOT EXISTS**

Specifies a name of function to be created. The function name may be
optionally qualified with a database name.
If specified, creates the function only when it does not exist. The creation
of function succeeds (no error is thrown) if the specified function already
exists in the system. This parameter is mutually exclusive to `OR REPLACE`
and can not be specified together.

* **function_name**

Expand Down
2 changes: 1 addition & 1 deletion docs/sql-ref-syntax-ddl-create-table-datasource.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ as any order. For example, you can write COMMENT table_comment after TBLPROPERTI

**NOTE:** Bucketing is an optimization technique that uses buckets (and bucketing columns) to determine data partitioning and avoid data shuffle.

* **SORTED BY**
**SORTED BY**

Determines the order in which the data is stored in buckets. Default is Ascending order.

Expand Down