Skip to content
Closed
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
6 changes: 5 additions & 1 deletion docs/sql-ref-syntax-aux-show-create-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ license: |
### Syntax

```sql
SHOW CREATE TABLE table_identifier
SHOW CREATE TABLE table_identifier [ AS SERDE ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about adding a new example with AS SERDE

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I will do it.

```

### Parameters
Expand All @@ -37,6 +37,10 @@ SHOW CREATE TABLE table_identifier

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

* **AS SERDE**

Just for generating Hive DDL for a Hive SerDe table.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Maybe Generates DDL for a Hive SerDe table to be parallel with Specifies a table or view name...?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Maybe Generates DDL for a Hive SerDe table to be parallel with Specifies a table or view name...?

Generates DDL for a Hive SerDe table begin with 4 space, it is same with Specifies a table or view name...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the confusion, I am not talking about spaces. I mean using "Generates" instead of "Just for generating"


### Examples

```sql
Expand Down