Skip to content

Commit

Permalink
docs:Add an example of CTAS with PARTITIONED BY (fix #3854)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-cx91 committed Apr 21, 2022
1 parent 0b48f51 commit ef03f06
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/spark/spark-ddl.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ CREATE TABLE prod.db.sample
USING iceberg
AS SELECT ...
```
```sql
CREATE TABLE prod.db.sample
USING iceberg
PARTITIONED BY (part)
TBLPROPERTIES ('key'='value')
AS SELECT ...
```

## `REPLACE TABLE ... AS SELECT`

Expand Down

0 comments on commit ef03f06

Please sign in to comment.