René's URL Explorer Experiment


Title: fix: Use LONGBLOB for SQL registry proto columns on MySQL by nikolauspschuetz · Pull Request #6566 · feast-dev/feast · GitHub

Open Graph Title: fix: Use LONGBLOB for SQL registry proto columns on MySQL by nikolauspschuetz · Pull Request #6566 · feast-dev/feast

X Title: fix: Use LONGBLOB for SQL registry proto columns on MySQL by nikolauspschuetz · Pull Request #6566 · feast-dev/feast

Description: What The SQL registry stores each Feast object as a serialized protobuf in a binary column. On MySQL/MariaDB, SQLAlchemy's LargeBinary maps to BLOB, which caps at 64 KB. A single FeatureView proto routinely exceeds that, so MySQL silently truncates the write and the registry later fails to load with a protobuf DecodeError (e.g. feast serve failing to start). PostgreSQL and SQLite were never affected. Fixes #5800. How Introduce a dialect-aware ProtoBytes type that emits LONGBLOB on MySQL and MariaDB while keeping LargeBinary's default mapping on every other dialect (BLOB on SQLite, BYTEA on PostgreSQL), and apply it to all binary proto/metadata columns. MariaDB is registered separately because SQLAlchemy 2.x reports dialect.name == "mariadb". The variants are chained (not variadic) so the expression also works on SQLAlchemy 1.4.x, which Feast still supports (SQLAlchemy>=1.4.19). metadata.create_all only creates missing tables, so existing MySQL registries are not migrated automatically. Added a best-effort startup check (_warn_if_narrow_blob_columns) that, on MySQL/MariaDB, logs an error naming any columns still typed BLOB and points at the documented migration. It is logged at ERROR (so monitoring pipelines that filter below ERROR still catch it) but deliberately does not refuse to start — a registry whose protos all fit in 64 KB is unaffected and a routine upgrade should not break it. (Happy to switch to fail-fast-with-escape-hatch if maintainers prefer.) Documented the migration in the SQL registry reference, including the metadata-lock risk, a mandatory "stop writers first" checklist, and online-schema-change guidance (pt-online-schema-change / gh-ost). Note: BLOB→LONGBLOB is a column type change, which InnoDB performs with ALGORITHM=COPY (rebuild) — INPLACE is not supported. Tests Unit (tests/unit/infra/registry/test_sql_registry.py): assert the compiled DDL emits LONGBLOB on MySQL/MariaDB, BLOB on SQLite, BYTEA on PostgreSQL; cover the startup-check paths (errors on stale, silent when migrated, skips non-MySQL, never raises on query failure, runs on both read+write engines). Integration (tests/integration/registration/test_universal_registry.py): test_apply_feature_view_large_proto_roundtrip_mysql applies a FeatureView with a >64 KB proto on the live mysql_registry / mysql_registry_async fixtures and reads it back from the DB (allow_cache=False), asserting byte-identity — the regression guard for the truncation bug. Docs / agent guidance docs/reference/registries/sql.md — new "serialized-proto columns use LONGBLOB" section + migration runbook. Updated the in-repo agent rules/skills (feast-components rule pair, feast-architecture and feast-testing SKILLs) so the ProtoBytes convention and test patterns are discoverable.

Open Graph Description: What The SQL registry stores each Feast object as a serialized protobuf in a binary column. On MySQL/MariaDB, SQLAlchemy's LargeBinary maps to BLOB, which caps at 64 KB. A single FeatureView pr...

X Description: What The SQL registry stores each Feast object as a serialized protobuf in a binary column. On MySQL/MariaDB, SQLAlchemy's LargeBinary maps to BLOB, which caps at 64 KB. A single FeatureVie...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f0420bf9-d658-2c38-5113-e67702d703ef
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEB88:F32D9:394359E:51889F1:6A569B19
html-safe-nonce34cb4eeaebc7c2f7955ee48e8dde7991a21a6d363b5d3985523135ea1cd0606f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjg4OkYzMkQ5OjM5NDM1OUU6NTE4ODlGMTo2QTU2OUIxOSIsInZpc2l0b3JfaWQiOiI0ODA3Njg5NzAwMzI3NzI1ODQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac98156e826b84f70cd8d96d6553a84b9eca2f10343df3b07ff44ded78cbd230ce
hovercard-subject-tagpull_request:3952615523
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/6566/files
twitter:imagehttps://avatars.githubusercontent.com/u/8151217?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/8151217?s=400&v=4
og:image:altWhat The SQL registry stores each Feast object as a serialized protobuf in a binary column. On MySQL/MariaDB, SQLAlchemy's LargeBinary maps to BLOB, which caps at 64 KB. A single FeatureView pr...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None647a25f437e2f54eccdd162bd007c8ae70f4235c4125dba0f4518747cc8b9615
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
release05adb86a60ce3d701e556eded3ab26300ec6bcc4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/pull/6566/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F6566%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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2F6566%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/6566/files
Reloadhttps://github.com/feast-dev/feast/pull/6566/files
Reloadhttps://github.com/feast-dev/feast/pull/6566/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6566/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 214 https://github.com/feast-dev/feast/issues
Pull requests 178 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
nikolauspschuetz:fix/sql-registry-mysql-longblob-5800https://github.com/nikolauspschuetz/feast/tree/fix/sql-registry-mysql-longblob-5800
Conversation 1 https://github.com/feast-dev/feast/pull/6566
Commits 1 https://github.com/feast-dev/feast/pull/6566/commits
Checks 22 https://github.com/feast-dev/feast/pull/6566/checks
Files changed https://github.com/feast-dev/feast/pull/6566/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6566/files
fix: Use LONGBLOB for SQL registry proto columns on MySQL https://github.com/feast-dev/feast/pull/6566/files#top
Show all changes 1 commit https://github.com/feast-dev/feast/pull/6566/files
66f483c fix: Use LONGBLOB for SQL registry proto columns on MySQL nikolauspschuetz Jun 29, 2026 https://github.com/feast-dev/feast/pull/6566/commits/66f483cc07961e8c00c1665a1dbf58311946090e
Clear filters https://github.com/feast-dev/feast/pull/6566/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6566/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6566/files
feast-components.md https://github.com/feast-dev/feast/pull/6566/files#diff-ff3634b0c2f4bddfdf31cf74930463f55c9e31bd980615583ec520c9d88f7b55
feast-components.mdc https://github.com/feast-dev/feast/pull/6566/files#diff-4d697eed5e90721f3cf5c4f3e718863c2d4279564e298e04a8f0e8efdc937e32
sql.md https://github.com/feast-dev/feast/pull/6566/files#diff-8c9a079694c2ee83807026f3944504930b9700171714e4083a2576a21489ae9c
sql.py https://github.com/feast-dev/feast/pull/6566/files#diff-c6193043c77bd411f332b1a92fc0d92f4f3011787438f1515454a2854b10beda
test_universal_registry.py https://github.com/feast-dev/feast/pull/6566/files#diff-91b1905c52df3d2f313fcb64f7911c581bb317e9c028ffd3a0dbb0f4ee623208
test_sql_registry.py https://github.com/feast-dev/feast/pull/6566/files#diff-012108ddb480dcae8037d27c9826769dcea359e2c87ea799b5b1e105026b92d0
SKILL.md https://github.com/feast-dev/feast/pull/6566/files#diff-62902ff8afb73617baabdb5fa860561599c71d210bdb47a97110fb7fae50c1b6
SKILL.md https://github.com/feast-dev/feast/pull/6566/files#diff-3cd802a31183e819e5330c9f3729f4bec6e4d86a38d99c4bbdc03b5ee8d02bc0
.claude/rules/feast-components.mdhttps://github.com/feast-dev/feast/pull/6566/files#diff-ff3634b0c2f4bddfdf31cf74930463f55c9e31bd980615583ec520c9d88f7b55
View file https://github.com/nikolauspschuetz/feast/blob/66f483cc07961e8c00c1665a1dbf58311946090e/.claude/rules/feast-components.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6566/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6566/files#diff-ff3634b0c2f4bddfdf31cf74930463f55c9e31bd980615583ec520c9d88f7b55
https://github.com/feast-dev/feast/pull/6566/files#diff-ff3634b0c2f4bddfdf31cf74930463f55c9e31bd980615583ec520c9d88f7b55
.cursor/rules/feast-components.mdchttps://github.com/feast-dev/feast/pull/6566/files#diff-4d697eed5e90721f3cf5c4f3e718863c2d4279564e298e04a8f0e8efdc937e32
View file https://github.com/nikolauspschuetz/feast/blob/66f483cc07961e8c00c1665a1dbf58311946090e/.cursor/rules/feast-components.mdc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6566/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6566/files#diff-4d697eed5e90721f3cf5c4f3e718863c2d4279564e298e04a8f0e8efdc937e32
https://github.com/feast-dev/feast/pull/6566/files#diff-4d697eed5e90721f3cf5c4f3e718863c2d4279564e298e04a8f0e8efdc937e32
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L4
docs/reference/registries/sql.mdhttps://github.com/feast-dev/feast/pull/6566/files#diff-8c9a079694c2ee83807026f3944504930b9700171714e4083a2576a21489ae9c
View file https://github.com/nikolauspschuetz/feast/blob/66f483cc07961e8c00c1665a1dbf58311946090e/docs/reference/registries/sql.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6566/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6566/files#diff-8c9a079694c2ee83807026f3944504930b9700171714e4083a2576a21489ae9c
Please reload this pagehttps://github.com/feast-dev/feast/pull/6566/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6566/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.