Problem Statement
Currently, Feast has both v1 and v2 document retrieval methods (retrieve_online_documents_v1 and retrieve_online_documents_v2) across different online stores. This creates inconsistency and maintenance overhead.
Issues identified:
- Different online stores may have different logic between v1 and v2 implementations
- As noted in PR #5487, PostgreSQL online store shows v1 and v2 "retrieving different dataframes as the logic is completely different for both versions"
- v2 was intended to "incorporate more fields" but differences beyond that indicate potential bugs
- Maintaining two versions increases code complexity and testing burden
Research Required
Before removing v1, we need to investigate:
1. Cross-Store Analysis
2. API Compatibility Assessment
3. Usage Analysis
4. Store-Specific Investigation
Focus on stores mentioned with differences:
Proposed Solution
Based on research findings:
Phase 1: Research & Documentation
- Complete the research items above
- Create a comprehensive comparison matrix of v1 vs v2 across all stores
- Identify the "canonical" version that should be preserved
Phase 2: Standardization
- Ensure v2 implementation is consistent and correct across all stores
- Update v2 to include any missing functionality from v1 (if needed)
- Add comprehensive tests for v2 across all stores
Phase 3: Migration & Removal
- Deprecate v1 methods with clear migration guidance
- Update all internal usage to v2
- Remove v1 implementation after appropriate deprecation period
Acceptance Criteria
Context
This issue stems from the discussion in PR #5487 where @franciscojavierarceo noted that v1/v2 differences beyond additional fields indicate bugs, and @jyejare confirmed that different stores have different logic between versions.
Original comment:
"v2 vs v1 should be approximately the same where v2 was meant to incorporate more fields. If there is a difference, it's a bug... we should remove v1 and move to v2 for all of the existing usage."
Priority
Medium-High - This affects API consistency and maintainability, but doesn't block current functionality.
Problem Statement
Currently, Feast has both v1 and v2 document retrieval methods (
retrieve_online_documents_v1andretrieve_online_documents_v2) across different online stores. This creates inconsistency and maintenance overhead.Issues identified:
Research Required
Before removing v1, we need to investigate:
1. Cross-Store Analysis
2. API Compatibility Assessment
3. Usage Analysis
4. Store-Specific Investigation
Focus on stores mentioned with differences:
Proposed Solution
Based on research findings:
Phase 1: Research & Documentation
Phase 2: Standardization
Phase 3: Migration & Removal
Acceptance Criteria
Context
This issue stems from the discussion in PR #5487 where @franciscojavierarceo noted that v1/v2 differences beyond additional fields indicate bugs, and @jyejare confirmed that different stores have different logic between versions.
Original comment:
Priority
Medium-High - This affects API consistency and maintainability, but doesn't block current functionality.