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

Function as_fixed_size_binary_array

datafusion/common/src/cast.rs:318–320  ·  view source on GitHub ↗

Downcast Array to FixedSizeBinaryArray

(array: &dyn Array)

Source from the content-addressed store, hash-verified

316
317// Downcast Array to FixedSizeBinaryArray
318pub fn as_fixed_size_binary_array(array: &dyn Array) -> Result<&FixedSizeBinaryArray> {
319 Ok(downcast_value!(array, FixedSizeBinaryArray))
320}
321
322// Downcast Array to GenericBinaryArray
323pub fn as_generic_string_array<T: OffsetSizeTrait>(

Callers 4

spark_crc32Function · 0.85
spark_sha1Function · 0.85
compute_hexFunction · 0.85
try_from_arrayMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…