-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql: support foreign key references to/from virtual columns #59671
Comments
Fixing #46672 is a prerequisite (or they should be fixed together). |
Disallow FK references to or from virtual columns. Note that there is no big reason why we couldn't support them other than some extra work and testing surface; this is tracked by cockroachdb#59671. Informs cockroachdb#57608. Release note: None
59675: sql: disallow virtual columns in FK references r=RaduBerinde a=RaduBerinde Disallow FK references to or from virtual columns. Note that there is no big reason why we couldn't support them other than some extra work and testing surface; this is tracked by #59671. Informs #57608. Release note: None 59800: roachprod: extend error reporting for DNS sync r=rail a=rail Related to #58905 In some cases `roachprod sync` fails updating the crdb.io DNS entries without giving enough information about the failure. It looks like the root cause may be the file format passed to the `gcloud dns` command. Added extra information in the error message in order to get a better picture when it happens again. Release note: None Co-authored-by: Radu Berinde <radu@cockroachlabs.com> Co-authored-by: Rail Aliiev <rail@cockroachlabs.com>
We have marked this issue as stale because it has been inactive for |
Removing the blocking code is straight forward. However, validating the constraint has issues. This fails when the virtual column is in parent or in the child. Here are two repro scenarios (both of these assume the blocking code is removed):
|
Jira issue: CRDB-3260
The text was updated successfully, but these errors were encountered: