Skip to content

Commit

Permalink
cr
Browse files Browse the repository at this point in the history
Signed-off-by: Achal Shah <achals@gmail.com>
  • Loading branch information
achals committed Aug 9, 2022
1 parent 451786c commit 2e4e2a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started/concepts/data-ingestion.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ materialize_bash = BashOperator(

</details>

### Batch Data Schema Inference
### Batch data schema inference

If the `schema` parameter is not specified when defining a data source, Feast attempts to infer the schema of the data source during `feast apply`.
The way it does this depends on the implementation of the offline store. For the offline stores that ship with Feast out of the box this inference is performed by inspecting the schema of the table in the cloud data warehouse,
Expand Down
6 changes: 3 additions & 3 deletions docs/getting-started/concepts/feature-repo.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

A feature repository is the collection of python files that define entities, feature views and data sources. Feature Repos also have a `feature_store.yaml` file at their root.

Users can collaborate by making and reviewing changes to feast object definitions (feature views, entities, etc) in the feature repo.
But, these objects must be applied, either through API, or the CLI, for them to be available by downstream feast actions (such as materialization, or retrieving online features). Internally, Feast only looks at the registry when performing these actions, and not at the feature repo directly.
Users can collaborate by making and reviewing changes to Feast object definitions (feature views, entities, etc) in the feature repo.
But, these objects must be applied, either through API, or the CLI, for them to be available by downstream Feast actions (such as materialization, or retrieving online features). Internally, Feast only looks at the registry when performing these actions, and not at the feature repo directly.

## Declarative Feature Definitions

When using the CLI to apply changes (via `feast apply`), the CLI determines the state of the feature repo from the source files and updates the registry state to reflect the definitions in the feature repo files.
This means that new feature views are added to the registry, existing feature views are updated as necessary, and feast objects removed from the source files are deleted from the registry.
This means that new feature views are added to the registry, existing feature views are updated as necessary, and Feast objects removed from the source files are deleted from the registry.

0 comments on commit 2e4e2a7

Please sign in to comment.