From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> To: tarantool-patches@dev.tarantool.org Subject: [Tarantool-patches] [PATCH 0/3] JSON update Date: Mon, 23 Dec 2019 23:41:47 +0100 [thread overview] Message-ID: <cover.1577140688.git.v.shpilevoy@tarantool.org> (raw) 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)
next reply other threads:[~2019-12-23 22:41 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-12-23 22:41 Vladislav Shpilevoy [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=cover.1577140688.git.v.shpilevoy@tarantool.org \ --to=v.shpilevoy@tarantool.org \ --cc=tarantool-patches@dev.tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH 0/3] JSON update' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox