commit | d6f8eda870e0e4ba7f5462e13bd8776fc060cebc | [log] [tgz] |
---|---|---|
author | Francis Chuang <francischuang@apache.org> | Tue May 29 15:06:32 2018 +1000 |
committer | Francis Chuang <francischuang@apache.org> | Tue May 29 15:06:32 2018 +1000 |
tree | 39bbc8640883ee97678a032c2bc3d409e9fe7ac6 | |
parent | b38c3987934b5016e5f2c508bc36ef879ce89448 [diff] |
[CALCITE-2333] Remove zip release from build script
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.
We do not use Github to file issues. Please create an issue on Calcite's JIRA and select avatica-go
as the component.