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 for AWS Managed Cassandra missing data types #608

Open
twstewart42 opened this issue Feb 3, 2020 · 1 comment
Open

Support for AWS Managed Cassandra missing data types #608

twstewart42 opened this issue Feb 3, 2020 · 1 comment

Comments

@twstewart42
Copy link

twstewart42 commented Feb 3, 2020

AWS recently released a managed cassandra service. We've tried to hook kairsodb up to MCS but got stuck with errors for unsupported data types, Frozen and static. We were unable to do any testing beyond this with KairosDB.

https://docs.aws.amazon.com/mcs/latest/devguide/cassandra-apis.html

Would it be possible to create row_keys and service_index without frozen and static data types?

"  tags frozen<map<text, text>>,\n" +
"  mtime timeuuid static,\n" +

Error when connecting to MCS

[Thread-1] ERROR [Main.java:398] - Shutdown exception:
com.google.inject.ProvisionException: Unable to provision, see the following errors:

  1. Error in custom provider, com.datastax.driver.core.exceptions.InvalidQueryException: org.apache.cassandra.db.marshal.FrozenType(org.apache.cassandra.db.marshal.MapType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type)) type is not supported for PRIMARY KEY part tags
@brianhks
Copy link
Member

The static mtime allows me to know when the last time a partition was updated, this is for the service key stuff.

The frozen map is required in order to use the map as a clustering column. What does MCS offer in order to replace these?

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