Skip to content

Commit

Permalink
feat: Add Milvus Vector Database Implementation (#4751)
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscojavierarceo authored Dec 24, 2024
1 parent 18ff604 commit 22c7b58
Show file tree
Hide file tree
Showing 9 changed files with 505 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr_local_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ steps.uv-cache.outputs.dir }}
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
key: ${{ runner.os }}-${{ matrix.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', matrix.python-version)) }}
- name: Install dependencies
run: make install-python-dependencies-ci
- name: Test local integration tests
Expand Down
18 changes: 15 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ test-python-universal-postgres-online:
not test_snowflake" \
sdk/python/tests

test-python-universal-mysql-online:
test-python-universal-mysql-online:
PYTHONPATH='.' \
FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.online_stores.mysql_online_store.mysql_repo_configuration \
PYTEST_PLUGINS=sdk.python.tests.integration.feature_repos.universal.online_store.mysql \
Expand All @@ -292,7 +292,11 @@ test-python-universal-cassandra:
FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.online_stores.cassandra_online_store.cassandra_repo_configuration \
PYTEST_PLUGINS=sdk.python.tests.integration.feature_repos.universal.online_store.cassandra \
python -m pytest -x --integration \
sdk/python/tests
sdk/python/tests/integration/offline_store/test_feature_logging.py \
--ignore=sdk/python/tests/integration/offline_store/test_validation.py \
-k "not test_snowflake and \
not test_spark_materialization_consistency and \
not test_universal_materialization"

test-python-universal-hazelcast:
PYTHONPATH='.' \
Expand Down Expand Up @@ -330,7 +334,7 @@ test-python-universal-cassandra-no-cloud-providers:
not test_snowflake" \
sdk/python/tests

test-python-universal-elasticsearch-online:
test-python-universal-elasticsearch-online:
PYTHONPATH='.' \
FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.online_stores.elasticsearch_online_store.elasticsearch_repo_configuration \
PYTEST_PLUGINS=sdk.python.tests.integration.feature_repos.universal.online_store.elasticsearch \
Expand All @@ -349,6 +353,14 @@ test-python-universal-cassandra-no-cloud-providers:
not test_snowflake" \
sdk/python/tests

test-python-universal-milvus-online:
PYTHONPATH='.' \
FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.online_stores.milvus_online_store.milvus_repo_configuration \
PYTEST_PLUGINS=sdk.python.tests.integration.feature_repos.universal.online_store.milvus \
python -m pytest -n 8 --integration \
-k "test_retrieve_online_milvus_ocuments" \
sdk/python/tests --ignore=sdk/python/tests/integration/offline_store/test_dqm_validation.py

test-python-universal-singlestore-online:
PYTHONPATH='.' \
FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.online_stores.singlestore_repo_configuration \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ OnlineStore class names must end with the OnlineStore suffix!

### Contrib online stores

New online stores go in `sdk/python/feast/infra/online_stores/contrib/`.
New online stores go in `sdk/python/feast/infra/online_stores/`.

#### What is a contrib plugin?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ feast.infra.online\_stores.milvus\_online\_store package
Submodules
----------

feast.infra.online\_stores.milvus\_online\_store.milvus module
--------------------------------------------------------------

.. automodule:: feast.infra.online_stores.milvus_online_store.milvus
:members:
:undoc-members:
:show-inheritance:

feast.infra.online\_stores.milvus\_online\_store.milvus\_repo\_configuration module
-----------------------------------------------------------------------------------

Expand Down
Loading

0 comments on commit 22c7b58

Please sign in to comment.