Expand description
re-export of datafusion_functions crate
Modules§
- core
- Core datafusion expressions These are always available and not controlled by a feature flag “core” DataFusion functions
- crypto
- “crypto” DataFusion functions
- datetime
- Date and time expressions.
Contains functions such as to_timestamp
Enabled via feature flag
datetime_expressionsdate & time DataFusion functions - encoding
- Encoding expressions.
Contains Hex and binary
encodeanddecodefunctions. Enabled via feature flagencoding_expressions - expr_fn
- Fluent-style API for creating
Exprs - macros
- math
- Mathematical functions.
Enabled via feature flag
math_expressions“math” DataFusion functions - planner
- SQL planning extensions like
UserDefinedFunctionPlanner - regex
- Regular expression functions.
Enabled via feature flag
regex_expressions“regex” DataFusion functions - string
- “string” DataFusion functions
- strings
- unicode
- “unicode” DataFusion functions
- utils
Macros§
- downcast_
arg - Downcast an argument to a specific array type, returning an internal error if the cast fails
- downcast_
named_ arg - Downcast a named argument to a specific array type, returning an internal error if the cast fails
- export_
functions - macro that exports a list of function names as:
- make_
udf_ function - Creates a singleton
ScalarUDFof the$UDFfunction and a function named$NAMEwhich returns that singleton. - make_
udf_ function_ with_ config - Creates a singleton
ScalarUDFof the$UDFfunction and a function named$NAMEwhich returns that singleton. The function takes a configuration argument of type$CONFIG_TYPEto create the UDF.
Functions§
- all_
default_ functions - Return all default functions
- register_
all - Registers all enabled packages with a
FunctionRegistry