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
Uniformly schema-qualify ord-schema tables in queries (#190)
The reaction queries mixed `ord.`-qualified and bare table names in
their FROM/JOIN clauses (e.g. `FROM reaction` vs `FROM ord.reaction`,
`JOIN percentage` vs `JOIN ord.percentage`). This is cosmetic, not a
correctness issue: the connection sets `search_path=public,ord` (see
search.py and conftest.py), so bare ord-schema tables already resolve.
Make the qualification uniform by prefixing all ord-schema tables with
`ord.` in FROM/JOIN clauses, matching the convention already used by
fetch_reactions and _fetch_dataset_most_used_smiles. The rdkit-cartridge
tables keep their `rdkit.` prefix (rdkit is not in the search_path), and
bare table-alias column references are left as-is (the dominant style).
No behavior change; the 51 queries_test.py / search_test.py cases pass
against the test Postgres.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments