This is an automated email from the ASF dual-hosted git repository.
snuyanzin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new d6addb7062b [hotfix][docs] Fix typos in Hive dialect docs
d6addb7062b is described below
commit d6addb7062b0274869b73b7550c4ab05b5d13830
Author: Arvind Kandpal <[email protected]>
AuthorDate: Thu Nov 5 15:07:27 2026 +0530
[hotfix][docs] Fix typos in Hive dialect docs
Fix misspellings in the SQL comments of the Hive dialect pages
(create, alter, insert, set, show) for both English and Chinese docs.
Also fix "ROW FROMAT" to "ROW FORMAT" in the CREATE TABLE example,
which made the example statement invalid.
Generated-by: Claude Code (Claude Opus 5.5)
---
.../docs/sql/hive-compatibility/hive-dialect/alter.md | 4 ++--
.../docs/sql/hive-compatibility/hive-dialect/create.md | 10 +++++-----
.../docs/sql/hive-compatibility/hive-dialect/insert.md | 2 +-
.../content.zh/docs/sql/hive-compatibility/hive-dialect/set.md | 2 +-
.../docs/sql/hive-compatibility/hive-dialect/show.md | 4 ++--
docs/content/docs/sql/hive-compatibility/hive-dialect/alter.md | 4 ++--
.../content/docs/sql/hive-compatibility/hive-dialect/create.md | 10 +++++-----
.../content/docs/sql/hive-compatibility/hive-dialect/insert.md | 2 +-
docs/content/docs/sql/hive-compatibility/hive-dialect/set.md | 2 +-
docs/content/docs/sql/hive-compatibility/hive-dialect/show.md | 4 ++--
10 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/alter.md
b/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/alter.md
index c8734ba9bfb..5c32af26d50 100644
--- a/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/alter.md
+++ b/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/alter.md
@@ -40,7 +40,7 @@ With Hive dialect, the following ALTER statements are
supported for now:
-- alter database's properties
ALTER (DATABASE|SCHEMA) database_name SET DBPROPERTIES
(property_name=property_value, ...);
--- alter database's localtion
+-- alter database's location
ALTER (DATABASE|SCHEMA) database_name SET LOCATION hdfs_path;
```
@@ -222,7 +222,7 @@ ALTER TABLE table_name [PARTITION partition_spec] SET
FILEFORMAT file_format;
##### Examples
```sql
--- alter file localtion
+-- alter file location
ALTER TABLE t1 PARTITION (dt='2022-08-08', country='china') SET LOCATION
"/user/warehouse/t2/dt=2022-08-08/country=china";
-- alter file format
diff --git a/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/create.md
b/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/create.md
index ef930f6687b..f5a8411ed3b 100644
--- a/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/create.md
+++ b/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/create.md
@@ -132,18 +132,18 @@ table_constraint:
### Examples
```sql
--- creaet non-partition table
+-- create non-partition table
CREATE TABLE t1(key string, value string);
--- creaet partitioned table
+-- create partitioned table
CREATE TABLE pt1(key string, value string) PARTITIONED BY (year int, month
int);
--- creaet table with specifc format
+-- create table with specific format
CREATE TABLE t1(key string, value string) STORED AS ORC;
--- create table with specifc rowfromat
+-- create table with specific row format
CREATE TABLE t1(m MAP<BIGINT, STRING>)
- ROW FROMAT DELIMITED COLLECTION ITEMS TERMINATED BY ';'
+ ROW FORMAT DELIMITED COLLECTION ITEMS TERMINATED BY ';'
MAP KEYS TERMINATED BY ':';
-- create table as select
diff --git a/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/insert.md
b/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/insert.md
index 580d1375bd3..47b6d9147a5 100644
--- a/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/insert.md
+++ b/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/insert.md
@@ -32,7 +32,7 @@ can be specified by value expressions or result from query.
### Syntax
```sql
--- Stardard syntax
+-- Standard syntax
INSERT { OVERWRITE TABLE | INTO [TABLE] } tablename
[PARTITION (partcol1[=val1], partcol2[=val2] ...) [IF NOT EXISTS]]
{ VALUES ( value [, ..] ) [, ( ... ) ] | select_statement FROM
from_statement }
diff --git a/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/set.md
b/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/set.md
index b3c8a296731..6619fffaca2 100644
--- a/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/set.md
+++ b/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/set.md
@@ -40,7 +40,7 @@ SET hiveconf:k1=v1;
-- set system property
SET system:k2=v2;
--- set vairable for current session
+-- set variable for current session
SET hivevar:k3=v3;
-- get value for configuration
diff --git a/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/show.md
b/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/show.md
index 524ebaf5050..a3849a5de22 100644
--- a/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/show.md
+++ b/docs/content.zh/docs/sql/hive-compatibility/hive-dialect/show.md
@@ -96,10 +96,10 @@ partition_spec:
-- list all partitions
SHOW PARTITIONS t1;
--- specific a full partition partition spec to list specific partition
+-- specify a full partition spec to list a specific partition
SHOW PARTITIONS t1 PARTITION (year = 2022, month = 12);
--- specific a partial partition spec to list all the specifc partitions
+-- specify a partial partition spec to list all the matching partitions
SHOW PARTITIONS t1 PARTITION (year = 2022);
```
diff --git a/docs/content/docs/sql/hive-compatibility/hive-dialect/alter.md
b/docs/content/docs/sql/hive-compatibility/hive-dialect/alter.md
index c8734ba9bfb..5c32af26d50 100644
--- a/docs/content/docs/sql/hive-compatibility/hive-dialect/alter.md
+++ b/docs/content/docs/sql/hive-compatibility/hive-dialect/alter.md
@@ -40,7 +40,7 @@ With Hive dialect, the following ALTER statements are
supported for now:
-- alter database's properties
ALTER (DATABASE|SCHEMA) database_name SET DBPROPERTIES
(property_name=property_value, ...);
--- alter database's localtion
+-- alter database's location
ALTER (DATABASE|SCHEMA) database_name SET LOCATION hdfs_path;
```
@@ -222,7 +222,7 @@ ALTER TABLE table_name [PARTITION partition_spec] SET
FILEFORMAT file_format;
##### Examples
```sql
--- alter file localtion
+-- alter file location
ALTER TABLE t1 PARTITION (dt='2022-08-08', country='china') SET LOCATION
"/user/warehouse/t2/dt=2022-08-08/country=china";
-- alter file format
diff --git a/docs/content/docs/sql/hive-compatibility/hive-dialect/create.md
b/docs/content/docs/sql/hive-compatibility/hive-dialect/create.md
index a2bc7a7a4d3..61caa78ab04 100644
--- a/docs/content/docs/sql/hive-compatibility/hive-dialect/create.md
+++ b/docs/content/docs/sql/hive-compatibility/hive-dialect/create.md
@@ -132,18 +132,18 @@ table_constraint:
### Examples
```sql
--- creaet non-partition table
+-- create non-partition table
CREATE TABLE t1(key string, value string);
--- creaet partitioned table
+-- create partitioned table
CREATE TABLE pt1(key string, value string) PARTITIONED BY (year int, month
int);
--- creaet table with specifc format
+-- create table with specific format
CREATE TABLE t1(key string, value string) STORED AS ORC;
--- create table with specifc rowfromat
+-- create table with specific row format
CREATE TABLE t1(m MAP<BIGINT, STRING>)
- ROW FROMAT DELIMITED COLLECTION ITEMS TERMINATED BY ';'
+ ROW FORMAT DELIMITED COLLECTION ITEMS TERMINATED BY ';'
MAP KEYS TERMINATED BY ':';
-- create table as select
diff --git a/docs/content/docs/sql/hive-compatibility/hive-dialect/insert.md
b/docs/content/docs/sql/hive-compatibility/hive-dialect/insert.md
index 80ff4cfd2bb..3c3fff2c44a 100644
--- a/docs/content/docs/sql/hive-compatibility/hive-dialect/insert.md
+++ b/docs/content/docs/sql/hive-compatibility/hive-dialect/insert.md
@@ -32,7 +32,7 @@ can be specified by value expressions or result from query.
### Syntax
```sql
--- Stardard syntax
+-- Standard syntax
INSERT { OVERWRITE TABLE | INTO [TABLE] } tablename
[PARTITION (partcol1[=val1], partcol2[=val2] ...) [IF NOT EXISTS]]
{ VALUES ( value [, ..] ) [, ( ... ) ] | select_statement FROM
from_statement }
diff --git a/docs/content/docs/sql/hive-compatibility/hive-dialect/set.md
b/docs/content/docs/sql/hive-compatibility/hive-dialect/set.md
index 7c4d8254cd8..6cce52d7ceb 100644
--- a/docs/content/docs/sql/hive-compatibility/hive-dialect/set.md
+++ b/docs/content/docs/sql/hive-compatibility/hive-dialect/set.md
@@ -40,7 +40,7 @@ SET hiveconf:k1=v1;
-- set system property
SET system:k2=v2;
--- set vairable for current session
+-- set variable for current session
SET hivevar:k3=v3;
-- get value for configuration
diff --git a/docs/content/docs/sql/hive-compatibility/hive-dialect/show.md
b/docs/content/docs/sql/hive-compatibility/hive-dialect/show.md
index 524ebaf5050..a3849a5de22 100644
--- a/docs/content/docs/sql/hive-compatibility/hive-dialect/show.md
+++ b/docs/content/docs/sql/hive-compatibility/hive-dialect/show.md
@@ -96,10 +96,10 @@ partition_spec:
-- list all partitions
SHOW PARTITIONS t1;
--- specific a full partition partition spec to list specific partition
+-- specify a full partition spec to list a specific partition
SHOW PARTITIONS t1 PARTITION (year = 2022, month = 12);
--- specific a partial partition spec to list all the specifc partitions
+-- specify a partial partition spec to list all the matching partitions
SHOW PARTITIONS t1 PARTITION (year = 2022);
```