commit | 273c53f62206c90e6a4fbb05f4ac82b7f62cb9a7 | [log] [tgz] |
---|---|---|
author | Francis Chuang <francischuang@apache.org> | Mon Apr 23 09:49:31 2018 +1000 |
committer | Francis Chuang <francischuang@apache.org> | Mon Apr 23 09:49:31 2018 +1000 |
tree | dfb5d1fca371510edc5558dad5540db19cb7e389 | |
parent | feb636fcbf37455d900dbd78cc20a9897dfe94ce [diff] |
Update make artifacts script to nest artifacts within named release folder for easier upload to Apache release site
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.