From: Konstantin Osipov <kostja@tarantool.org>
To: tarantool-patches@freelists.org
Cc: v.shpilevoy@tarantool.org, Nikita Pettik <korablev@tarantool.org>
Subject: [tarantool-patches] Re: [PATCH 4/4] sql: replace BLOB as column type with SCALAR
Date: Thu, 7 Mar 2019 16:40:39 +0300 [thread overview]
Message-ID: <20190307134039.GF24636@chai> (raw)
In-Reply-To: <83426c95235d880a4d16ca84927138961caf3c55.1551964360.git.korablev@tarantool.org>
* Nikita Pettik <korablev@tarantool.org> [19/03/07 16:18]:
> BLOB column type is represented by SCALAR field type in terms of NoSQL.
> We attempted at emulating BLOB behaviour, but such efforts turn out to
> be not decent enough. For this reason, we've decided to abandon these
> attempts and fairly replace it with SCALAR column type. SCALAR column
> type acts in the same way as it does in NoSQL: it is aggregator-type for
> INTEGER, NUMBER and STRING types. So, column declared with this type can
> contain values of these three (available in SQL) types. It is worth
> mentioning that CAST operator in this case does nothing.
>
Shouldn't we keep the BLOB keyword in the list of reserved words?
The same applies to DATE/TIME and other words which are reserved
in SQL standard.
The patch itself LGTM.
--
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov
next prev parent reply other threads:[~2019-03-07 13:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-07 13:14 [tarantool-patches] [PATCH 0/4] SQL types changes Nikita Pettik
2019-03-07 13:14 ` [tarantool-patches] [PATCH 1/4] sql: remove support of DATE/TIME from parser Nikita Pettik
2019-03-07 13:34 ` [tarantool-patches] " Konstantin Osipov
2019-03-07 13:14 ` [tarantool-patches] [PATCH 2/4] sql: remove support of CHAR type " Nikita Pettik
2019-03-07 13:35 ` [tarantool-patches] " Konstantin Osipov
2019-03-07 13:14 ` [tarantool-patches] [PATCH 3/4] sql: remove support of NUMERIC " Nikita Pettik
2019-03-07 13:36 ` [tarantool-patches] " Konstantin Osipov
2019-03-07 13:14 ` [tarantool-patches] [PATCH 4/4] sql: replace BLOB as column type with SCALAR Nikita Pettik
2019-03-07 13:40 ` Konstantin Osipov [this message]
2019-03-07 14:00 ` [tarantool-patches] " n.pettik
2019-03-07 14:14 ` [tarantool-patches] Re: [PATCH 0/4] SQL types changes Kirill Yukhin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190307134039.GF24636@chai \
--to=kostja@tarantool.org \
--cc=korablev@tarantool.org \
--cc=tarantool-patches@freelists.org \
--cc=v.shpilevoy@tarantool.org \
--subject='[tarantool-patches] Re: [PATCH 4/4] sql: replace BLOB as column type with SCALAR' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox