Docs.rs
  • datafusion-common-21.0.0
    • datafusion-common 21.0.0
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • andygrove
    • kou
    • nevi-me
    • alamb
    • xudong963
    • Dependencies
      • apache-avro ^0.14 normal
      • arrow ^34.0.0 normal
      • arrow-array ^35.0.0 normal
      • chrono ^0.4 normal
      • cranelift-module ^0.92.0 normal
      • num_cpus ^1.13.0 normal
      • object_store ^0.5.4 normal
      • parquet ^34.0.0 normal
      • pyo3 ^0.18.0 normal
      • sqlparser ^0.32 normal
      • rand ^0.8.4 dev
    • Versions
    • 80% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Module cast

  • Functions
?
Change settings

Module datafusion_common::cast

source ·
Expand description

This module provides DataFusion specific casting functions that provide error handling. They are intended to “never fail” but provide an error message rather than a panic, as the corresponding kernels in arrow-rs such as as_boolean_array do.

Functions

  • as_binary_array
  • as_boolean_array
  • as_date32_array
  • as_date64_array
  • as_decimal128_array
  • as_dictionary_array
  • as_fixed_size_binary_array
  • as_fixed_size_list_array
  • as_float32_array
  • as_float64_array
  • as_generic_binary_array
  • as_generic_list_array
  • as_generic_string_array
  • as_int32_array
  • as_int64_array
  • as_large_list_array
  • as_list_array
  • as_map_array
  • as_null_array
  • as_primitive_array
  • as_string_array
  • as_struct_array
  • as_timestamp_microsecond_array
  • as_timestamp_millisecond_array
  • as_timestamp_nanosecond_array
  • as_timestamp_second_array
  • as_uint32_array
  • as_uint64_array
  • as_union_array