-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: BigTable online store #3140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
feast-ci-bot
merged 24 commits into
feast-dev:master
from
chhabrakadabra:bigtable_online_store
Oct 5, 2022
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
b349ad6
Initial implementation of BigTable online store.
chhabrakadabra f9f45bb
Attempt to run bigtable integration tests.
chhabrakadabra 2a1a863
Got the BigTable tests running in local containers
chhabrakadabra 96814d6
Set serialization version when computing entity ID
chhabrakadabra 6e6233f
Switch to the recommended layout in bigtable.
chhabrakadabra 2a0d09a
Minor bugfixes.
chhabrakadabra 98532a5
Move BigTable online store out of contrib
chhabrakadabra 2a65fef
Attempt to run integration tests in CI.
chhabrakadabra de795f3
Delete tables for entity-less feature views.
chhabrakadabra bf798e8
Table names should be smaller than 50 characters
chhabrakadabra eb3ab91
Optimize bigtable reads.
chhabrakadabra 1383b7e
dynamodb: switch to `mock_dynamodb`
chhabrakadabra 6986fa9
minor: rename `BigTable` to `Bigtable`
chhabrakadabra 3cd76a8
Wrote some Bigtable documentation.
chhabrakadabra c7449cc
Bugfix: Deal with missing row keys.
chhabrakadabra f356312
Fix linting issues.
chhabrakadabra ff62c6b
Generate requirements files.
chhabrakadabra cce3602
Don't bother materializing created timestamp.
chhabrakadabra 943ee3f
Remove `tensorflow-metadata`.
chhabrakadabra ab80b42
Minor fix to Bigtable documentation.
chhabrakadabra 4755745
update roadmap docs
adchia c0f2d8e
Fix roadmap doc
adchia 2d6bdac
Change link to point to roadmap page
adchia 992c318
change order in roadmap
adchia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| # Bigtable online store | ||
|
|
||
| ## Description | ||
|
|
||
| The [Bigtable](https://cloud.google.com/bigtable) online store provides support for | ||
| materializing feature values into Cloud Bigtable. The data model used to store feature | ||
| values in Bigtable is described in more detail | ||
| [here](../../specs/online_store_format.md#google-bigtable-online-store-format). | ||
|
|
||
| ## Getting started | ||
|
|
||
| In order to use this online store, you'll need to run `pip install 'feast[gcp]'`. You | ||
| can then get started with the command `feast init REPO_NAME -t gcp`. | ||
|
|
||
| ## Example | ||
|
|
||
| {% code title="feature_store.yaml" %} | ||
| ```yaml | ||
| project: my_feature_repo | ||
| registry: data/registry.db | ||
| provider: gcp | ||
| online_store: | ||
| type: bigtable | ||
| project_id: my_gcp_project | ||
| instance: my_bigtable_instance | ||
| ``` | ||
| {% endcode %} | ||
|
|
||
| The full set of configuration options is available in | ||
| [BigtableOnlineStoreConfig](https://rtd.feast.dev/en/latest/#feast.infra.online_stores.bigtable.BigtableOnlineStoreConfig). | ||
|
|
||
| ## Functionality Matrix | ||
|
|
||
| The set of functionality supported by online stores is described in detail [here](overview.md#functionality). | ||
| Below is a matrix indicating which functionality is supported by the Bigtable online store. | ||
|
|
||
| | | Bigtable | | ||
| |-----------------------------------------------------------|----------| | ||
| | write feature values to the online store | yes | | ||
| | read feature values from the online store | yes | | ||
| | update infrastructure (e.g. tables) in the online store | yes | | ||
| | teardown infrastructure (e.g. tables) in the online store | yes | | ||
| | generate a plan of infrastructure changes | no | | ||
| | support for on-demand transforms | yes | | ||
| | readable by Python SDK | yes | | ||
| | readable by Java | no | | ||
| | readable by Go | no | | ||
| | support for entityless feature views | yes | | ||
| | support for concurrent writing to the same key | yes | | ||
| | support for ttl (time to live) at retrieval | no | | ||
| | support for deleting expired data | no | | ||
| | collocated by feature view | yes | | ||
| | collocated by feature service | no | | ||
| | collocated by entity key | yes | | ||
|
|
||
| To compare this set of functionality against other online stores, please see the full [functionality matrix](overview.md#functionality-matrix). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.