private static async ValueTask InsertRowsAsync( IKuduSession session, KuduTable table, int startRow, int numRows) { var end = startRow + numRows; for (var i = startRow; i < end; i++) { var insert = ClientTestUtil.CreateBasicSchemaInsert(table, i); await session.EnqueueAsync(insert); } }
public async Task InitializeAsync() { _harness = await new MiniKuduClusterBuilder().BuildHarnessAsync(); _client = _harness.CreateClient(); _session = _client.NewSession(); }