Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support UUID and Decimal types #60

Open
BokarevNik opened this issue Mar 10, 2022 · 1 comment
Open

Support UUID and Decimal types #60

BokarevNik opened this issue Mar 10, 2022 · 1 comment

Comments

@BokarevNik
Copy link

BokarevNik commented Mar 10, 2022

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: tarantool/go-tarantool#90, tarantool/go-tarantool#96

@hackallcode
Copy link

Decimal format is now supported in tarantool/go-tarantool#96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants