Go driver for Apache Cassandra®

This page describes compatibility between the Apache Cassandra GoCQL driver and DSE, HCD, Astra DB, and open-source Cassandra.

The Apache Software Foundation maintains the Cassandra GoCQL driver (gocql) Latest gocql release on GitHub.

GoCQL compatibility

In addition to open-source Cassandra, GoCQL is compatible with Astra DB, DSE, and HCD.

For information about specific versions of Go and Apache Cassandra supported by GoCQL, see Supported Versions in the GoCQL documentation.

Versions 1.7.0 and earlier don’t support the Apache Cassandra 5.x built-in vector type.

Connect with GoCQL

To connect GoCQL to DSE, HCD, and open-source Cassandra, see Connecting to the cluster in the GoCQL documentation.

To use GoCQL with Astra DB, DataStax provides gocql-astra, which includes gocql and additional support for connections to Astra DB. For more information, see Connect to Astra DB with the Go driver.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2025 DataStax | Privacy policy | Terms of use | Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com