Why this change is needed:
PostgreSQLDB.execute() expects data as a dictionary, not multiple
positional arguments. The migration code was incorrectly unpacking
a list with *values, causing TypeError.
How it solves it:
- Changed values from list to dict: {col: row_dict[col] for col in columns}
- Pass values dict directly to execute() without unpacking
- Matches execute() signature which expects dict[str, Any] | None
Impact:
- Fixes PostgreSQL E2E test failures
- Enables successful legacy data migration for PostgreSQL
Testing:
- Will be verified by PostgreSQL E2E tests in CI
|
||
|---|---|---|
| .. | ||
| deprecated | ||
| __init__.py | ||
| faiss_impl.py | ||
| json_doc_status_impl.py | ||
| json_kv_impl.py | ||
| memgraph_impl.py | ||
| milvus_impl.py | ||
| mongo_impl.py | ||
| nano_vector_db_impl.py | ||
| neo4j_impl.py | ||
| networkx_impl.py | ||
| postgres_impl.py | ||
| qdrant_impl.py | ||
| redis_impl.py | ||
| shared_storage.py | ||