Skip to content
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

chore: Update online store docstrings #3066

Merged
merged 9 commits into from
Aug 22, 2022

Conversation

felixwang9817
Copy link
Collaborator

Signed-off-by: Felix Wang wangfelix98@gmail.com

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Comment on lines 30 to 31
An online store defines the interface that Feast uses to interact with the the storage system
that handles online features.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
An online store defines the interface that Feast uses to interact with the the storage system
that handles online features.
The interface that Feast uses to interact with the the storage system
that handles online features.

Copy link
Collaborator Author

@felixwang9817 felixwang9817 Aug 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed, good catch

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also you have duplicate the

@codecov-commenter
Copy link

codecov-commenter commented Aug 10, 2022

Codecov Report

Merging #3066 (ceb1432) into master (41851be) will increase coverage by 8.67%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master    #3066      +/-   ##
==========================================
+ Coverage   67.20%   75.87%   +8.67%     
==========================================
  Files         168      203      +35     
  Lines       15011    16983    +1972     
==========================================
+ Hits        10088    12886    +2798     
+ Misses       4923     4097     -826     
Flag Coverage Δ
integrationtests 66.92% <33.33%> (-0.28%) ⬇️
unittests 58.23% <33.33%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
sdk/python/feast/infra/online_stores/dynamodb.py 89.78% <ø> (+10.32%) ⬆️
...k/python/feast/infra/online_stores/online_store.py 80.00% <0.00%> (ø)
sdk/python/feast/infra/online_stores/redis.py 95.06% <ø> (ø)
sdk/python/feast/infra/online_stores/sqlite.py 94.48% <ø> (+10.23%) ⬆️
sdk/python/feast/infra/online_stores/datastore.py 88.12% <100.00%> (+8.03%) ⬆️
sdk/python/feast/cli.py 39.11% <0.00%> (-2.48%) ⬇️
setup.py 0.00% <0.00%> (ø)
.../online_stores/contrib/hbase_repo_configuration.py 100.00% <0.00%> (ø)
...k/python/feast/infra/materialization/lambda/app.py 26.66% <0.00%> (ø)
...tores/contrib/trino_offline_store/trino_queries.py 15.05% <0.00%> (ø)
... and 107 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@felixwang9817 felixwang9817 force-pushed the online_store branch 2 times, most recently from c60f7f9 to c4d2c77 Compare August 12, 2022 20:09
@@ -75,8 +75,10 @@ class DatastoreOnlineStoreConfig(FeastConfigBaseModel):

class DatastoreOnlineStore(OnlineStore):
"""
OnlineStore is an object used for all interaction between Feast and the service used for offline storage of
features.
Google Cloud Datastore implementation of the online store interface.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for this and redis, can you link to the corresponding reference doc on what the data model looks like? e.g. https://github.com/feast-dev/feast/blob/v0.23-branch/docs/specs/online_store_format.md#google-datastore-online-store-format

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Collaborator

@adchia adchia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Collaborator

@adchia adchia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: achals, adchia, felixwang9817

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [achals,adchia,felixwang9817]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@@ -50,8 +50,7 @@ class SqliteOnlineStoreConfig(FeastConfigBaseModel):

class SqliteOnlineStore(OnlineStore):
"""
OnlineStore is an object used for all interaction between Feast and the service used for offline storage of
features.
SQLite implementation of the online store interface.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mention that this is not recommended in production?

Signed-off-by: Felix Wang <wangfelix98@gmail.com>
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
@kevjumba
Copy link
Collaborator

/lgtm

@feast-ci-bot feast-ci-bot merged commit ce94804 into feast-dev:master Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants