MCPcopy Create free account
hub / github.com/apache/arrow / ToTable

Method ToTable

cpp/src/arrow/flight/types.cc:1056–1060  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1054}
1055
1056arrow::Result<std::shared_ptr<Table>> MetadataRecordBatchReader::ToTable() {
1057 ARROW_ASSIGN_OR_RAISE(auto batches, ToRecordBatches());
1058 ARROW_ASSIGN_OR_RAISE(auto schema, GetSchema());
1059 return Table::FromRecordBatches(schema, std::move(batches));
1060}
1061
1062Status MetadataRecordBatchWriter::Begin(const std::shared_ptr<Schema>& schema) {
1063 return Begin(schema, ipc::IpcWriteOptions::Defaults());

Callers 6

TEST_FMethod · 0.45
ARROW_ASSIGN_OR_RAISEMethod · 0.45
ValidateMethod · 0.45
acero_test.ccFile · 0.45
TEST_FFunction · 0.45
ParquetReadFunction · 0.45

Calls

no outgoing calls

Tested by 4

TEST_FMethod · 0.36
ARROW_ASSIGN_OR_RAISEMethod · 0.36
ValidateMethod · 0.36
TEST_FFunction · 0.36