[tarantool-patches] Re: [PATCH 0/2] Fix type aliases in SQL

Kirill Yukhin kyukhin at tarantool.org
Tue Jul 30 17:21:24 MSK 2019


Hello,

On 30 Jul 02:34, Nikita Pettik wrote:
> Branch: https://github.com/tarantool/tarantool/tree/np/sql-type-aliases
> 
> Justification is described in commit messages, but the main
> point is to make NoSQL type system be consistent with SQL one
> at least in types naming.
> 
> The only concern I've noticed: CAST to NUMBER always results in
> coversion of integer or string literal to floating point value.
> Meanwhile, number can hold integer values. So the question is
> should CAST("integer_literal" AS NUMBER) return floating point,
> or just be no-op in this case...?
> 
> Nikita Pettik (2):
>   sql: add STRING alias to TEXT type
>   sql: rename REAL/FLOAT/DOUBLE types to NUMBER

I've checked the patchset into master.

--
Regards, Kirill Yukhin




More information about the Tarantool-patches mailing list