Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH 0/3] JSON update
@ 2019-12-23 22:41 Vladislav Shpilevoy
  2019-12-23 22:41 ` [Tarantool-patches] [PATCH 1/3] tuple: make update operation tokens consumable Vladislav Shpilevoy
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Vladislav Shpilevoy @ 2019-12-23 22:41 UTC (permalink / raw)
  To: tarantool-patches

The patchset finishes JSON update feature by allowance of making
multiple update operations with the same prefix in one update().

The patchset consists of relatively independent self-explaining
parts. First part is a preparation for having not just a set of
updates, but for having an update tree, with number and string
keys.

Second part makes it possible to do multiple update operations
having the same prefix if it ends on an array index.

The final part introduces map updates, documentation request, and
finishes the feature.

Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-1261-json-update
Issue: https://github.com/tarantool/tarantool/issues/1261

Vladislav Shpilevoy (3):
  tuple: make update operation tokens consumable
  tuple: JSON path update intersection at arrays
  tuple: JSON path update intersection at maps

 src/box/CMakeLists.txt      |   2 +
 src/box/xrow_update_array.c |  97 +++++++-
 src/box/xrow_update_bar.c   |  14 +-
 src/box/xrow_update_field.c |  30 +++
 src/box/xrow_update_field.h | 209 ++++++++++++++++-
 src/box/xrow_update_map.c   | 453 ++++++++++++++++++++++++++++++++++++
 src/box/xrow_update_route.c | 387 ++++++++++++++++++++++++++++++
 test/box/update.result      | 329 ++++++++++++++++++++++++++
 test/box/update.test.lua    | 166 +++++++++++++
 9 files changed, 1672 insertions(+), 15 deletions(-)
 create mode 100644 src/box/xrow_update_map.c
 create mode 100644 src/box/xrow_update_route.c

-- 
2.21.0 (Apple Git-122.2)

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-12-30  5:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-23 22:41 [Tarantool-patches] [PATCH 0/3] JSON update Vladislav Shpilevoy
2019-12-23 22:41 ` [Tarantool-patches] [PATCH 1/3] tuple: make update operation tokens consumable Vladislav Shpilevoy
2019-12-24 16:15   ` Vladislav Shpilevoy
2019-12-26 12:07   ` Sergey Ostanevich
2019-12-27 13:00     ` Vladislav Shpilevoy
2019-12-27 14:59       ` Sergey Ostanevich
2019-12-23 22:41 ` [Tarantool-patches] [PATCH 2/3] tuple: JSON path update intersection at arrays Vladislav Shpilevoy
2019-12-27 14:13   ` Sergey Ostanevich
2019-12-27 15:52     ` Vladislav Shpilevoy
2019-12-23 22:41 ` [Tarantool-patches] [PATCH 3/3] tuple: JSON path update intersection at maps Vladislav Shpilevoy
2019-12-27 14:57   ` Sergey Ostanevich
2019-12-27 15:52     ` Vladislav Shpilevoy
2019-12-30  5:26 ` [Tarantool-patches] [PATCH 0/3] JSON update Kirill Yukhin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox