https://github.com/mustafaakin/go-drill
Go client for Apache Drill that utilizes REST API
https://github.com/mustafaakin/go-drill
apache drill go sql
Last synced: 2 months ago
JSON representation
Go client for Apache Drill that utilizes REST API
- Host: GitHub
- URL: https://github.com/mustafaakin/go-drill
- Owner: mustafaakin
- License: mit
- Created: 2016-11-27T07:53:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-04T05:40:57.000Z (over 8 years ago)
- Last Synced: 2025-08-14T05:33:45.396Z (8 months ago)
- Topics: apache, drill, go, sql
- Language: Go
- Size: 6.84 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-drill
Go client for Apache Drill that utilizes REST API
## Query Example
```go
d, err := NewDrillbit("http://localhost:8047")
type fileQuery struct {
Name string
IsDirectory string
IsFile bool `json:",string"`
Length uint64 `json:",string"`
Owner string
Group string
Permissions string
AccessTime string
ModificationTime string
}
res := make([]fileQuery, 0)
err = d.Query(&res, "show files in dfs")
```
## TODO
- [x] Queries
- [x] Profiles
- [x] Storage plugins
- [ ] Stats
- [ ] Options
- [ ] Test and coverage reports