-
Notifications
You must be signed in to change notification settings - Fork 205
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
Not allow to add a not null column, name:timestamp #779
Comments
Do you have any interest in fixing this bug? We would be very grateful! |
OK. I will have a try. |
It seems your write doesn't match table's schema, so it go to Could you reproduce this issue when they are the same? |
My write matches table's schema except the special timestamp column. |
That's the problem.
AFAIK, timestamp is a special field in protobuf, column name for it is not required. To fix this, I think we can reuse timestamp name in original schema when invoke build_schema_from_write_table_request(
schema_config: &SchemaConfig,
write_table_req: &WriteTableRequest,
timestamp_name: Option<&str> // Some(_) when call from find_new_columns
) |
@zouxiang1993 Have you already started working on this issue? We plan to release 1.1 this Friday, if you haven't started, we will fix this today. |
Sorry, I was going to fix it on the weekend. |
Describe this problem
Error message is:
Server version
CeresDB Server
CeresDB version: 1.0.0
Git branch: main
Git commit: 50471c0
Build time: 2023-03-26T20:55:13.872269184Z
Rustc version: 1.69.0-nightly
Steps to reproduce
Expected behavior
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: