go-tarantool icon indicating copy to clipboard operation
go-tarantool copied to clipboard

Support UUID and Decimal types

Open BokarevNik opened this issue 3 years ago • 1 comments

Hello! Now decimal and UUID values aren't decoded in packets. For example, if I have space with one field of type 'uuid', packets which I get from joining with snap like here: https://pkg.go.dev/github.com/viciious/go-tarantool#example-Slave.JoinWithSnap-Sync, look something like this - Request:&tarantool.Insert{Space:0x201, Tuple:[]interface {}{(*msgp.RawExtension)(0xc00037a260)}} If I get tuple as packet.Request.(*tarantool.Insert).Tuple, it looks like this - [{"Data":"YUKSdM85T7e5ndpKCK3GeQ==","Type":2}]. I want to insert this tuple in tarantool space as UUID, is there any way it's possible? I saw similar issues for other connector: https://github.com/tarantool/go-tarantool/issues/90, https://github.com/tarantool/go-tarantool/issues/96

BokarevNik avatar Mar 10 '22 16:03 BokarevNik

Decimal format is now supported in https://github.com/tarantool/go-tarantool/issues/96

hackallcode avatar Aug 02 '22 10:08 hackallcode