Feast CLI reference
Overview
The Feast CLI comes bundled with the Feast Python package. It is immediately available after installing Feast.
Global Options
The Feast CLI provides one global top-level option that can be used with other commands
chdir (-c, --chdir)
This command allows users to run Feast CLI commands in a different folder from the current working directory.
Apply
Creates or updates a feature store deployment
What does Feast apply do?
Feast will scan Python files in your feature repository and find all Feast object definitions, such as feature views, entities, and data sources.
Feast will validate your feature definitions (e.g. for uniqueness of features)
Feast will sync the metadata about Feast objects to the registry. If a registry does not exist, then it will be instantiated. The standard registry is a simple protobuf binary file that is stored on disk (locally or in an object store).
Feast CLI will create all necessary feature store infrastructure. The exact infrastructure that is deployed or configured depends on the
provider
configuration that you have set infeature_store.yaml
. For example, settinglocal
as your provider will result in asqlite
online store being created.
feast apply
(when configured to use cloud provider like gcp
or aws
) will create cloud infrastructure. This may incur costs.
Entities
List all registered entities
Feature views
List all registered feature views
Init
Creates a new feature repository
It's also possible to use other templates
or to set the name of the new project
Materialize
Load data from feature views into the online store between two dates
Load data for specific feature views into the online store between two dates
Materialize incremental
Load data from feature views into the online store, beginning from either the previous materialize
or materialize-incremental
end date, or the beginning of time.
Teardown
Tear down deployed feature store infrastructure
Version
Print the current Feast version