Skip to content

Fix: State sync snapshot count() quoting#3954

Merged
erindru merged 3 commits intomainfrom
erin/fix-state-sync
Mar 7, 2025
Merged

Fix: State sync snapshot count() quoting#3954
erindru merged 3 commits intomainfrom
erin/fix-state-sync

Conversation

@erindru
Copy link
Collaborator

@erindru erindru commented Mar 7, 2025

PR #3903 introduced a subtle bug where the snapshot count queries stopped being quoted. This meant that on engines like Snowflake, _snapshots was interpreted as _SNAPSHOTS which caused migration to fail.

This PR fixes the issue and adds a test to detect this in future

branches:
only:
- main
#filters:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'll uncomment this prior to merge, want to see if the new test picks up any issues on the other cloud engines

@erindru erindru merged commit d745fc3 into main Mar 7, 2025
22 checks passed
@erindru erindru deleted the erin/fix-state-sync branch March 7, 2025 05:20
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