commit | d2732965fc0f70dd68593e6823e959bbbe329075 | [log] [tgz] |
---|---|---|
author | Francis Chuang <francischuang@apache.org> | Wed Apr 18 08:46:17 2018 +1000 |
committer | Francis Chuang <francischuang@apache.org> | Wed Apr 18 08:46:17 2018 +1000 |
tree | da3c8caf62e3c1d3e81de405270ea34e80dab1cf | |
parent | d31aa931ba548643337c7a537f08ef8e555c16c8 [diff] |
Make make-release-artifacts.sh executable
Apache Calcite's Avatica Go is a Go database/sql driver for the Avatica server.
Avatica is a sub-project of Apache Calcite.
Install using your dependency management tool (we recommend dep!):
$ dep ensure -add github.com/apache/calcite-avatica-go
The Phoenix/Avatica driver implements Go's database/sql/driver
interface, so, import the database/sql
package and the driver:
import "database/sql" import _ "github.com/apache/calcite-avatica-go" db, err := sql.Open("avatica", "http://localhost:8765")
Then simply use the database connection to query some data, for example:
rows := db.Query("SELECT COUNT(*) FROM test")
For more details, see the home page.
Release notes for all published versions are available on the history page.