简介
https://github.com/lwldcr/gohive
花了一周时间才调通,看log配合Hive的源码一步步debug相当费事,基本是按照pyhs2来实现的,支持SASL协议Plain模式,其他模式看后续是否需要酌情增加。客户端、查询操作返回数据还可以进一步封装,提供更便捷的使用,后面再更新吧。
欢迎试用、反馈。
GoHive
A hive client with SASL support based on thrift.
Usage
package main
import (
"fmt"
"tcliservice"
"github.com/lwldcr/gohive"
"os"
)
func main() {
// first build a new transport
// of course we c