//! The [`fv_value`] expression dialect as DataFusion expressions.
//!
//! [`Translator`] turns a compiled [`fv_value::Expr`] into a `datafusion::logical_expr::Expr`
//! wherever the dialect's semantics can be reproduced exactly — so the planner can push it down to
//! a source, vectorize it and reorder it — and leaves the rest to a per-row fallback
//! ([`EvalUdf`]). The contract's conformance vectors, evaluated both natively and through
//! DataFusion, are the test that the two never disagree.
//!
//! ```
//! use std::sync::Arc;
//! use datafusion::arrow::datatypes::{DataType, Field, Schema};
//! use fv_value_datafusion::Translator;
//!
//! let schema = Arc::new(Schema::new(vec![
//! Field::new("status", DataType::Utf8, true),
//! Field::new("speed", DataType::Float64, true),
//! ]));
//! let expr = fv_value::compile("status == 'ACTIVE' && speed * 1.852 > 100").unwrap();
//! let t = Translator::new(schema).translate(&expr).unwrap();
//! assert!(t.exact);
//! // `t.expr` is a DataFusion `Expr` you can hand to `DataFrame::filter`.
//! ```
/// Every Rust code block in the README is compiled as a doctest.
;
pub use ;
pub use ;
pub use ;