Skip to content

Fix Redshift data creator - #2242

Merged
feast-ci-bot merged 2 commits into
feast-dev:masterfrom
felixwang9817:fix_redshift_data_creator
Jan 27, 2022
Merged

feast-ci-bot merged 2 commits into
feast-dev:masterfrom
felixwang9817:fix_redshift_data_creator

Conversation

@felixwang9817

@felixwang9817 felixwang9817 commented Jan 27, 2022 •

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it: This PR fixes the root cause of several recent failures with AWS integration tests on Github. The issue came from the test_entity_inference_types_match test in test_universal_types.py, and occurred since the data creator attempted to upload a table to Redshift with a table name of >127 characters. Since Redshift truncates table names to 127 characters, this ensured that subsequent attempts to reference the table would fail, causing the test to fail. Moreover, since PR tests include extra information in the table name, this bug was not reproducible through local testing.

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

NONE

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

codecov-commenter commented Jan 27, 2022 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.42%. Comparing base (88fac8b) to head (b400483).
⚠️ Report is 2331 commits behind head on master.

Files with missing lines Patch % Lines
sdk/python/feast/errors.py 66.66% 1 Missing ⚠️
sdk/python/feast/infra/utils/aws_utils.py 75.00% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2242      +/-   ##
==========================================
- Coverage   85.43%   85.42%   -0.02%     
==========================================
  Files         108      108              
  Lines        9021     9027       +6     
==========================================
+ Hits         7707     7711       +4     
- Misses       1314     1316       +2     
Flag Coverage Δ
integrationtests 73.08% <77.77%> (-0.30%) ⬇️
unittests 60.11% <44.44%> (-0.01%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@feast-ci-bot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: felixwang9817, pyalex

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

@pyalex

pyalex commented Jan 27, 2022

Copy link
Copy Markdown
Collaborator

/lgtm

@feast-ci-bot
feast-ci-bot merged commit 46c4722 into feast-dev:master Jan 27, 2022
@judahrand

Copy link
Copy Markdown
Member

Oh! That's a tricky little bug that is! 😮 Thanks for driving this @felixwang9817 !!

@adchia adchia mentioned this pull request Jan 27, 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