fix: Filter empty SQL commands at execute_snowflake_statement call sites#6249
Merged
franciscojavierarceo merged 4 commits intofeast-dev:masterfrom Apr 21, 2026
Merged
Conversation
607c1da to
aeff56c
Compare
aeff56c to
f18f4ed
Compare
Contributor
Author
|
There are still other issues with the existing Snowflake Registry codebase. Will raise a followup PR to fix the rest of the issues. |
ntkathole
reviewed
Apr 10, 2026
a96b783 to
bb67029
Compare
Contributor
Author
|
@ntkathole can we get this reviewed and merged please? Thanks |
Collaborator
|
please rebase with the Master branch. |
Signed-off-by: Jia Le <5955220+jials@users.noreply.github.com>
…ring in execute_snowflake_statement Signed-off-by: Jia Le <5955220+jials@users.noreply.github.com>
Signed-off-by: Jia Le <5955220+jials@users.noreply.github.com>
Signed-off-by: Jia Le <5955220+jials@users.noreply.github.com>
a0f3d21 to
7796a3b
Compare
Contributor
Author
|
I don't think the failures are related to the changes in this PR. Can we re-trigger the failed actions please? |
franciscojavierarceo
approved these changes
Apr 21, 2026
92ffbb9
into
feast-dev:master
41 of 45 checks passed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What this PR does / why we need it:
When SnowflakeRegistry splits
.sqlfiles by;, trailing semicolons produce empty strings that get passed to execute_snowflake_statement. The PR moves that filtering to the call sites, stripping and discarding empty commands before execution.Which issue(s) this PR fixes:
Fixes #5204 (partially)
Checks
git commit -s)Testing Strategy
Misc