From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id DA4EB44643F for ; Thu, 15 Oct 2020 02:41:58 +0300 (MSK) References: From: Vladislav Shpilevoy Message-ID: Date: Thu, 15 Oct 2020 01:41:57 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH v3 00/16] module api: extend for external key_def Lua module List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Turenko Cc: tarantool-patches@dev.tarantool.org Hi! Thanks for the patchset! Are we going to create a docbot request or a documentation ticket for all these newly exported functions? > Alexander Turenko (16): > module api: get rid of typedef redefinitions > module api: expose box region > module api/lua: add luaL_iscdata() function > lua: factor out tuple encoding from luaT_tuple_new > lua: don't raise a Lua error from luaT_tuple_new() > module api/lua: add luaT_tuple_encode() > module api/lua: expose luaT_tuple_new() > module api/lua: add API_EXPORT to tuple functions > module api: add API_EXPORT to key_def functions > module api: add box_key_def_new_v2() > module api: add box_key_def_dump_parts() > module api: expose box_key_def_validate_tuple() > module api: expose box_key_def_merge() > module api: expose box_key_def_extract_key() > module api: add box_key_def_validate_key() > module api: add box_key_def_validate_full_key() Still don't understand why do we need full key validation. Anyway it won't help in anything. The only purpose I can think of is kind of a guarantee, that if a key is full and valid, it will return at most 1 tuple, but it is not so for non-unique indexes - for them a full and not full keys are the same. But whatever.