From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 25 Jul 2019 02:13:58 +0300 From: Konstantin Osipov Subject: Re: [tarantool-patches] [PATCH 5/5] decimal: allow to index decimals Message-ID: <20190724231358.GD15185@atlas> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: To: tarantool-patches@freelists.org Cc: vdavydov.dev@gmail.com, Serge Petrenko List-ID: * Serge Petrenko [19/07/17 18:34]: > Indices can now be built over decimal fields. > A new field type - 'decimal' is introduced. > Decimal values may be stored in 'decimal' columns, as well as in > 'scalar' and 'any' columns. At first I asked myself whether we should allow DECIMAL values in NUMBER indexes. And then I recalled that Tarantool NUMBER is a counterpart for Lua number, and lua 5.3 supports decimal values in its number type. -- Konstantin Osipov, Moscow, Russia