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

Don't use .result() in BigQueryOfflineStore, since it still leads to OOM #1642

Merged
merged 4 commits into from
Jun 11, 2021

Conversation

tsotnet
Copy link
Collaborator

@tsotnet tsotnet commented Jun 11, 2021

Signed-off-by: Tsotne Tabidze tsotne@tecton.ai

What this PR does / why we need it: Follow up on #1638, which failed to fix the OOM issue.

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

NONE

Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>
@codecov-commenter
Copy link

codecov-commenter commented Jun 11, 2021

Codecov Report

Merging #1642 (c91aaa4) into master (731bca7) will decrease coverage by 0.20%.
The diff coverage is 95.45%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1642      +/-   ##
==========================================
- Coverage   83.60%   83.40%   -0.21%     
==========================================
  Files          67       67              
  Lines        6027     6026       -1     
==========================================
- Hits         5039     5026      -13     
- Misses        988     1000      +12     
Flag Coverage Δ
integrationtests 83.32% <95.45%> (-0.21%) ⬇️
unittests 76.47% <22.72%> (+0.04%) ⬆️

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

Impacted Files Coverage Δ
sdk/python/feast/infra/offline_stores/bigquery.py 85.46% <95.23%> (-7.03%) ⬇️
sdk/python/feast/repo_config.py 95.86% <100.00%> (ø)

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 731bca7...c91aaa4. Read the comment docs.

Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>
sdk/python/feast/infra/offline_stores/bigquery.py Outdated Show resolved Hide resolved
sdk/python/feast/infra/offline_stores/bigquery.py Outdated Show resolved Hide resolved
Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>
Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>
@woop
Copy link
Member

woop commented Jun 11, 2021

/lgtm

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tsotnet, woop

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:

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 a3d7c86 into feast-dev:master Jun 11, 2021
tsotnet pushed a commit that referenced this pull request Jun 17, 2021
…OOM (#1642)

* Don't use .result() at all, since it still leads to OOM

Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>

* Lint

Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>

* Create a temp table, since anon query doesn't work for large tables

Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>

* Fix linter

Signed-off-by: Tsotne Tabidze <tsotne@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.

None yet

4 participants