问题
When querying a Cassandra 3.0.0 cluster using Presto 0.131 I get:
All host(s) tried for query failed [..snip...] InvalidQueryException: unconfigured table schema_keyspaces
I assume this is due to some change in Cassandra's system schemas? If so is there a workaround or should we wait for Presto to support Cassandra 3.0.0?
2016-11-05 Update : Newer versions of PrestoDB work fine with Cassandra 3+. Currently using 0.147 but the latest version is 0.156 and they all work fine with the new protocol. Thanks for your replies.
回答1:
Yeah you guessed correctly - there was a change in schema storage between Cassandra 2.2.4 and 3.0.0. See here for more information. The actual change to the schema is described in this issue.
来源:https://stackoverflow.com/questions/34611382/is-there-a-way-to-use-facebook-presto-0-131-with-cassandra-3-0-0