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

Make default value options work like mysql #250

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

Make default value options work like mysql #250

ygf11 opened this issue Sep 14, 2022 · 0 comments · Fixed by #278
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

In #249, we want to implement the base feature of Default value option for columns.

The next work is to make normal expr works, just allow expr to reference other columns.

As @jiacai2050 suggest, mysql only allow to reference a column defined before it, so we can do like mysql do, and support other complex feature in the future.

Additional Context

No response

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