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