manuzhang commented on code in PR #7382:
URL: https://github.com/apache/iceberg/pull/7382#discussion_r1199618979
##########
docs/flink-ddl.md:
##########
@@ -144,44 +144,61 @@ CREATE DATABASE iceberg_db;
USE iceberg_db;
```
-### `CREATE TABLE`
+## `CREATE TABLE`
```sql
CREATE TABLE `hive_catalog`.`default`.`sample` (
id BIGINT COMMENT 'unique id',
- data STRING
-);
+ `data` STRING NOT NULL
+)
+WITH ('format-version'='2');
```
Table create commands support the commonly used [Flink create
clauses](https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/sql/create/)
including:
-* `PARTITION BY (column1, column2, ...)` to configure partitioning, Flink does
not yet support hidden partitioning.
Review Comment:
there is no partition by in the above example
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]