René's URL Explorer Experiment


Title: 'feast apply' does not create online store tables in remote mode · Issue #6693 · feast-dev/feast · GitHub

Open Graph Title: 'feast apply' does not create online store tables in remote mode · Issue #6693 · feast-dev/feast

X Title: 'feast apply' does not create online store tables in remote mode · Issue #6693 · feast-dev/feast

Description: Expected Behavior With online_store.type: remote + registry.registry_type: remote, a client-side feast apply should create the corresponding feature view tables in the server-side online store, so that feast materialize can load data suc...

Open Graph Description: Expected Behavior With online_store.type: remote + registry.registry_type: remote, a client-side feast apply should create the corresponding feature view tables in the server-side online store, so ...

X Description: Expected Behavior With online_store.type: remote + registry.registry_type: remote, a client-side feast apply should create the corresponding feature view tables in the server-side online store, so ...

Opengraph URL: https://github.com/feast-dev/feast/issues/6693

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"'feast apply' does not create online store tables in remote mode","articleBody":"## Expected Behavior\n\nWith `online_store.type: remote` + `registry.registry_type: remote`, a client-side `feast apply` should create the corresponding feature view tables in the server-side online store, so that `feast materialize` can load data successfully — i.e. the schema setup done by `SqliteOnlineStore.update()` during a local `feast apply` should also take effect on the feature-server side when feature views are applied through the remote registry.\n\n## Current Behavior\n\n`feast apply` (remote) succeeds and registers the feature view, but **no table is created server-side**:\n\n- After `feast apply`, `online_store.db` does not exist (only `registry_sqlite.db` is present).\n- `feast materialize` reads offline data on the client, POSTs batches to the feature server's `/write-to-online-store`, and gets **HTTP 500**. The materialize command fails:\n\n```\nrequests.exceptions.RetryError: HTTPConnectionPool(host='localhost', port=6566): Max retries exceeded with url: /write-to-online-store (Caused by ResponseError('too many 500 error responses'))\n```\n\nFeature server log shows the root cause:\n\n```\nFile \".../feast/feature_store.py\", line 3126, in write_to_online_store\n    provider.ingest_df(feature_view, df)\nFile \".../feast/infra/passthrough_provider.py\", line 197, in online_write_batch\n    self.online_store.online_write_batch(config, table, data, progress)\nFile \".../feast/infra/online_stores/sqlite.py\", line 220, in online_write_batch\n    conn.execute(\nsqlite3.OperationalError: no such table: test_project_driver_hourly_stats\n```\n\nAfter the failed materialize, `online_store.db` exists but is **0 bytes with zero tables**.\n\nRoot cause (in source):\n\n- `RemoteOnlineStore.update()` is a **no-op** (`pass`): `feast/infra/online_stores/remote.py` L706-715. `feast apply` relies on `OnlineStore.update()` to create tables, so remote apply never creates them on the server-side online store.\n- `feast serve` does **not** call `SqliteOnlineStore.update()` for newly-applied feature views, so the table is never created server-side either.\n- `SqliteOnlineStore.online_write_batch()` only `INSERT`s (no `CREATE TABLE`): `feast/infra/online_stores/sqlite.py` L152-239. Table creation happens only in `update()` (L291-315), which is never invoked in this flow.\n\nNet effect: the remote online store path is unusable for materialization unless the user manually runs `feast apply` locally on the feature-server repo, defeating the purpose of the remote architecture.\n\n## Steps to reproduce\n\nSetup: a **server repo** (`test_project/feature_repo`) hosting registry + online store, and a **client repo** (`test_demo`) using remote registry + remote online store.\n\n1. Server repo `test_project/feature_repo/feature_store.yaml`:\n\n```yaml\nproject: test_project\nregistry:\n  registry_type: sql\n  path: sqlite:///data/registry_sqlite.db\nprovider: local\nonline_store:\n    type: sqlite\n    path: data/online_store.db\nentity_key_serialization_version: 3\nauth:\n    type: no_auth\n```\n\n2. Client repo `test_demo/feature_store.yaml` (remote registry + remote online store):\n\n```yaml\nproject: test_project\nregistry:\n  registry_type: remote\n  path: localhost:6570          # feast serve_registry (gRPC)\nprovider: local\nonline_store:\n    type: remote\n    path: http://localhost:6566  # feast serve (HTTP feature server)\nentity_key_serialization_version: 3\nauth:\n    type: no_auth\n```\n\n3. Client repo `test_demo/feature_definitions.py` (a single simple FeatureView):\n\n```python\nfrom datetime import timedelta\nfrom feast import Entity, FeatureView, Field, FileSource, Project\nfrom feast.types import Float32, Int64\n\nproject = Project(name=\"test_project\", description=\"A project for driver statistics\")\ndriver = Entity(name=\"driver\", join_keys=[\"driver_id\"])\n\ndriver_stats_source = FileSource(\n    name=\"driver_hourly_stats_source\",\n    path=\"data/driver_stats.parquet\",\n    timestamp_field=\"event_timestamp\",\n    created_timestamp_column=\"created\",\n)\n\ndriver_stats_fv = FeatureView(\n    name=\"driver_hourly_stats\",\n    entities=[driver],\n    ttl=timedelta(days=1),\n    schema=[\n        Field(name=\"conv_rate\", dtype=Float32),\n        Field(name=\"avg_daily_trips\", dtype=Int64),\n    ],\n    online=True,\n    source=driver_stats_source,\n    version=\"latest\",\n)\n```\n\n4. Start the servers from the server repo:\n\n```bash\ncd test_project/feature_repo\nfeast serve_registry --port 6570     # gRPC registry server\nfeast serve --port 6566              # HTTP feature server (separate shell)\n```\n\n5. From the client repo, apply (remote):\n\n```bash\ncd test_demo\nfeast apply\n# Applying changes for project test_project\n# Deploying infrastructure for driver_hourly_stats\n```\n\n6. Inspect the server-side online store — `online_store.db` does **not** exist (only `registry_sqlite.db`):\n\n```bash\nls test_project/feature_repo/data\n# registry_sqlite.db   (online_store.db is absent)\n```\n\n7. From the client repo, materialize (remote):\n\n```bash\ncd test_demo\nfeast materialize 2021-04-12T00:00:00 2026-08-02T00:00:00\n```\n\n8. Observe the failure: client fails with `too many 500 error responses` against `/write-to-online-store`; feature server logs `sqlite3.OperationalError: no such table: test_project_driver_hourly_stats`; `online_store.db` is left as a 0-byte file with no tables.\n\n### Specifications\n\n- Version: Feast SDK 0.64.0 (Python 3.12.10)\n- Platform: Windows 11 (10.0.26200), AMD64 — relevant code is platform-independent, expected to reproduce on Linux/macOS too\n- Subsystem: `infra/online_stores/remote` (RemoteOnlineStore), `infra/online_stores/sqlite` (SqliteOnlineStore), feature server (`feast serve` / `write_to_online_store`)","author":{"url":"https://github.com/yuan1j","@type":"Person","name":"yuan1j"},"datePublished":"2026-08-01T07:58:23Z","url":"https://github.com/feast-dev/feast/issues/6693"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a3e31df6-c01d-0067-b285-00146fc187c3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB102:281DDB:FAEEA3:15B6BB7:6AFEA264
html-safe-nonce4fa402b6ada098ebb214990d406ad775e750b062f329c072bf6732f05428f7f1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTAyOjI4MUREQjpGQUVFQTM6MTVCNkJCNzo2QUZFQTI2NCIsInZpc2l0b3JfaWQiOiI0OTM3NDAxNjk0MTEyNjIxMTU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf2d9efe2d3df6fa3f32085accc81163a3bbaf9cfb8b1dfbda195a0dcc62b4b20
hovercard-subject-tagissue:5036042336
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/6693/issue_layout
twitter:imagehttps://opengraph.githubassets.com/835316764b48841db81e68a171c293dab48c20d3c80fb05d5aeb9d28978fec0d/feast-dev/feast/issues/6693
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/835316764b48841db81e68a171c293dab48c20d3c80fb05d5aeb9d28978fec0d/feast-dev/feast/issues/6693
og:image:altExpected Behavior With online_store.type: remote + registry.registry_type: remote, a client-side feast apply should create the corresponding feature view tables in the server-side online store, so ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyuan1j
hostnamegithub.com
expected-hostnamegithub.com
None95b2753c978240785d6cca00783c00a371b2d7d9879bb32e305170a1b19bd28e
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3f25273206cd841171bca0002261ae4c9757d934
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/6693#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F6693
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F6693
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/issues/6693
Reloadhttps://github.com/feast-dev/feast/issues/6693
Reloadhttps://github.com/feast-dev/feast/issues/6693
feast-devhttps://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Codehttps://github.com/feast-dev/feast
Issues223 (223)https://github.com/feast-dev/feast/issues
Pull requests143 (143)https://github.com/feast-dev/feast/pulls
Discussionshttps://github.com/feast-dev/feast/discussions
Actionshttps://github.com/feast-dev/feast/actions
Security and quality1 (1)https://github.com/feast-dev/feast/security
Insightshttps://github.com/feast-dev/feast/insights
https://github.com/feast-dev/feast
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/6693
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/6693
#6772https://github.com/feast-dev/feast/pull/6772
'feast apply' does not create online store tables in remote modehttps://github.com/feast-dev/feast/issues/6693#top
#6772https://github.com/feast-dev/feast/pull/6772
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/p2https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp2%22
https://github.com/yuan1j
yuan1jhttps://github.com/yuan1j
on Aug 1, 2026https://github.com/feast-dev/feast/issues/6693#issue-5036042336
yuan1jhttps://github.com/yuan1j
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/p2https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp2%22
on Aug 1, 2026https://github.com/feast-dev/feast/issues/6693#event-28812159668
https://github.com/adarshsm
adarshsmhttps://github.com/adarshsm
on Aug 2, 2026https://github.com/feast-dev/feast/issues/6693#issuecomment-5159553823
https://github.com/yuan1j
yuan1jhttps://github.com/yuan1j
on Aug 5, 2026https://github.com/feast-dev/feast/issues/6693#issuecomment-5186638846
@adarshsmhttps://github.com/adarshsm
https://github.com/yuan1j
yuan1jhttps://github.com/yuan1j
on Aug 12, 2026https://github.com/feast-dev/feast/issues/6693#issuecomment-5267643290
https://github.com/RishabhCodezZz
RishabhCodezZzhttps://github.com/RishabhCodezZz
on Aug 19, 2026https://github.com/feast-dev/feast/issues/6693#issuecomment-5342899920
https://github.com/RishabhCodezZz
RishabhCodezZzhttps://github.com/RishabhCodezZz
on Aug 19, 2026https://github.com/feast-dev/feast/issues/6693#issuecomment-5344039821
https://github.com/yuan1j
yuan1jhttps://github.com/yuan1j
on Aug 21, 2026https://github.com/feast-dev/feast/issues/6693#issuecomment-5371648884
@RishabhCodezZzhttps://github.com/RishabhCodezZz
RishabhCodezZzhttps://github.com/RishabhCodezZz
on Aug 21, 2026https://github.com/feast-dev/feast/issues/6693#event-29815930930
test: Add failing regression test for remote online store provisioninghttps://github.com/RishabhCodezZz/feast/commit/e17717b5c977348c619e0c48988c3f68ecc096aa
e17717bhttps://github.com/RishabhCodezZz/feast/commit/e17717b5c977348c619e0c48988c3f68ecc096aa
fix: Provision online store infra for remote feast applyhttps://github.com/RishabhCodezZz/feast/commit/bd367e48d8f412d6ea65f2c04cd20d6e58ddfa2e
bd367e4https://github.com/RishabhCodezZz/feast/commit/bd367e48d8f412d6ea65f2c04cd20d6e58ddfa2e
Sign up for freehttps://github.com/signup?return_to=https://github.com/feast-dev/feast/issues/6693
Sign in to commenthttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/6693
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/p2https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp2%22
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.