Cargo Features

datafusion-server has no features set by default.

[dependencies]
datafusion-server = { version = "0.19.3", features = ["plugin", "flight", "avro", "webdav", "deltalake", "telemetry", "postgres", "mysql"] }
plugin = pyo3

Enables pyarrow of datafusion ^42.1.0

Affects session::Session.append_from_connector_plugin, session_manager::SessionManager.append_connector_plugin, data_source::connector_plugin, nd_json::from_bytes_to_record_batch, convert_py_data::append_to_py_dict, definition::PluginType, definition::General, definition::Plugin, definition::Definition, init_python::py_init, plugin::exec_processor, body::PluginOption, body::DataSource.plugin_options, body::PostProcessor, body::QueryLanguage.post_processors

flight = arrow-flight, tonic

Affects session::Session.append_from_flight_client, session_manager::SessionManager.append_record_batch, session_manager::SessionManager.append_from_flight_client, data_source::flight_stream, metrics::track_flight, server::flight, metrics::track_flight

avro

Enables avro of datafusion ^42.1.0

datafusion:

Used to enable the avro format

webdav

Enables http of object_store

Affects uri::parts_to_string, build_store::webdav, settings::StorageHttp

deltalake = delta_kernel

Affects session::Session.append_from_deltalake, session_manager::SessionManager.append_from_deltalake, data_source::deltalake

telemetry = metrics, metrics-exporter-prometheus, sysinfo

Affects metrics::create_server, metrics::track_http, metrics::track_session_context_duration, metrics::track_session_contexts_total, metrics::track_data_sources_total, metrics::track_flight

postgres

Enables postgres and uuid of sqlx

Affects dtype_postgres::to_arrow_dtype, settings::DatabaseConfigPostgres, data_source::database, settings::Database, settings::Settings.databases, settings::Settings.database_pool_manager

mysql

Enables mysql of sqlx

Affects dtype_mysql::to_arrow_dtype, settings::DatabaseConfigMySQL, data_source::database, settings::Database, settings::Settings.databases, settings::Settings.database_pool_manager

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tonic flight?
arrow-flight flight?
pyo3 plugin?

Enables pyo3 ^0.22.5

delta_kernel deltalake?

Enables delta_kernel ^0.3.1

metrics telemetry?
metrics-exporter-prometheus telemetry?
sysinfo telemetry?
sqlx mysql? postgres?