◐ Shell
reader mode source ↗
Skip to content

fix: Update SparkSource to have proper comparable that inspects SparkOptions#3819

Closed
thechopkins wants to merge 3 commits into
feast-dev:masterfrom
thechopkins:master
Closed

fix: Update SparkSource to have proper comparable that inspects SparkOptions#3819
thechopkins wants to merge 3 commits into
feast-dev:masterfrom
thechopkins:master

Conversation

@thechopkins

Copy link
Copy Markdown

What this PR does / why we need it:
This updates the SparkSource data type to be properly comparable. The previous form defaults to using the __eq__ implementation from the DataSource class. This misses updates to additional properties on the SparkSource class (i.e. anything that feeds into the SparkOptions class).

This PR resolves this and adds tests to confirm the updated functionality. This means that FeatureStore.plan() and FeatureStore.apply() will properly pick up changes to SparkSources correctly.

Signed-off-by: Calvin Hopkins <thechopkins@outlook.com>
@thechopkins thechopkins changed the title fix: [Update SparkSource to have proper comparable that inspects SparkOptions] Oct 25, 2023
@thechopkins thechopkins changed the title fix: pdate SparkSource to have proper comparable that inspects SparkOptions Oct 25, 2023
Signed-off-by: Calvin Hopkins <thechopkins@outlook.com>
Signed-off-by: Calvin Hopkins <thechopkins@outlook.com>
@franciscojavierarceo

Copy link
Copy Markdown
Member

looks like linter is failing here. @thechopkins can you update?

@jeremyary

Copy link
Copy Markdown
Collaborator

closing out as this was addressed via the mentioned PR 4028. Thanks!

@jeremyary jeremyary closed this Mar 29, 2024
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