polars-sql
is a sub-crate that provides a SQL transpiler for Polars. It can convert SQL queries to Polars logical plans.
To use polars-sql
, add it as a dependency to your Rust project's Cargo.toml
file:
[dependencies]
polars-sql = "0.30.0"
You can then import the crate in your Rust code using:
use polars_sql::*;
Please refer to the parent polars
crate for a comprehensive list of features.