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

Function as_float64_array

datafusion/common/src/cast.rs:133–135  ·  view source on GitHub ↗

Downcast Array to Float64Array

(array: &dyn Array)

Source from the content-addressed store, hash-verified

131
132// Downcast Array to Float64Array
133pub fn as_float64_array(array: &dyn Array) -> Result<&Float64Array> {
134 Ok(downcast_value!(array, Float64Array))
135}
136
137// Downcast Array to StringArray
138pub fn as_string_array(array: &dyn Array) -> Result<&StringArray> {

Callers 15

simple_udfFunction · 0.85
simple_udafFunction · 0.85
advanced_udafFunction · 0.85
case_with_type_castFunction · 0.85
general_cosine_distanceFunction · 0.85
convert_to_f64_arrayFunction · 0.85
general_inner_productFunction · 0.85

Calls

no outgoing calls

Tested by 15

case_with_type_castFunction · 0.68
custom_sqrtFunction · 0.68
test_truncate_64Function · 0.68
test_truncate_64_one_argFunction · 0.68
test_cot_f64Function · 0.68
test_signum_f64Function · 0.68
test_nanvl_f64Function · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…