I want a structured v2 connector API for opening Hive connections through Go's database/sql interfaces…
I want a structured v2 connector API for opening Hive connections through Go's database/sql interfaces…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). I need NewConnector(cfg Config) HiveConnector to retain the provided config for later use, OpenDB(cfg Config)…
The task
I need `NewConnector(cfg Config) *HiveConnector` to retain the provided config for later use, `OpenDB(cfg Config) *sql.DB` to return `sql.OpenDB(NewConnector(cfg))`, and `(*HiveConnector).Driver() driver.Driver` to return the package's `*Driver`. Calling `(*HiveConnector).Connect(ctx context.Context) (driver.Conn,…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.