MCPcopy Create free account
hub / github.com/apache/datafusion / as_struct_array

Function as_struct_array

datafusion/common/src/cast.rs:58–60  ·  view source on GitHub ↗

Downcast Array to StructArray

(array: &dyn Array)

Source from the content-addressed store, hash-verified

56
57// Downcast Array to StructArray
58pub fn as_struct_array(array: &dyn Array) -> Result<&StructArray> {
59 Ok(downcast_value!(array, StructArray))
60}
61
62// Downcast Array to Int8Array
63pub fn as_int8_array(array: &dyn Array) -> Result<&Int8Array> {

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…