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

Deprecated unsupported key types #43

Closed
jhecking opened this issue Jan 4, 2017 · 1 comment
Closed

Deprecated unsupported key types #43

jhecking opened this issue Jan 4, 2017 · 1 comment
Assignees
Milestone

Comments

@jhecking
Copy link
Contributor

jhecking commented Jan 4, 2017

Aerospike officially supports only integers, strings and bytes as record keys [1]. However the Ruby client currently accepts any data type as record key that is supported as a bin value, i.e. floats and even complex data types such as lists and maps are accepted as record keys.

Support for record keys other than integer, string and bytes should be deprecated in v2.x and removed in v3.0.

[1] http://www.aerospike.com/docs/architecture/data-model.html

@jhecking jhecking self-assigned this Jan 4, 2017
@jhecking jhecking added this to the v2.3.0 milestone Jan 4, 2017
@jhecking jhecking closed this as completed Jan 4, 2017
@jhecking
Copy link
Contributor Author

jhecking commented Jan 4, 2017

The client will warn whenever a key of unsupported type is created. Call Aerospike::Key.disable_unsupported_key_warning! to suppress the warning.

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

1 participant