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

docs: Add matrix of functionality for offline stores #2977

Merged
merged 29 commits into from
Aug 3, 2022

Conversation

felixwang9817
Copy link
Collaborator

@felixwang9817 felixwang9817 commented Jul 28, 2022

What this PR does / why we need it:

  • Adds additional details to data source and offline store pages
  • Backfills Trino data source documentation
  • Adds functionality matrix for each offline store (+ an overall one to compare across offline stores)

Which issue(s) this PR fixes:

Fixes #

@codecov-commenter
Copy link

codecov-commenter commented Jul 28, 2022

Codecov Report

Merging #2977 (d838433) into master (fc447eb) will decrease coverage by 18.00%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #2977       +/-   ##
===========================================
- Coverage   77.85%   59.85%   -18.01%     
===========================================
  Files         194      194               
  Lines       16560    16560               
===========================================
- Hits        12893     9912     -2981     
- Misses       3667     6648     +2981     
Flag Coverage Δ
integrationtests ?
unittests 59.85% <ø> (ø)

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

Impacted Files Coverage Δ
...sts/integration/registration/test_universal_cli.py 20.20% <0.00%> (-79.80%) ⬇️
...ts/integration/offline_store/test_offline_write.py 26.08% <0.00%> (-73.92%) ⬇️
...fline_store/test_universal_historical_retrieval.py 28.94% <0.00%> (-71.06%) ⬇️
...ests/integration/e2e/test_python_feature_server.py 29.50% <0.00%> (-70.50%) ⬇️
...dk/python/tests/integration/e2e/test_validation.py 27.77% <0.00%> (-69.05%) ⬇️
...s/integration/registration/test_universal_types.py 32.25% <0.00%> (-67.75%) ⬇️
sdk/python/feast/infra/online_stores/redis.py 28.39% <0.00%> (-66.67%) ⬇️
sdk/python/tests/integration/e2e/test_usage_e2e.py 33.87% <0.00%> (-66.13%) ⬇️
sdk/python/tests/data/data_creator.py 34.78% <0.00%> (-65.22%) ⬇️
...n/tests/integration/registration/test_inference.py 35.71% <0.00%> (-64.29%) ⬇️
... and 68 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fc447eb...d838433. Read the comment docs.

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>
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>
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
@felixwang9817 felixwang9817 changed the title docs: Add matrix of functionality for offline stores [WIP] docs: Add matrix of functionality for offline stores Aug 2, 2022
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
docs/reference/offline-stores/bigquery.md Outdated Show resolved Hide resolved
docs/reference/offline-stores/bigquery.md Outdated Show resolved Hide resolved
docs/reference/data-sources/postgres.md Outdated Show resolved Hide resolved
Configuration options are available [here](https://github.com/feast-dev/feast/blob/bf557bcb72c7878a16dccb48443bbbe9dc3efa49/sdk/python/feast/infra/offline_stores/redshift.py#L22).
The full set of configuration options is available in [RedshiftOfflineStoreConfig](https://rtd.feast.dev/en/master/#feast.infra.offline_stores.redshift.RedshiftOfflineStoreConfig).

## Functionality Matrix
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we somehow call out that array features don't work?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we should, but I think that description belongs to data sources as opposed to offline stores - I can make a ticket for updating the data source docs

docs/reference/offline-stores/README.md Show resolved Hide resolved
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>
@adchia adchia self-assigned this Aug 3, 2022
Signed-off-by: Danny Chiao <danny@tecton.ai>
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: 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 [adchia,felixwang9817]

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

@feast-ci-bot feast-ci-bot merged commit 5736709 into feast-dev:master Aug 3, 2022
adchia added a commit that referenced this pull request Aug 3, 2022
* Fix broken link

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

* Update offline store architecture docs

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

* Add offline store matrix functionality

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

* Add note on the interface

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

* Expand matrix

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

* Attempt to left align

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

* Update reference page

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

* Clean up file offline store docs

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

* Fix file source docs

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

* Clean up snowflake offline store docs

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

* Fix snowflake source docs

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

* Clean up bigquery offline store docs

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

* Fix bigquery source docs

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

* Clean up redshift offline store docs

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

* Fix redshift source docs

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

* Clean up spark offline store docs

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

* Fix spark data source docs

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

* Clean up postgres offline store docs

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

* Fix postgres source docs

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

* Add clarifications to page titles

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

* Fixes

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

* Fixes

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

* Add overview page to avoid cluttering README

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

* Fix stability comment

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

* Add trino source docs

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

* Add trino offline store docs

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

* Fix bigquery partition data matrix

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

* Add method use cases to matrix

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

* fix nits

Signed-off-by: Danny Chiao <danny@tecton.ai>

Co-authored-by: Danny Chiao <danny@tecton.ai>
adchia added a commit that referenced this pull request Aug 10, 2022
* Fix broken link

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

* Update offline store architecture docs

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

* Add offline store matrix functionality

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

* Add note on the interface

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

* Expand matrix

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

* Attempt to left align

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

* Update reference page

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

* Clean up file offline store docs

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

* Fix file source docs

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

* Clean up snowflake offline store docs

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

* Fix snowflake source docs

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

* Clean up bigquery offline store docs

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

* Fix bigquery source docs

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

* Clean up redshift offline store docs

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

* Fix redshift source docs

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

* Clean up spark offline store docs

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

* Fix spark data source docs

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

* Clean up postgres offline store docs

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

* Fix postgres source docs

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

* Add clarifications to page titles

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

* Fixes

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

* Fixes

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

* Add overview page to avoid cluttering README

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

* Fix stability comment

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

* Add trino source docs

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

* Add trino offline store docs

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

* Fix bigquery partition data matrix

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

* Add method use cases to matrix

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

* fix nits

Signed-off-by: Danny Chiao <danny@tecton.ai>

Co-authored-by: Danny Chiao <danny@tecton.ai>
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.

4 participants