Tarantool development patches archive
 help / color / mirror / Atom feed
From: Kirill Yukhin <kyukhin@tarantool.org>
To: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH 1/1] tuple: enable isolated JSON updates
Date: Thu, 19 Dec 2019 11:34:51 +0300	[thread overview]
Message-ID: <20191219083451.7rzz2mb2h2a2jjo5@tarantool.org> (raw)
In-Reply-To: <da5e5278552b062e101f0addfc415f83a9810edd.1574378275.git.v.shpilevoy@tarantool.org>

Hello,

On 22 ноя 00:19, Vladislav Shpilevoy wrote:
> Isolated tuple update is an update by JSON path, which hasn't a
> common prefix with any other JSON update operation in the same
> set. For example, these JSON update operations are isolated:
> 
>     {'=', '[1][2][3]', 100},
>     {'+', '[2].b.c', 200}
> 
> Their JSON paths has no a common prefix. But these operations are
> not isolated:
> 
>     {'=', '[1][2][3]', 100},
>     {'+', '[1].b.c', 200}
> 
> They have a common prefix '[1]'.
> 
> Isolated updates are a first part of fully functional JSON
> updates. Their feature is that their implementation is relatively
> simple and lightweight - an isolated JSON update does not store
> each part of the JSON path as a separate object. Isolated update
> stores just string with JSON and pointer to the MessagePack
> object to update.
> 
> Such isolated updates are called 'bar update'. They are a basic
> brick of more complex JSON updates.
> 
> Part of #1261
> ---
> Branch: https://github.com/tarantool/tarantool/tree/gerold103/gh-1261-json-bar-update
> Issue: https://github.com/tarantool/tarantool/issues/1261

The patch LGTM. I've checked it into master.

--
Regards, Kirill Yukhin

      parent reply	other threads:[~2019-12-19  8:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-21 23:19 Vladislav Shpilevoy
2019-12-09 20:18 ` Sergey Ostanevich
2019-12-13 23:34   ` Vladislav Shpilevoy
2019-12-14  9:20     ` Sergey Ostanevich
2019-12-19  8:34 ` Kirill Yukhin [this message]

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=20191219083451.7rzz2mb2h2a2jjo5@tarantool.org \
    --to=kyukhin@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH 1/1] tuple: enable isolated JSON updates' \
    /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