René's URL Explorer Experiment


Title: fix: Filter empty SQL commands at execute_snowflake_statement call sites by jials · Pull Request #6249 · feast-dev/feast · GitHub

Open Graph Title: fix: Filter empty SQL commands at execute_snowflake_statement call sites by jials · Pull Request #6249 · feast-dev/feast

X Title: fix: Filter empty SQL commands at execute_snowflake_statement call sites by jials · Pull Request #6249 · feast-dev/feast

Description: What this PR does / why we need it: When SnowflakeRegistry splits .sql files 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 I've made sure the tests are passing. My commits are signed off (git commit -s) My PR title follows conventional commits format Testing Strategy Unit tests Integration tests Manual tests Testing is not required for this change Misc

Open Graph Description: What this PR does / why we need it: When SnowflakeRegistry splits .sql files by ;, trailing semicolons produce empty strings that get passed to execute_snowflake_statement. The PR moves that filter...

X Description: What this PR does / why we need it: When SnowflakeRegistry splits .sql files by ;, trailing semicolons produce empty strings that get passed to execute_snowflake_statement. The PR moves that filter...

Opengraph URL: https://github.com/feast-dev/feast/pull/6249

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a15c972b-59eb-edfd-d3a5-4d71126d79a3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC5C6:1BD3C:33378B:49DCDC:6A4E0329
html-safe-nonce26cddec5c7577113d84e4c32b0637a098a75ca81eb1822525e21651708656970
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUM2OjFCRDNDOjMzMzc4Qjo0OURDREM6NkE0RTAzMjkiLCJ2aXNpdG9yX2lkIjoiNjIxMjIwODM2NjIwNDA5MzIyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac27b1f93a353c2c548043ab9ba3b9e9ed502688b5a51b2141395985ff0835520f
hovercard-subject-tagpull_request:3506395890
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/6249/files
twitter:imagehttps://avatars.githubusercontent.com/u/5955220?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5955220?s=400&v=4
og:image:altWhat this PR does / why we need it: When SnowflakeRegistry splits .sql files by ;, trailing semicolons produce empty strings that get passed to execute_snowflake_statement. The PR moves that filter...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonedf0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release52bde38e24398476f8eb1e0760c81346c6a00812
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/pull/6249/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F6249%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F6249%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/pull/6249/files
Reloadhttps://github.com/feast-dev/feast/pull/6249/files
Reloadhttps://github.com/feast-dev/feast/pull/6249/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6249/files
feast-dev https://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Notifications https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Fork 1.4k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 7.1k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 212 https://github.com/feast-dev/feast/issues
Pull requests 171 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security and quality 1 https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Code https://github.com/feast-dev/feast
Issues https://github.com/feast-dev/feast/issues
Pull requests https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security and quality https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
franciscojavierarceohttps://github.com/franciscojavierarceo
feast-dev:masterhttps://github.com/feast-dev/feast/tree/master
jials:fix/empty-snowflake-queryhttps://github.com/jials/feast/tree/fix/empty-snowflake-query
Conversation 15 https://github.com/feast-dev/feast/pull/6249
Commits 4 https://github.com/feast-dev/feast/pull/6249/commits
Checks 35 https://github.com/feast-dev/feast/pull/6249/checks
Files changed https://github.com/feast-dev/feast/pull/6249/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6249/files
fix: Filter empty SQL commands at execute_snowflake_statement call sites https://github.com/feast-dev/feast/pull/6249/files#top
Show all changes 4 commits https://github.com/feast-dev/feast/pull/6249/files
0c004cf fix: Handle empty query in execute_snowflake_statement jials Apr 9, 2026 https://github.com/feast-dev/feast/pull/6249/commits/0c004cfdcda77327291126e6ec419b11af7a4882
4b14cbe fix: Filter empty SQL commands at call sites instead of silently igno… jials Apr 10, 2026 https://github.com/feast-dev/feast/pull/6249/commits/4b14cbe11b6bfe03e4dc6176ce4e89f0e1fe32aa
dee3734 fix: Add missing semicolons in snowflake_table_deletion.sql jials Apr 10, 2026 https://github.com/feast-dev/feast/pull/6249/commits/dee3734d931580dc7ce1ff97f58ba914abd43865
7796a3b fix: Add missing PROJECTS table drop to snowflake_table_deletion.sql jials Apr 10, 2026 https://github.com/feast-dev/feast/pull/6249/commits/7796a3bc74b3f9732432a965c47001b00b104ab8
Clear filters https://github.com/feast-dev/feast/pull/6249/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6249/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6249/files
.secrets.baseline https://github.com/feast-dev/feast/pull/6249/files#diff-d8447df0cd384602c76086081f13f27ad0b45902297c42da35a6fc51fdf1cec3
snowflake.py https://github.com/feast-dev/feast/pull/6249/files#diff-d30055e36a0d91416fa2c53782809c120e5d63b886ab4aceda70ba92407bbad2
snowflake_table_deletion.sql https://github.com/feast-dev/feast/pull/6249/files#diff-ecabbc87ecb375e5978ab823565543838c0eba20bd8d4d8fb7e2ab3f2a710670
test_snowflake_utils.py https://github.com/feast-dev/feast/pull/6249/files#diff-39b75669150157412a60b0f4a703a8d824cce861fdc4a11509a92a0926975040
.secrets.baselinehttps://github.com/feast-dev/feast/pull/6249/files#diff-d8447df0cd384602c76086081f13f27ad0b45902297c42da35a6fc51fdf1cec3
View file https://github.com/jials/feast/blob/7796a3bc74b3f9732432a965c47001b00b104ab8/.secrets.baseline
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6249/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6249/files#diff-d8447df0cd384602c76086081f13f27ad0b45902297c42da35a6fc51fdf1cec3
https://github.com/feast-dev/feast/pull/6249/files#diff-d8447df0cd384602c76086081f13f27ad0b45902297c42da35a6fc51fdf1cec3
https://github.com/feast-dev/feast/pull/6249/files#diff-d8447df0cd384602c76086081f13f27ad0b45902297c42da35a6fc51fdf1cec3
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/infra/registry/snowflake.pyhttps://github.com/feast-dev/feast/pull/6249/files#diff-d30055e36a0d91416fa2c53782809c120e5d63b886ab4aceda70ba92407bbad2
View file https://github.com/jials/feast/blob/7796a3bc74b3f9732432a965c47001b00b104ab8/sdk/python/feast/infra/registry/snowflake.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6249/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6249/files#diff-d30055e36a0d91416fa2c53782809c120e5d63b886ab4aceda70ba92407bbad2
https://github.com/feast-dev/feast/pull/6249/files#diff-d30055e36a0d91416fa2c53782809c120e5d63b886ab4aceda70ba92407bbad2
https://github.com/feast-dev/feast/pull/6249/files#diff-d30055e36a0d91416fa2c53782809c120e5d63b886ab4aceda70ba92407bbad2
Please reload this pagehttps://github.com/feast-dev/feast/pull/6249/files
https://github.com/feast-dev/feast/pull/6249/files#diff-d30055e36a0d91416fa2c53782809c120e5d63b886ab4aceda70ba92407bbad2
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/infra/utils/snowflake/registry/snowflake_table_deletion.sqlhttps://github.com/feast-dev/feast/pull/6249/files#diff-ecabbc87ecb375e5978ab823565543838c0eba20bd8d4d8fb7e2ab3f2a710670
View file https://github.com/jials/feast/blob/7796a3bc74b3f9732432a965c47001b00b104ab8/sdk/python/feast/infra/utils/snowflake/registry/snowflake_table_deletion.sql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6249/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6249/files#diff-ecabbc87ecb375e5978ab823565543838c0eba20bd8d4d8fb7e2ab3f2a710670
Please reload this pagehttps://github.com/feast-dev/feast/pull/6249/files
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/tests/unit/infra/utils/snowflake/test_snowflake_utils.pyhttps://github.com/feast-dev/feast/pull/6249/files#diff-39b75669150157412a60b0f4a703a8d824cce861fdc4a11509a92a0926975040
View file https://github.com/jials/feast/blob/7796a3bc74b3f9732432a965c47001b00b104ab8/sdk/python/tests/unit/infra/utils/snowflake/test_snowflake_utils.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6249/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6249/files#diff-39b75669150157412a60b0f4a703a8d824cce861fdc4a11509a92a0926975040
https://github.com/feast-dev/feast/pull/6249/files#diff-39b75669150157412a60b0f4a703a8d824cce861fdc4a11509a92a0926975040
Please reload this pagehttps://github.com/feast-dev/feast/pull/6249/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.