[tarantool-patches] Re: [PATCH 4/4] sql: replace BLOB as column type with SCALAR

Konstantin Osipov kostja at tarantool.org
Thu Mar 7 16:40:39 MSK 2019


* Nikita Pettik <korablev at 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




More information about the Tarantool-patches mailing list