-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdoc.go
28 lines (28 loc) · 889 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Package drill is a highly efficient Pure Go client and driver for Apache Drill
// and Dremio.
//
// A driver for the database/sql package is also provided via the driver subpackage.
// This can be used like so:
//
// import (
// "database/sql"
//
// _ "github.com/factset/go-drill/driver"
// )
//
// func main() {
// props := []string{
// "zk=zookeeper1,zookeeper2,zookeeper3",
// "auth=kerberos",
// "service=<krb_service_name>",
// "cluster=<clustername>",
// }
//
// db, err := sql.Open("drill", strings.Join(props, ";"))
// }
//
// Also, currently logging of the internals can be turned on via the environment
// variable GO_DRILL_LOG_LEVEL. This uses github.com/rs/zerolog to do the logging
// so anything that is valid to pass to the zerolog.ParseLevel function is valid
// as a value for the environment variable.
package drill