[tarantool-patches] [PATCH 5/5] decimal: allow to index decimals

Konstantin Osipov kostja at tarantool.org
Thu Jul 25 02:13:58 MSK 2019


* Serge Petrenko <sergepetrenko at tarantool.org> [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



More information about the Tarantool-patches mailing list