-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: Integration test failures #6040
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
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 New feature view schema fields break tests using
fake_ingest_datafixtureAdding
driver_metadata,driver_config, anddriver_profilefields to thecreate_driver_hourly_stats_feature_viewschema breaks tests that use thefake_ingest_datafixture with this feature view.Root Cause
The
fake_ingest_datafixture insdk/python/tests/conftest.py:427-437only provides columnsdriver_id,conv_rate,acc_rate,avg_daily_trips,event_timestamp, andcreated. It does NOT include the newly addeddriver_metadata,driver_config, ordriver_profilecolumns.Tests like
test_connection_pool_online_stores(sdk/python/tests/integration/online_store/test_universal_online.py:67-74) andtest_entity_ttl_online_store(sdk/python/tests/integration/online_store/test_universal_online.py:99-106) call:create_driver_hourly_stats_feature_view(data_sources.driver)— which now includes the 3 new fields in the schemafs.write_to_online_store("driver_stats", fake_ingest_data)— which passes the incomplete DataFrameInside
write_to_online_storeatsdk/python/feast/feature_store.py:2201-2203:feature_view.featuresnow includesdriver_metadata,driver_config,driver_profile, but the DataFrame fromfake_ingest_datadoesn't have those columns, causing aKeyError.Impact: Integration tests
test_connection_pool_online_storesandtest_entity_ttl_online_storewill fail.Prompt for agents
Was this helpful? React with 👍 or 👎 to provide feedback.