Module datafusion::prelude[][src]

A “prelude” for users of the datafusion crate.

Like the standard library’s prelude, this module simplifies importing of common items. Unlike the standard prelude, the contents of this module must be imported manually:

use datafusion::prelude::*;

Re-exports

pub use crate::dataframe::DataFrame;
pub use crate::execution::context::ExecutionConfig;
pub use crate::execution::context::ExecutionContext;
pub use crate::physical_plan::csv::CsvReadOptions;

Enums

JoinType

Join type

Partitioning

Logical partitioning schemes supported by the repartition operator.

Functions

array

returns an array of fixed size with each argument on it.

ascii
avg

Create an expression to represent the avg() aggregate function

bit_length
btrim
character_length
chr
col

Create a column expression based on a column name

concat
concat_ws
count

Create an expression to represent the count() aggregate function

create_udf

Creates a new UDF with a specific signature and specific return type. This is a helper function to create a new UDF. The function create_udf returns a subset of all possible ScalarFunction:

in_list

Create an in_list expression

initcap
left
length
lit

Create a literal expression

lower
lpad
ltrim
max

Create an expression to represent the max() aggregate function

md5
min

Create an expression to represent the min() aggregate function

octet_length
regexp_replace
repeat
replace
reverse
right
rpad
rtrim
sha224
sha256
sha384
sha512
split_part
starts_with
strpos
substr
sum

Create an expression to represent the sum() aggregate function

to_hex
translate
trim
upper