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

Function as_float32_array

datafusion/common/src/cast.rs:128–130  ·  view source on GitHub ↗

Downcast Array to Float32Array

(array: &dyn Array)

Source from the content-addressed store, hash-verified

126
127// Downcast Array to Float32Array
128pub fn as_float32_array(array: &dyn Array) -> Result<&Float32Array> {
129 Ok(downcast_value!(array, Float32Array))
130}
131
132// Downcast Array to Float64Array
133pub fn as_float64_array(array: &dyn Array) -> Result<&Float64Array> {

Callers 14

convert_to_f64_arrayFunction · 0.85
test_truncate_32Function · 0.85
test_cot_f32Function · 0.85
test_signum_f32Function · 0.85
test_nanvl_f32Function · 0.85
test_round_f32Function · 0.85
test_round_f32_one_inputFunction · 0.85
test_log_scalar_f32Function · 0.85

Calls

no outgoing calls

Tested by 10

test_truncate_32Function · 0.68
test_cot_f32Function · 0.68
test_signum_f32Function · 0.68
test_nanvl_f32Function · 0.68
test_round_f32Function · 0.68
test_round_f32_one_inputFunction · 0.68
test_log_scalar_f32Function · 0.68
test_log_f32_unaryFunction · 0.68
test_log_f32Function · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…