Skip to content

Conversation

@morningman
Copy link
Contributor

  1. Support table comment when creating table or view
  2. Support column comment when creating view.

See help create table and help create view for help.
Sett help show full columns and help show table status to view comment.

@kangkaisen
Copy link
Contributor

+1. LGTM. Please add a UT for this PR.

@morningman
Copy link
Contributor Author

+1. LGTM. Please add a UT for this PR.

OK

[BROKER PROPERTIES ("key"="value", ...)];
[PROPERTIES ("key"="value", ...)]
[BROKER PROPERTIES ("key"="value", ...)]
[COMMENT "table comment"];
Copy link
Contributor

Choose a reason for hiding this comment

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

To comply with mysql, comment should locate before partition define. Both Comment and Engine are table options. Here is the reference.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed

@morningman morningman force-pushed the support_table_comment branch from 70ec33c to e731929 Compare September 17, 2019 06:30
Copy link
Contributor

@imay imay left a comment

Choose a reason for hiding this comment

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

LGTM

@imay imay merged commit 714dca8 into apache:master Sep 18, 2019
@imay imay mentioned this pull request Sep 26, 2019
swjtu-zhanglei pushed a commit to swjtu-zhanglei/incubator-doris that referenced this pull request Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants