Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base implemment of default value for columns #249

Closed
ygf11 opened this issue Sep 14, 2022 · 0 comments · Fixed by #246
Closed

Base implemment of default value for columns #249

ygf11 opened this issue Sep 14, 2022 · 0 comments · Fixed by #246
Labels
feature New feature or request

Comments

@ygf11
Copy link
Contributor

ygf11 commented Sep 14, 2022

Describe This Problem

Support default value for columns in Ceresdb.

Proposal

Make default value work in some base sql statements. sqls:

  • Create table.
  • Insert table.
  • Show create table.

For the default value option, now only support exprs which does not reference other columns, like 10, 1+1, now()..

Additional Context

#210

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant