(ctx context.Context, r *require.Assertions)
| 88 | } |
| 89 | |
| 90 | func withPluginClient(ctx context.Context, r *require.Assertions) *Client { |
| 91 | s := &Spec{ConnectionString: ":memory:"} |
| 92 | b, err := json.Marshal(s) |
| 93 | r.NoError(err) |
| 94 | c, err := New(ctx, zerolog.Nop(), b, plugin.NewClientOptions{}) |
| 95 | r.NoError(err) |
| 96 | return c.(*Client) |
| 97 | } |
| 98 | |
| 99 | func valueToArrowRecord(tableName string, value string) arrow.RecordBatch { |
| 100 | bldrDeleteMatch := array.NewRecordBuilder(memory.DefaultAllocator, (&schema.Table{ |