clickhouse_datafusion/
lib.rs

1#![doc = include_str!("../README.md")]
2pub mod analyzer;
3mod builders;
4mod connection;
5mod context;
6pub mod dialect;
7#[cfg(feature = "federation")]
8pub mod federation;
9pub mod prelude;
10pub mod providers;
11mod sink;
12pub mod sql;
13pub mod stream;
14pub mod udfs;
15pub mod utils;
16
17pub use builders::*;
18pub use connection::*;
19// Builders, utilities, traits, and implementations for bridging `ClickHouse`, through
20// [`clickhouse_arrow`], and [`DataFusion`](https://docs.rs/datafusion/latest/datafusion/)
21//
22// The simplest way to use `ClickHouse` in `DataFusion` is to use the builder
23// [`ClickHouseBuilder`].
24//
25// If the "federation" feature is enabled then `ClickHouse` databases and
26// tables can be queried and joined across non-ClickHouse sources.
27pub use context::*;
28pub use providers::*;
29pub use sink::*;
30
31#[cfg(feature = "test-utils")]
32mod dev_deps {
33    use {tokio as _, tracing_subscriber as _};
34}