MCPcopy Create free account
hub / github.com/apache/arrow-rs / empty

Method empty

arrow-schema/src/schema.rs:196–201  ·  view source on GitHub ↗

Creates an empty `Schema`

()

Source from the content-addressed store, hash-verified

194impl Schema {
195 /// Creates an empty `Schema`
196 pub fn empty() -> Self {
197 Self {
198 fields: Default::default(),
199 metadata: HashMap::new(),
200 }
201 }
202
203 /// Creates a new [`Schema`] from a sequence of [`Field`] values.
204 ///

Callers

nothing calls this directly

Calls 1

defaultFunction · 0.85

Tested by

no test coverage detected