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

Function GetDataset

cpp/examples/arrow/execution_plan_documentation_examples.cc:141–145  ·  view source on GitHub ↗

\brief Create a sample dataset \return An in-memory dataset based on GetTable()

Source from the content-addressed store, hash-verified

139/// \brief Create a sample dataset
140/// \return An in-memory dataset based on GetTable()
141arrow::Result<std::shared_ptr<arrow::dataset::Dataset>> GetDataset() {
142 ARROW_ASSIGN_OR_RAISE(auto table, GetTable());
143 auto ds = std::make_shared<arrow::dataset::InMemoryDataset>(table);
144 return ds;
145}
146
147arrow::Result<cp::ExecBatch> GetExecBatchFromVectors(
148 const arrow::FieldVector& field_vector, const arrow::ArrayVector& array_vector) {

Callers 5

MakeGroupableBatchesFunction · 0.70
ScanFilterSinkExampleFunction · 0.70
ScanProjectSinkExampleFunction · 0.70
ScanFilterWriteExampleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected