Skip to content

Commit bd82fdd

Browse files
committed
fix errors
1 parent bd0b900 commit bd82fdd

6 files changed

Lines changed: 10 additions & 10 deletions

docs/sql-ref-syntax-ddl-create-database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ CREATE { DATABASE | SCHEMA } [ IF NOT EXISTS ] database_name
4040

4141
* **IF NOT EXISTS**
4242

43-
Creates a database with the given name if it doesn't exists. If a database with the same name already exists, nothing will happen.
43+
Creates a database with the given name if it does not exist. If a database with the same name already exists, nothing will happen.
4444

4545
* **database_directory**
4646

docs/sql-ref-syntax-ddl-create-table-hiveformat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ as any order. For example, you can write COMMENT table_comment after TBLPROPERTI
6363

6464
* **STORED AS**
6565

66-
File format for table storage, could be TEXTFILE, ORC, PARQUET,etc.
66+
File format for table storage, could be TEXTFILE, ORC, PARQUET, etc.
6767

6868
* **LOCATION**
6969

docs/sql-ref-syntax-ddl-create-table-like.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ CREATE TABLE [IF NOT EXISTS] table_identifier LIKE source_table_identifier
5252

5353
* **STORED AS**
5454

55-
File format for table storage, could be TEXTFILE, ORC, PARQUET,etc.
55+
File format for table storage, could be TEXTFILE, ORC, PARQUET, etc.
5656

5757
* **TBLPROPERTIES**
5858

docs/sql-ref-syntax-ddl-create-view.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ CREATE [ OR REPLACE ] [ [ GLOBAL ] TEMPORARY ] VIEW [ IF NOT EXISTS ] view_ident
4646

4747
* **IF NOT EXISTS**
4848

49-
Creates a view if it does not exists.
49+
Creates a view if it does not exist.
5050

5151
* **view_identifier**
5252

docs/sql-ref-syntax-ddl-drop-table.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ DROP TABLE [ IF EXISTS ] table_identifier
3636

3737
* **IF EXISTS**
3838

39-
If specified, no exception is thrown when the table does not exists.
39+
If specified, no exception is thrown when the table does not exist.
4040

4141
* **table_identifier**
4242

@@ -53,13 +53,13 @@ DROP TABLE employeetable;
5353
-- Assumes a table named `employeetable` exists in the `userdb` database
5454
DROP TABLE userdb.employeetable;
5555

56-
-- Assumes a table named `employeetable` does not exists.
56+
-- Assumes a table named `employeetable` does not exist.
5757
-- Throws exception
5858
DROP TABLE employeetable;
5959
Error: org.apache.spark.sql.AnalysisException: Table or view not found: employeetable;
6060
(state=,code=0)
6161

62-
-- Assumes a table named `employeetable` does not exists,Try with IF EXISTS
62+
-- Assumes a table named `employeetable` does not exist,Try with IF EXISTS
6363
-- this time it will not throw exception
6464
DROP TABLE IF EXISTS employeetable;
6565
```

docs/sql-ref-syntax-ddl-drop-view.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ DROP VIEW [ IF EXISTS ] view_identifier
3333

3434
* **IF EXISTS**
3535

36-
If specified, no exception is thrown when the view does not exists.
36+
If specified, no exception is thrown when the view does not exist.
3737

3838
* **view_identifier**
3939

@@ -50,13 +50,13 @@ DROP VIEW employeeView;
5050
-- Assumes a view named `employeeView` exists in the `userdb` database
5151
DROP VIEW userdb.employeeView;
5252

53-
-- Assumes a view named `employeeView` does not exists.
53+
-- Assumes a view named `employeeView` does not exist.
5454
-- Throws exception
5555
DROP VIEW employeeView;
5656
Error: org.apache.spark.sql.AnalysisException: Table or view not found: employeeView;
5757
(state=,code=0)
5858

59-
-- Assumes a view named `employeeView` does not exists,Try with IF EXISTS
59+
-- Assumes a view named `employeeView` does not exist,Try with IF EXISTS
6060
-- this time it will not throw exception
6161
DROP VIEW IF EXISTS employeeView;
6262
```

0 commit comments

Comments
 (0)