Skip to content

feat: Add interfaces for batch materialization engine - #2901

Merged
feast-ci-bot merged 11 commits into
feast-dev:masterfrom
achals:achal/wip-batch-engine
Jul 6, 2022
Merged

feast-ci-bot merged 11 commits into
feast-dev:masterfrom
achals:achal/wip-batch-engine

Conversation

@achals

@achals achals commented Jul 1, 2022 •

Copy link
Copy Markdown
Member

Signed-off-by: Achal Shah achals@gmail.com

What this PR does / why we need it:

This is the first pass implementation of the proposal in RFC-037. It's purely interfaces and refactoring without any new logic. The engine is also currently hard coded to the Local engine, which is the same materialization logic as in use today. In a subequent PR, this will be made pluggable.

Which issue(s) this PR fixes:

Fixes #

Signed-off-by: Achal Shah <achals@gmail.com>
@feast-ci-bot

ghost commented Jul 1, 2022

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: achals

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

The pull request process is described here

Details Needs approval from an approver in each of these files:

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

Achal Shah added 2 commits July 5, 2022 11:11
Signed-off-by: Achal Shah <achals@gmail.com>
Signed-off-by: Achal Shah <achals@gmail.com>
@achals
achals marked this pull request as ready for review July 5, 2022 19:46
@achals
achals requested a review from felixwang9817 July 5, 2022 19:46
@achals achals changed the title feat: Add scaffolding for batch materialization engine feat: Add interfaces for batch materialization engine Jul 5, 2022
Achal Shah added 2 commits July 5, 2022 13:38
Signed-off-by: Achal Shah <achals@gmail.com>
Signed-off-by: Achal Shah <achals@gmail.com>
@codecov-commenter

ghost commented Jul 5, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #2901 (2e9e7a8) into master (8abc2ef) will increase coverage by 0.00%.
The diff coverage is 88.44%.

@@           Coverage Diff            @@
##           master    #2901    +/-   ##
========================================
  Coverage   80.65%   80.65%            
========================================
  Files         176      181     +5     
  Lines       15663    16000   +337     
========================================
+ Hits        12633    12905   +272     
- Misses       3030     3095    +65     
Flag Coverage Δ
integrationtests 70.98% <88.40%> (+0.10%) ⬆️
unittests 59.27% <85.25%> (-0.07%) ⬇️

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

Impacted Files Coverage Δ
sdk/python/feast/infra/passthrough_provider.py 92.48% <76.74%> (-7.52%) ⬇️
sdk/python/feast/repo_config.py 88.74% <83.33%> (-0.15%) ⬇️
...python/feast/infra/materialization/local_engine.py 87.30% <87.30%> (ø)
...ra/materialization/batch_materialization_engine.py 89.65% <89.65%> (ø)
sdk/python/feast/utils.py 92.13% <94.59%> (+12.13%) ⬆️
sdk/python/feast/infra/materialization/__init__.py 100.00% <100.00%> (ø)
sdk/python/feast/infra/offline_stores/file.py 93.99% <100.00%> (ø)
...python/feast/infra/offline_stores/offline_utils.py 95.14% <100.00%> (-0.05%) ⬇️
sdk/python/feast/infra/provider.py 79.41% <100.00%> (-8.47%) ⬇️
sdk/python/tests/unit/infra/test_provider.py 100.00% <100.00%> (ø)
... and 11 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 8abc2ef...2e9e7a8. Read the comment docs.

Achal Shah added 4 commits July 5, 2022 14:56
Signed-off-by: Achal Shah <achals@gmail.com>
Signed-off-by: Achal Shah <achals@gmail.com>
Signed-off-by: Achal Shah <achals@gmail.com>
Signed-off-by: Achal Shah <achals@gmail.com>

ghost left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

looks great overall

Comment thread sdk/python/feast/utils.py Resolved
Achal Shah added 2 commits July 6, 2022 09:05
Signed-off-by: Achal Shah <achals@gmail.com>
Signed-off-by: Achal Shah <achals@gmail.com>
@kevjumba

ghost commented Jul 6, 2022

Copy link
Copy Markdown
Collaborator

/lgtm

@feast-ci-bot
feast-ci-bot merged commit 38b28ca into feast-dev:master Jul 6, 2022
@achals
achals deleted the achal/wip-batch-engine branch July 6, 2022 17:43
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.

5 participants