You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SQL registry read_path is not normalized to the psycopg3 driver like path #6643
For a SQL registry, RegistryConfig.validate_path rewrites a bare postgresql:// URL in path to postgresql+psycopg:// so SQLAlchemy uses the psycopg3 driver, and logs a warning explaining the rewrite. read_path gets no equivalent treatment. It has no validator, so a bare postgresql:// read_path reaches create_engine unchanged and SQLAlchemy falls back to the psycopg2 driver, diverging from path (which used psycopg3) with no warning.
If psycopg2 isn't installed, or a project has standardized on psycopg3, this fails at connection time with nothing pointing at read_path as the odd one out.
read_path should normalize the same way path does: rewrite a leading postgresql:// to postgresql+psycopg:// and log the same migration warning. An explicit postgresql+psycopg2:// should be left as-is, matching the existing path behavior.
Details
validate_path is a @field_validator("path") on RegistryConfig in sdk/python/feast/repo_config.py, gated on registry_type == "sql". read_path is declared on SqlRegistryConfig in sdk/python/feast/infra/registry/sql.py; it inherits the path validator but has none of its own, so it flows straight into create_engine(registry_config.read_path, ...).
Activity
fix: Normalize SQL registry read_path to the psycopg3 driver like path
fix: Normalize SQL registry read_path to the psycopg3 driver like path
fix: Normalize SQL registry read_path to the psycopg3 driver like path
fix: Normalize SQL registry read_path to the psycopg3 driver like path
fix: Normalize SQL registry read_path to the psycopg3 driver like path (
fix: Normalize SQL registry read_path to the psycopg3 driver like path (
chore(release): release 0.66.0
chore(release): release 0.66.0