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

Function as_int32_array

datafusion/common/src/cast.rs:83–85  ·  view source on GitHub ↗

Downcast Array to Int32Array

(array: &dyn Array)

Source from the content-addressed store, hash-verified

81
82// Downcast Array to Int32Array
83pub fn as_int32_array(array: &dyn Array) -> Result<&Int32Array> {
84 Ok(downcast_value!(array, Int32Array))
85}
86
87// Downcast Array to UInt32Array
88pub fn as_uint32_array(array: &dyn Array) -> Result<&UInt32Array> {

Callers 15

batches_to_vecFunction · 0.85
case_with_exprFunction · 0.85
case_with_expr_elseFunction · 0.85
case_without_exprFunction · 0.85
case_with_expr_when_nullFunction · 0.85
case_without_expr_elseFunction · 0.85
literal_i32Function · 0.85

Calls

no outgoing calls

Tested by 15

case_with_exprFunction · 0.68
case_with_expr_elseFunction · 0.68
case_without_exprFunction · 0.68
case_with_expr_when_nullFunction · 0.68
case_without_expr_elseFunction · 0.68
literal_i32Function · 0.68
record_batch_to_vecFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…