Module spark_connect_rs::expressions

source ·
Expand description

The spark-connect-rs crate is currently just a meta-package shim for spark-connect-core Traits for converting Rust Types to Spark Connect Expression Types

Spark Connect has a few different ways of creating expressions and different gRPC methods require expressions in different forms. These traits are used to either translate a value into a spark::Expression or into a spark::expression::Literal.

§Overview

Traits§

  • Translate string values into a spark::Expression
  • Create a filter expression
  • Translate a rust value into a literal type
  • Wrap a literal value into a spark::Expression
  • Translate values into a Vec<spark::Expression>