An open API service indexing awesome lists of open source software.

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

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