-
Notifications
You must be signed in to change notification settings - Fork 60
Is there support of built-in UUID type? #90
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
Comments
Do you mean tarantool/tarantool@d68fc29 ? Certainly one could introduce such type by hands with such ext encoding. I'll think about soon. |
Yes
and I wanted to insert into an indexed UUID field. Edit: can you give an example of how to do it? |
2.4.0-182-gd68fc2924 allows to insert an UUID value into an unindexed field, but 2.4.0-183-gb238def80 enables support of indexing of such values. |
@Totktonada fine. I do not understand what to pass to "insert". Example:
How to insert UUID:
I tried:
|
Type should be registered in messagepack library. |
You better know in what format it should be. Look at this please: First I wirte MP_EXT, then MP_UUID and then bytes of UUID but something is wrong.
Have this error now:
|
Why u can't use uuid as string ? |
Sorry, but I don't understand your code. It doesn't coherent with messagepack specification It seems vmihailenko's msgpack defines special way to register EXT types: |
But looks like it still will be decoded in a strange way in a generic result: |
hi all, we found a way to send uuid to tarantool with vmihailenco/msgpack.v2 Library: https://github.com/citilinkru/uuid-msgpack @pashinin Update msgpack and use code below app.lua
main.go prototype
|
@AmsTaFFix I have a problem with your decoder example, when trying to decode map to struct. Then I have two additional fixed bytes too, as you described above. I add this before
|
@Maximilan4 thank you, i fixed my example. And we created lib for that - https://github.com/citilinkru/uuid-msgpack |
UUID type was introduced in Tarantool 2.4.1. See more in commit messages: tarantool/tarantool@d68fc29 Closes #90
UUID type was introduced in Tarantool 2.4.1. See more in commit messages: tarantool/tarantool@d68fc29 This patch provides UUID support for all space operations and as function return result. Closes #90
This patch provides UUID support for all space operations and as function return result. UUID type was introduced in Tarantool 2.4.1. See more in commit messages: tarantool/tarantool@d68fc29 Closes #90
This patch provides UUID support for all space operations and as function return result. UUID type was introduced in Tarantool 2.4.1. See more in commit messages: tarantool/tarantool@d68fc29 Closes #90
This patch provides UUID support for all space operations and as function return result. UUID type was introduced in Tarantool 2.4.1. See more in commit messages [1]. To use UUID with google/uuid in msgpack, import tarantool/go-tarantool/uuid submodule. 1. tarantool/tarantool@d68fc29 Closes #90
This patch provides UUID support for all space operations and as function return result. UUID type was introduced in Tarantool 2.4.1. See more in commit messages [1]. To use UUID with google/uuid in msgpack, import tarantool/go-tarantool/uuid submodule. 1. tarantool/tarantool@d68fc29 Closes #90
This patch provides UUID support for all space operations and as function return result. UUID type was introduced in Tarantool 2.4.1. See more in commit messages [1]. To use UUID with google/uuid in msgpack, import tarantool/go-tarantool/uuid submodule. 1. tarantool/tarantool@d68fc29 Closes #90
This patch provides UUID support for all space operations and as function return result. UUID type was introduced in Tarantool 2.4.1. See more in commit messages [1]. To use UUID with google/uuid in msgpack, import tarantool/go-tarantool/uuid submodule. 1. tarantool/tarantool@d68fc29 Closes #90
This patch provides UUID support for all space operations and as function return result. UUID type was introduced in Tarantool 2.4.1. See more in commit messages [1]. To use UUID with google/uuid in msgpack, import tarantool/go-tarantool/uuid submodule. 1. tarantool/tarantool@d68fc29 Closes #90
Overview This release adds a number of features and updates documentation. Breaking changes There are no breaking changes in the release. New features Coveralls support (#149). Reusable testing workflow (integration testing with latest Tarantool) (#123). Simple CI based on GitHub actions (#114). Support UUID type in msgpack (#90). Go modules support (#91). queue-utube handling (#85). Master discovery (#113). SQL support (#62). Handle everything with `go test` (#115). Update API documentation: comments and examples (#123). Bugfixes Reset buffer if its average use size smaller than quater of capacity (#95). Fix queue tests (#107). Make test case consistent with comments (#105).
Overview This release adds a number of features and updates documentation. Breaking changes There are no breaking changes in the release. New features Coveralls support (#149). Reusable testing workflow (integration testing with latest Tarantool) (#123). Simple CI based on GitHub actions (#114). Support UUID type in msgpack (#90). Go modules support (#91). queue-utube handling (#85). Master discovery (#113). SQL support (#62). Handle everything with `go test` (#115). Update API documentation: comments and examples (#123). Bugfixes Reset buffer if its average use size smaller than quater of capacity (#95). Fix queue tests (#107). Make test case consistent with comments (#105).
Overview This release adds a number of features and updates documentation. Breaking changes There are no breaking changes in the release. New features Coveralls support (#149). Reusable testing workflow (integration testing with latest Tarantool) (#123). Simple CI based on GitHub actions (#114). Support UUID type in msgpack (#90). Go modules support (#91). queue-utube handling (#85). Master discovery (#113). SQL support (#62). Handle everything with `go test` (#115). Update API documentation: comments and examples (#123). Bugfixes Reset buffer if its average use size smaller than quater of capacity (#95). Fix queue tests (#107). Make test case consistent with comments (#105).
Overview This release adds a number of features and updates documentation. Breaking changes There are no breaking changes in the release. New features Coveralls support (#149). Reusable testing workflow (integration testing with latest Tarantool) (#112). Simple CI based on GitHub actions (#114). Support UUID type in msgpack (#90). Go modules support (#91). queue-utube handling (#85). Master discovery (#113). SQL support (#62). Handle everything with `go test` (#115). Update API documentation: comments and examples (#123). Bugfixes Reset buffer if its average use size smaller than quater of capacity (#95). Fix queue tests (#107). Make test case consistent with comments (#105).
Overview This release adds a number of features. Also it significantly improves testing, CI and documentation. Breaking changes There are no breaking changes in the release. New features Support UUID type in msgpack (#90). queue-utube handling (#85). Master discovery (#113). SQL support (#62). Bugfixes Reset buffer if its average use size smaller than quater of capacity (#95). Testing Coveralls support (#149). Reusable testing workflow (integration testing with latest Tarantool) (#112). Simple CI based on GitHub actions (#114). Handle everything with `go test` (#115). Fix queue tests (#107). Make test case consistent with comments (#105). Other Go modules support (#91). Update API documentation: comments and examples (#123).
Overview This release adds a number of features. Also it significantly improves testing, CI and documentation. Breaking changes There are no breaking changes in the release. New features Support UUID type in msgpack (#90). queue-utube handling (#85). Master discovery (#113). SQL support (#62). Bugfixes Reset buffer if its average use size smaller than quater of capacity (#95). Testing Coveralls support (#149). Reusable testing workflow (integration testing with latest Tarantool) (#112). Simple CI based on GitHub actions (#114). Handle everything with `go test` (#115). Fix queue tests (#107). Make test case consistent with comments (#105). Other Go modules support (#91). Update API documentation: comments and examples (#123).
How can I insert uuid field from Golang?
The text was updated successfully, but these errors were encountered: