Skip to content

fix(update_snapshot): Ensure filter is copied to source conn#201

Merged
RasmusSkytte merged 7 commits intomainfrom
fix/filter_keys_across_conn
Oct 29, 2025
Merged

fix(update_snapshot): Ensure filter is copied to source conn#201
RasmusSkytte merged 7 commits intomainfrom
fix/filter_keys_across_conn

Conversation

@LasseEngboChr
Copy link
Copy Markdown
Contributor

@LasseEngboChr LasseEngboChr commented Oct 29, 2025

Intent

update_snapshot failed if filters are on a different connection than the source table, e.g. a data.frame.

Approach

The solution was to make a copy of the filter on the source connection when on different connections. Note that a similar action was already done for the target connection.

Known issues

Checklist

  • The PR passes all local unit tests
  • I have documented any new features introduced
  • If the PR adds a new feature, please add an entry in NEWS.md
  • A reviewer is assigned to this PR

@LasseEngboChr LasseEngboChr marked this pull request as ready for review October 29, 2025 13:49
Copy link
Copy Markdown
Contributor

@RasmusSkytte RasmusSkytte left a comment

Choose a reason for hiding this comment

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

Looks good!

Do you want to add an entry to the NEWS.md file about the fix?

@RasmusSkytte RasmusSkytte merged commit 734819c into main Oct 29, 2025
3 checks passed
@RasmusSkytte RasmusSkytte deleted the fix/filter_keys_across_conn branch October 29, 2025 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants