Visitar URL original
fix: Remove unsupported vector_len from PostgreSQL tutorial config by Hanabi9249 · Pull Request #6973 · feast-dev/feast · GitHub
Skip to content

fix: Remove unsupported vector_len from PostgreSQL tutorial config - #6973

Open
Hanabi9249 wants to merge 1 commit into
feast-dev:masterfrom
Hanabi9249:codex/postgres-tutorial-config
Open

Hanabi9249 wants to merge 1 commit into
feast-dev:masterfrom
Hanabi9249:codex/postgres-tutorial-config

Conversation

@Hanabi9249

Copy link
Copy Markdown
Contributor

The PGVector tutorial's complete feature_store.yaml includes online_store.vector_len: 384. The current PostgreSQLOnlineStoreConfig inherits a Pydantic model with extra="forbid" and does not declare this field, so this public configuration fails validation with extra_forbidden.

Remove the unsupported field while retaining vector_enabled: true. The current PostgreSQL backend uses that flag to select its vector column type and does not read a vector_len configuration option.

Validation used the exact unchanged configuration class bodies with real installed Pydantic 2.12.5 and PyYAML 6.0.3. The original tree produced 28 passing cases and one failure on this YAML; the patched tree passed the same 29 cases (18 public configuration schema inputs and 11 controls). git diff --cached --check also passed. Full Feast/RepoConfig integration, CLI execution, database services, and the end-to-end tutorial were not run.

@Hanabi9249
Hanabi9249 requested a review from a team as a code owner October 8, 2026 03:54

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant