The `databricks-feature-engineering` library provides a Python client for interacting with Databricks Feature Engineering. It allows users to programmatically create, manage, and utilize feature tables within Databricks, streamlining the development and deployment of machine learning features. It integrates with Databricks Workflows and MLflow. The current version is 0.14.0, with frequent minor releases introducing new features, bug fixes, and occasional breaking changes due to its pre-1.0 status.
pip install databricks-feature-engineeringVerified import paths — ran on the pinned version, not inferred.
Initializes the `FeatureEngineeringClient`. This client automatically handles authentication if run within a Databricks environment or if `DATABRICKS_HOST` and `DATABRICKS_TOKEN` environment variables are set. While the client can initialize without `pyspark`, most feature table operations (like `create_feature_table` or `write_table`) require an active SparkSession.
Update calls to `write_table` to use the new parameter name: `databricks_online_table_client` instead of `online_store_client`.
Migrate any usage of `DatabricksDbfsClient` to alternative methods for interacting with DBFS, typically using the `dbutils.fs` in Databricks notebooks or the `databricks-sdk`'s `DbfsAPI`.
Remove the `online_store_client` argument from calls to `create_online_table` and `drop_online_table`. The online store client is now managed internally.
Ensure your code runs within a Databricks notebook/job or has Databricks Connect properly configured and initialized, providing access to an active `SparkSession`.