-
-
Notifications
You must be signed in to change notification settings - Fork 238
Closed
Labels
Description
In the current version comments on columns are passed on to the create statement api. Comment on the table itself is not. It is parsed in the AST but not carried over to the table spec.
Could it be possible to implement that? I guess a string map to the table spec structure in ddl.go should do it,
Example sql from google:
CREATE TABLE example (
example_column INT COMMENT "This is an example column",
another_column VARCHAR COMMENT "One more column"
) COMMENT="This is a comment about table";
It is the last comment "This is a comment about table" that is missing
Many thanks
Martin