Emulate DoGet with DoExchange.
(self, context, reader, writer)
| 478 | f"Unknown command: {descriptor.command}") |
| 479 | |
| 480 | def exchange_do_get(self, context, reader, writer): |
| 481 | """Emulate DoGet with DoExchange.""" |
| 482 | data = pa.Table.from_arrays([ |
| 483 | pa.array(range(0, 10 * 1024)) |
| 484 | ], names=["a"]) |
| 485 | writer.begin(data.schema) |
| 486 | writer.write_table(data) |
| 487 | |
| 488 | def exchange_do_put(self, context, reader, writer): |
| 489 | """Emulate DoPut with DoExchange.""" |
no test coverage detected