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 Cassandra #10

Open
jmdacruz opened this issue Sep 22, 2017 · 2 comments
Open

Support for Cassandra #10

jmdacruz opened this issue Sep 22, 2017 · 2 comments

Comments

@jmdacruz
Copy link

I'm thinking about adding support for Cassandra via https://github.com/gocql/gocql. How would one go about implementing this? Any good pointers? I've briefly looked at #7, but I'm not a go expert.

@bruth
Copy link
Contributor

bruth commented Sep 22, 2017

Hi @jmdacruz! Hm, currently sql-agent depends on drivers implementing the database/sql interfaces, but according to this this version of the driver does not (the previous one does).

I am not familiar with what is unique about Cassandra in terms of sending read queries, but for the scope of sql-agent, it may be easy to provide a small database/sql compatible implementation for this driver.

@jmdacruz
Copy link
Author

That makes sense, given to the distributed nature of Cassandra (e.g., consistency). You are probably right in that a small compatible subset of the queries could be made available via a a facade implementing the database/sql interface.

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