aerospike-client-rust icon indicating copy to clipboard operation
aerospike-client-rust copied to clipboard

support bool data type

Open databasedav opened this issue 3 years ago • 1 comments

aerospike added a specific bool data type in 5.6 https://docs.aerospike.com/server/guide/data-types/scalar-data-types#boolean, after writing a bool with this data type in the python client https://aerospike-python-client.readthedocs.io/en/latest/aerospike.html#aerospike.AS_BOOL, reading from the record on the rust client panics, this addition is super convenient because otherwise we need to read the bools as ints on the rust client

databasedav avatar Jul 06 '22 01:07 databasedav

Coming next release.

khaf avatar Jul 06 '22 20:07 khaf

Took a while for the "next release", but it is released and includes this feature.

khaf avatar May 01 '23 12:05 khaf

@khaf thanks, can u also merge those those changes into the async branch?

databasedav avatar May 10 '23 00:05 databasedav

I did, but hit an error that wasn't immediately clear how to fix, and I had other pressing issues. Back on it now.

khaf avatar May 14 '23 12:05 khaf

Pushed.

khaf avatar May 15 '23 10:05 khaf