Title: Feast SQL registry fails to start due to truncated FeatureView protobuf in MySQL (BLOB size limit) · Issue #5800 · feast-dev/feast · GitHub
Open Graph Title: Feast SQL registry fails to start due to truncated FeatureView protobuf in MySQL (BLOB size limit) · Issue #5800 · feast-dev/feast
X Title: Feast SQL registry fails to start due to truncated FeatureView protobuf in MySQL (BLOB size limit) · Issue #5800 · feast-dev/feast
Description: Hi Feast maintainers! I have observed what i consider a bug, or at least something to be improved, i also shared this in the slack community channel. I think this is related with issue #3703 Here you have the details. Expected Behavior F...
Open Graph Description: Hi Feast maintainers! I have observed what i consider a bug, or at least something to be improved, i also shared this in the slack community channel. I think this is related with issue #3703 Here y...
X Description: Hi Feast maintainers! I have observed what i consider a bug, or at least something to be improved, i also shared this in the slack community channel. I think this is related with issue #3703 Here y...
Opengraph URL: https://github.com/feast-dev/feast/issues/5800
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feast SQL registry fails to start due to truncated FeatureView protobuf in MySQL (BLOB size limit)","articleBody":"Hi Feast maintainers! I have observed what i consider a bug, or at least something to be improved, i also shared this in the slack community [channel](https://feastopensource.slack.com/archives/C01M2GYP0UC/p1767026747833689).\n\nI think this is related with issue https://github.com/feast-dev/feast/issues/3703\n\n Here you have the details.\n\n## Expected Behavior\n\nFeast should be able to run long-lived, periodically materialized FeatureViews using the `MySQL` registry without the registry growing unbounded or becoming unreadable. The registry should not reach a state where feast serve or any CLI command fails due to accumulated internal state.\n\n## Current Behavior\n\nFeast records every materialization interval for a FeatureView in the registry. When using the MySQL registry, each `materialize` / `materialize-incremental` run appends a new interval record for each feature view `feature_view_proto` column , causing the serialized FeatureView registry protobuf to grow monotonically (~30 bytes per materialization in our tests).\n\nWith enough materializations, the serialized proto exceeds the MySQL `BLOB` column size limit (65,535 bytes). When this happens MySQL silently truncates the blob, after which Feast fails to start with:\n\n```txt\ngoogle.protobuf.message.DecodeError:\nError parsing message with type 'feast.core.FeatureView'\n```\n\nAt this point:\n- feast `serve` fails.\n- any Feast CLI command that loads the registry fails.\n- recovery requires manual MySQL registry intervention: Which is deleting the featureview row in the `feature_views` table.\n- No matter the FeatureView definition itself is small; growth comes from accumulated materialization interval history.\n\n## Steps to reproduce\n\n1. Configure Feast with a SQL registry backed by `MySQL`. It uses the `BLOB` MySQL type for the `feature_view_proto` column in the `feature_views` table.\n2. Define a FeatureView and run `feast apply`.\n3. Run `materialize-incremental` repeatedly over time (e.g. via a cron job).\n4. Observe that the registry entry for the FeatureView grows on each run (~30 bytes). For that you can use the following query:\n\n```sql\nSELECT\n feature_view_name,\n project_id,\n OCTET_LENGTH(feature_view_proto) AS proto_bytes\nFROM feature_views;\n```\n\nTo get an output like:\n\n| feature_view_name | project_id | proto_bytes |\n| ------ | ------ | ------ |\n| my_test_fv | my_test_project | 65535 |\n\n5. Once the stored proto reaches 65,535 bytes (like in the example), MySQL truncates it.\n6. Run `feast serve`, it will fail to load with protobuf `DecodeError`.\n\n### Specifications\n\n- Version: `v0.58.0`\n- Platform: docker. \n- Subsystem: both arm and amd images.\n\n## Possible Solution\n\nClarify and/or improve SQL registry behavior for long-running deployments, for example by:\n\n- SQL registry `BLOLB` columns must be unbounded (`MEDIUMBLOB` / `LONGBLOB`), but this is just a temporal solution.\n- Introducing pruning of materialization interval history.\n\nPlease tell me if you need more information. Thanks in advance!","author":{"url":"https://github.com/PepeluDev","@type":"Person","name":"PepeluDev"},"datePublished":"2025-12-30T11:37:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/5800/feast/issues/5800"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4c945073-7f9d-ae78-8491-130d650eeac3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9AA4:179C7:26F98F:350625:6A568C69 |
| html-safe-nonce | 7d2d6f42a5bae4b82994249d7ce568c38893475eb3930a71aa119de3fbe1ab68 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUE0OjE3OUM3OjI2Rjk4RjozNTA2MjU6NkE1NjhDNjkiLCJ2aXNpdG9yX2lkIjoiNTExODk0ODQwNjkyNTM2NDMyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8db06f27d603b9bbd11c18dc44139b0d0673df2192c3272c80705af203d65275 |
| hovercard-subject-tag | issue:3769905334 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/5800/issue_layout |
| twitter:image | https://opengraph.githubassets.com/989b9fbbce1092c11ec0174ce91ba3c7ff768559d6c491426d939eacd6c4968f/feast-dev/feast/issues/5800 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/989b9fbbce1092c11ec0174ce91ba3c7ff768559d6c491426d939eacd6c4968f/feast-dev/feast/issues/5800 |
| og:image:alt | Hi Feast maintainers! I have observed what i consider a bug, or at least something to be improved, i also shared this in the slack community channel. I think this is related with issue #3703 Here y... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PepeluDev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8f21be8503ba8fe6154df415b855c03af52eae3f285bd6ae1fef041dc053da38 |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 78af172a48a2056810bb627ffa684003e4f9a5ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width