-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
case3 :alter schema with index #2671
Comments
Prepare the space
Case 1 : the same property name, drop it , then re-create it.
This problem is due to that the columns have no version, so if the column is deleted first and then added back to the tags/edges, we can still read the value after all. This is a known issue, we could add it to v3.0 roadmap. @Sophie-Xie Case 2: alter schema change property to a different type (string->int)
The problem is that the tag/edge have versions, so we can read the older data even the datatype were changed. We should discuss this one. @Sophie-Xie case 3:
Seems like a bug which introduced in rebuild step. We could try to fix it in v2.6. @Sophie-Xie case4: default valueThe latest act should be the right one. |
There are other high priority issues to do, this issue will be later to next version. |
All schema problem, we'll try to fix in the version after 1230 by using Online DDL like Google F1 |
Talked it offline, all schema problem will fixed in 5.x. |
For case 1, we need to check all the history schemas and make sure no same properties exist when adding properties to an existing schema. |
These are migration from internal jira reports.
case 1: the same property name, drop it , then re-create it.
case2: alter schema change property to a different type (string->int)
case 3: alter schema with index
case4:default value
The text was updated successfully, but these errors were encountered: