Closed algernon closed 9 years ago
Hi, thanks for the PR. The PR looks straightforward. I don't have a Cassandra cluster lying around to test quickly, so I'll take your word for it that it works. If I break things for another Cassandra user, I apologize in advance.
Unfortunately, erlcql only supports CQL3 over Cassandra binary protocol v1, while for recent Cassandras, we want v2. Thankfully, cqerl supports v2, and converting the cassandra_cql driver is reasonably simple.
This patch does just that - converts from erlcql to cqerl.
The change to
examples/cassandra_cql.config
can be avoided, if those deps are added toescript_incl_apps
inrebar.config
, but I think I'm starting to realize what that is good for, and why, so I opted to add it to the example instead. Let me know if I should move them elsewhere.