-
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
Use partial updates for JSON #28595
Labels
area-json
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-enhancement
Milestone
Comments
63 tasks
maumar
added a commit
that referenced
this issue
Aug 23, 2022
Currently, whenever we update/add/delete part of aggregate mapped to JSON column, we were replacing the entire structure. Improvement is to use JSON_MODIFY which can alter just a portion of JSON structure, give a JSON path. We analyze the entries that are being edited and for each JSON column we find the common denominator that needs to be replaced to accommodate all the requested changes Note: Whenever we add/remove element from a collection we need to replace the entire collection in order to populate ordinal key values properly. Also, modifying a single property is not yet supported - the smallest fragment that will be replaced is one that represents an entity. Fixes #28595
maumar
added a commit
that referenced
this issue
Aug 23, 2022
Currently, whenever we update/add/delete part of aggregate mapped to JSON column, we were replacing the entire structure. Improvement is to use JSON_MODIFY which can alter just a portion of JSON structure, give a JSON path. We analyze the entries that are being edited and for each JSON column we find the common denominator that needs to be replaced to accommodate all the requested changes Note: Whenever we add/remove element from a collection we need to replace the entire collection in order to populate ordinal key values properly. Also, modifying a single property is not yet supported - the smallest fragment that will be replaced is one that represents an entity. Fixes #28595
maumar
added
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Aug 23, 2022
maumar
added a commit
that referenced
this issue
Aug 23, 2022
Currently, whenever we update/add/delete part of aggregate mapped to JSON column, we were replacing the entire structure. Improvement is to use JSON_MODIFY which can alter just a portion of JSON structure, give a JSON path. We analyze the entries that are being edited and for each JSON column we find the common denominator that needs to be replaced to accommodate all the requested changes Note: Whenever we add/remove element from a collection we need to replace the entire collection in order to populate ordinal key values properly. Also, modifying a single property is not yet supported - the smallest fragment that will be replaced is one that represents an entity. Fixes #28595
maumar
added a commit
that referenced
this issue
Aug 23, 2022
Currently, whenever we update/add/delete part of aggregate mapped to JSON column, we were replacing the entire structure. Improvement is to use JSON_MODIFY which can alter just a portion of JSON structure, give a JSON path. We analyze the entries that are being edited and for each JSON column we find the common denominator that needs to be replaced to accommodate all the requested changes Note: Whenever we add/remove element from a collection we need to replace the entire collection in order to populate ordinal key values properly. Also, modifying a single property is not yet supported - the smallest fragment that will be replaced is one that represents an entity. Fixes #28595
maumar
added a commit
that referenced
this issue
Aug 23, 2022
Currently, whenever we update/add/delete part of aggregate mapped to JSON column, we were replacing the entire structure. Improvement is to use JSON_MODIFY which can alter just a portion of JSON structure, give a JSON path. We analyze the entries that are being edited and for each JSON column we find the common denominator that needs to be replaced to accommodate all the requested changes Note: Whenever we add/remove element from a collection we need to replace the entire collection in order to populate ordinal key values properly. Also, modifying a single property is not yet supported - the smallest fragment that will be replaced is one that represents an entity. Fixes #28595
maumar
added a commit
that referenced
this issue
Aug 24, 2022
Currently, whenever we update/add/delete part of aggregate mapped to JSON column, we were replacing the entire structure. Improvement is to use JSON_MODIFY which can alter just a portion of JSON structure, give a JSON path. We analyze the entries that are being edited and for each JSON column we find the common denominator that needs to be replaced to accommodate all the requested changes Note: Whenever we add/remove element from a collection we need to replace the entire collection in order to populate ordinal key values properly. Also, modifying a single property is not yet supported - the smallest fragment that will be replaced is one that represents an entity. Fixes #28595
maumar
added a commit
that referenced
this issue
Aug 24, 2022
Currently, whenever we update/add/delete part of aggregate mapped to JSON column, we were replacing the entire structure. Improvement is to use JSON_MODIFY which can alter just a portion of JSON structure, give a JSON path. We analyze the entries that are being edited and for each JSON column we find the common denominator that needs to be replaced to accommodate all the requested changes Note: Whenever we add/remove element from a collection we need to replace the entire collection in order to populate ordinal key values properly. Also, modifying a single property is not yet supported - the smallest fragment that will be replaced is one that represents an entity. Fixes #28595
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-json
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-enhancement
No description provided.
The text was updated successfully, but these errors were encountered: