I'm working with some Arrow data in C# as a Table and need to convert this to RecordBatch to send over the wire via Arrow Flight. It's trivial to go the other way via Table.TableFromRecordBatches like this:
var schema = recordBatch.Schema;
var table = Table.TableFromRecordBatches(schema, new List<RecordBatch>{recordBatch});
I can't find / see a way to do the reverse. Does this exist, should it exist, is it not yet implemented?
Follow up question - should I just avoid using Table at all? It seems like most interop needs are met with RecordBatch, and maybe Table is not useful.