alamb commented on code in PR #14657:
URL: https://github.com/apache/datafusion/pull/14657#discussion_r1955241797
##########
docs/source/user-guide/crate-configuration.md:
##########
@@ -25,7 +25,47 @@ control DataFusion's behavior.
[configuration settings]: configs.md
-## Add latest non published DataFusion dependency
+## Crate features
+
+The `datafusion` crate has several [features] which can be specified in your
`Cargo.toml`. For example
+to enable support for `avro` you can put the following in your `Cargo.toml`:
+
+```toml
+datafusion = { version = "45", features = [avro] }
+```
+
+[features]: https://doc.rust-lang.org/cargo/reference/features.html
+
+You can always check the [Cargo.toml] file for the most up to date list of
features.
+
+[cargo.toml]:
https://github.com/apache/datafusion/blob/main/datafusion/core/Cargo.toml#L39
+
+### Default features:
+
+- `nested_expressions`: functions for working with nested type function such
as `array_to_string`
+- `compression`: reading files compressed with `xz2`, `bzip2`, `flate2`, and
`zstd`
+- `crypto_expressions`: cryptographic functions such as `md5` and `sha256`
+- `datetime_expressions`: date and time functions such as `to_timestamp`
+- `encoding_expressions`: `encode` and `decode` functions
Review Comment:
There were also a few missing items here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]