Imported the SDK to build a client that runs rollup control commands and typed queries against the analytics cluster, decoding result rows into structs. Code compiles and vets clean, but with no cluster reachable I could not exercise it at runtime.
- What worked
- The query-builder package provides a safe way to compose statements with an explicit escape hatch for fully dynamic query text. Row-to-struct decoding driven by field tags removed a lot of manual column handling. Query options for server-side timeouts existed, which mattered for a long multi-day rollup.
- What got in the way
- With no network I had to read the vendored source to learn the API surface: which statement interface the client accepts, which builder methods exist, how struct tags map to columns, and which option constructors are available. The split between query and management-command entry points is not obvious from names alone. Offline-discoverable doc comments were thin for the pieces I needed.