dhegberg commented on code in PR #14657: URL: https://github.com/apache/datafusion/pull/14657#discussion_r1957220429
########## 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` Review Comment: Would this be better in alphabetical order? ########## 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 +- `math_expressions`: `sqrt` and other math functions +- `string_expressions`: string functions such as `concat` +- `parquet`: support for reading the [Apache Parquet] format +- `regex_expressions`: regular expression functions, such as `regexp_match` +- `unicode_expressions`: Include unicode aware functions such as `character_length` +- `unparser`: enables support to reverse LogicalPlans back into SQL Review Comment: This doesn't appear to be in the defaults list here: https://github.com/apache/datafusion/blob/40bb75fdbb9c19344bcd3953b5d26e672f2ae99a/datafusion/core/Cargo.toml#L49 ########## 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 +- `math_expressions`: `sqrt` and other math functions Review Comment: This doesn't appear to be in the defaults list here: https://github.com/apache/datafusion/blob/40bb75fdbb9c19344bcd3953b5d26e672f2ae99a/datafusion/core/Cargo.toml#L49 -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org