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
) .
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.