liyubin117 commented on code in PR #21521:
URL: https://github.com/apache/flink/pull/21521#discussion_r1142920457
##########
docs/content/docs/dev/table/sql/describe.md:
##########
@@ -112,11 +112,11 @@ table_env = TableEnvironment.create(...)
# register a table named "Orders"
table_env.execute_sql( \
"CREATE TABLE Orders ("
- " `user` BIGINT NOT NULl,"
+ " `user` BIGINT NOT NULl comment 'this is primary key',"
" product VARCHAR(32),"
" amount INT,"
- " ts TIMESTAMP(3),"
- " ptime AS PROCTIME(),"
+ " ts TIMESTAMP(3) comment 'notice: watermark',"
+ " ptime AS PROCTIME() comment 'this is a computed column',"
Review Comment:
It is really neccessary to give an example in the doc, done :)
--
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]