Skip to content

feat: Add Pinecone online store integration#6585

Open
SIDDHESH1564 wants to merge 1 commit into
feast-dev:masterfrom
SIDDHESH1564:feat/pinecone-online-store
Open

feat: Add Pinecone online store integration#6585
SIDDHESH1564 wants to merge 1 commit into
feast-dev:masterfrom
SIDDHESH1564:feat/pinecone-online-store

Conversation

@SIDDHESH1564

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

This PR adds Pinecone as a new online store integration for Feast. Pinecone is a managed vector database that enables fast similarity search and retrieval, making it ideal for ML feature serving workloads that involve embeddings and vector-based lookups.

Key changes:

  • Implements PineconeOnlineStore class with full CRUD operations (online_write_batch, online_read, teardown)
  • Adds Pinecone as a configurable online store option via PineconeOnlineStoreConfig
  • Supports namespace-based isolation for multi-tenant environments
  • Handles batch upserts with automatic chunking to respect Pinecone's API limits
  • Adds unit tests and integration test configuration

Which issue(s) this PR fixes:

Fixes #6582

Checks

  • I've made sure the tests are passing.
  • My commits are signed off (git commit -s)
  • My PR title follows conventional commits format

Testing Strategy

  • Unit tests
  • Integration tests
  • Manual tests
  • Testing is not required for this change

Misc

  • Requires pinecone-client as an optional dependency (pip install feast[pinecone])
  • Tested against Pinecone Serverless and Pod-based indexes
  • Documentation updated in docs/reference/online-stores/pinecone.md

@SIDDHESH1564
SIDDHESH1564 requested a review from a team as a code owner July 7, 2026 06:06
@SIDDHESH1564
SIDDHESH1564 force-pushed the feat/pinecone-online-store branch from 804ff38 to 020a0e6 Compare July 9, 2026 05:28
@SIDDHESH1564
SIDDHESH1564 force-pushed the feat/pinecone-online-store branch 3 times, most recently from a9607d7 to 0fa28bc Compare July 11, 2026 19:03
@codecov-commenter

codecov-commenter commented Jul 16, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 62.97376% with 127 lines in your changes missing coverage. Please review.
✅ Project coverage is 45.76%. Comparing base (f487b37) to head (5db79c2).

Files with missing lines Patch % Lines
...ra/online_stores/pinecone_online_store/pinecone.py 63.31% 90 Missing and 34 partials ⚠️
...necone_online_store/pinecone_repo_configuration.py 0.00% 3 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6585      +/-   ##
==========================================
+ Coverage   45.64%   45.76%   +0.12%     
==========================================
  Files         412      415       +3     
  Lines       48761    49104     +343     
  Branches     6913     6990      +77     
==========================================
+ Hits        22256    22473     +217     
- Misses      24957    25050      +93     
- Partials     1548     1581      +33     
Flag Coverage Δ *Carryforward flag
go-feature-server 30.58% <ø> (ø) Carriedforward from f487b37
python-unit 47.04% <62.97%> (+0.12%) ⬆️

*This pull request uses carry forward flags. Click here to find out more.

Files with missing lines Coverage Δ
...ra/online_stores/pinecone_online_store/__init__.py 100.00% <100.00%> (ø)
sdk/python/feast/repo_config.py 77.38% <ø> (ø)
...necone_online_store/pinecone_repo_configuration.py 0.00% <0.00%> (ø)
...ra/online_stores/pinecone_online_store/pinecone.py 63.31% <63.31%> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f487b37...5db79c2. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@SIDDHESH1564
SIDDHESH1564 force-pushed the feat/pinecone-online-store branch 2 times, most recently from dfbccce to 3d25634 Compare July 17, 2026 18:26
@SIDDHESH1564
SIDDHESH1564 force-pushed the feat/pinecone-online-store branch from 3d25634 to 5db79c2 Compare July 18, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Pinecone Online Store Integration

3 participants