This is an automated email from the ASF dual-hosted git repository.

amoghj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/main by this push:
     new 4482565d0e Docs: Uppercase SQL keywords in branching docs (#11172)
4482565d0e is described below

commit 4482565d0ec16f2e71a4a77b4d3dd0043e1f7a40
Author: Yuya Ebihara <[email protected]>
AuthorDate: Sat Sep 21 04:36:24 2024 +0900

    Docs: Uppercase SQL keywords in branching docs (#11172)
---
 docs/docs/branching.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/docs/branching.md b/docs/docs/branching.md
index f00defda66..bfb976bfa2 100644
--- a/docs/docs/branching.md
+++ b/docs/docs/branching.md
@@ -127,7 +127,7 @@ Create a table and insert some data:
 
 ```sql
 CREATE TABLE db.table (id bigint, data string, col float);
-INSERT INTO db.table values (1, 'a', 1.0), (2, 'b', 2.0), (3, 'c', 3.0);
+INSERT INTO db.table VALUES (1, 'a', 1.0), (2, 'b', 2.0), (3, 'c', 3.0);
 SELECT * FROM db.table;
 1      a       1.0
 2      b       2.0
@@ -148,11 +148,11 @@ SELECT * FROM db.table.branch_test_branch;
 Modify the table's schema by dropping the `col` column and adding a new column 
named `new_col`:
 
 ```sql
-ALTER TABLE db.table drop column col;
+ALTER TABLE db.table DROP COLUMN col;
 
-ALTER TABLE db.table add column new_col date;
+ALTER TABLE db.table ADD COLUMN new_col date;
 
-INSERT INTO db.table values (4, 'd', date('2024-04-04')), (5, 'e', 
date('2024-05-05'));
+INSERT INTO db.table VALUES (4, 'd', date('2024-04-04')), (5, 'e', 
date('2024-05-05'));
 
 SELECT * FROM db.table;
 1      a       NULL
@@ -195,7 +195,7 @@ When writing to the branch, the **table's schema** is used 
for validation:
 
 ```sql
 
-INSERT INTO db.table.branch_test_branch values (6, 'e', date('2024-06-06')), 
(7, 'g', date('2024-07-07'));
+INSERT INTO db.table.branch_test_branch VALUES (6, 'e', date('2024-06-06')), 
(7, 'g', date('2024-07-07'));
 
 SELECT * FROM db.table.branch_test_branch;
 6      e       2024-06-06

Reply via email to