From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 25BE2250F0 for ; Tue, 30 Jul 2019 10:21:27 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EgvGeaAewcCL for ; Tue, 30 Jul 2019 10:21:27 -0400 (EDT) Received: from smtp40.i.mail.ru (smtp40.i.mail.ru [94.100.177.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id DC6E2246CA for ; Tue, 30 Jul 2019 10:21:26 -0400 (EDT) Date: Tue, 30 Jul 2019 17:21:24 +0300 From: Kirill Yukhin Subject: [tarantool-patches] Re: [PATCH 0/2] Fix type aliases in SQL Message-ID: <20190730142124.5k7hkuzjh33onply@tarantool.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org Cc: kostja@tarantool.org, Nikita Pettik 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