[tarantool-patches] Re: [PATCH] Add MsgPack ext types handling.

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Tue Apr 23 16:54:51 MSK 2019



On 23/04/2019 16:44, Konstantin Osipov wrote:
> * Serge Petrenko <sergepetrenko at tarantool.org> [19/04/23 16:05]:
>>
>>
>>> 23 апр. 2019 г., в 15:21, Konstantin Osipov <kostja at tarantool.org> написал(а):
>>>
>>> * Serge Petrenko <sergepetrenko at tarantool.org> [19/04/23 15:09]:
>>>
>>> I mentioned before that this would break all clients.
>>>
>>> It's high time to reconsider our in-memory storage format and make
>>> it different from serialization format: we're seeing significant
>>> performance penalty with serialization to and from msgpack in SQL,
>>> and DECIMAL is a yet another blow on the single-format-approach:
>>> our clients are simply not prepared to handle non-standard
>>> extensions. 
>>>
>>> Let's investigate what it takes to store decimal as an mp ext, and
>>> serialize as mp string.
>>
>> Well, we can do this, but how can clients distinguish decimal and string then?
> 
> From result set metadata or, more generally, from schema. 

Then I will be able to violate format via insertion of strings into
decimal column.

> 
>  
> 
> -- 
> 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