From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 26 Jul 2019 20:42:23 +0300 From: Kirill Yukhin Subject: Re: [tarantool-patches] [PATCH v5 0/3] box: functional indexes Message-ID: <20190726174223.fflt3iq76se7ki6v@tarantool.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: To: tarantool-patches@freelists.org Cc: vdavydov.dev@gmail.com, kostja@tarantool.org, Kirill Shcherbatov List-ID: Hello, On 26 июл 12:43, Kirill Shcherbatov wrote: > This patchset introduces functional indexes in memtx. > Functional index is an index that use user-defined function to extract > a key by tuple. > > In current implementation only persistent deterministic sandboxed Lua > function previously created with box.schema.func.create may be used > in functional index. > This provides a potential ability to support new languages to > transparently extend supported extractors in future (e.g. SQL extractor, > C extractor). > > Because an _index space is loaded before _func space, functional index > initially created in "disabled state". Then, on loading from a new space > _func_index, it completely rebuilds. > > http://github.com/tarantool/tarantool/tree/kshch/gh-1260-functional-index-new > https://github.com/tarantool/tarantool/issues/1260 I've checked your patchset into master. -- Regards, Kirill Yukhin