-
Notifications
You must be signed in to change notification settings - Fork 3.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
Enable required dependents when using table splitting #15607
Comments
Talked again to @AndriySvyryd and @smitpatel on this. Despite what I said in May I now understand why it makes sense to punt this. This change would allow a dependent in a split table to have all null values for it's properties, and yet still get an entity instance materialized. This is not the same as making the relationship required, since that still allows a principal to exist without a dependent. This therefore requires new API, and is, relatively speaking a corner case. This could be accomplished with an API that does not allow the principle exist without the related dependent also existing. This in turn would allow required properties in the dependent to map to non-nullable columns, since every row must contain properties for both entities, always. |
Duplicate of #12100 |
See #9005 and #15521
Note that this does not mean requireness needs to be enforced. It just means that we assume if the relationship is configured as required that we don't need to do anything special to enable it to be optional.
The text was updated successfully, but these errors were encountered: