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

Function dataset___DatasetFactory__Inspect

r/src/dataset.cpp:154–161  ·  view source on GitHub ↗

[[dataset::export]]

Source from the content-addressed store, hash-verified

152
153// [[dataset::export]]
154std::shared_ptr<arrow::Schema> dataset___DatasetFactory__Inspect(
155 const std::shared_ptr<ds::DatasetFactory>& factory, bool unify_schemas) {
156 ds::InspectOptions opts;
157 if (unify_schemas) {
158 opts.fragments = ds::InspectOptions::kInspectAllFragments;
159 }
160 return ValueOrStop(factory->Inspect(opts));
161}
162
163// [[dataset::export]]
164std::shared_ptr<ds::DatasetFactory> dataset___UnionDatasetFactory__Make(

Calls 2

ValueOrStopFunction · 0.85
InspectMethod · 0.45

Tested by

no test coverage detected