Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add isNull condition for payload filtering #1617

Merged
merged 17 commits into from
Apr 1, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add new test points to original test_collection
  • Loading branch information
ibrahim-akrab committed Mar 30, 2023
commit 4eef537ac8c9e037c871149d9ad8e3e342302397
16 changes: 13 additions & 3 deletions openapi/tests/openapi_integration/helpers/collection_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def basic_collection_setup(collection_name='test_collection', on_disk_payload=Fa
{
"id": 1,
"vector": [0.05, 0.61, 0.76, 0.74],
"payload": {"city": None}
"payload": {"city": "Berlin"}
},
{
"id": 2,
Expand All @@ -59,7 +59,7 @@ def basic_collection_setup(collection_name='test_collection', on_disk_payload=Fa
{
"id": 3,
"vector": [0.36, 0.55, 0.47, 0.94],
"payload": {"city": []}
"payload": {"city": ["Berlin", "Moscow"]}
},
{
"id": 4,
Expand All @@ -74,7 +74,17 @@ def basic_collection_setup(collection_name='test_collection', on_disk_payload=Fa
{
"id": 6,
"vector": [0.35, 0.08, 0.11, 0.44]
}
},
{
"id": 7,
"vector": [0.25, 0.98, 0.14, 0.43],
"payload": {"city": None}
},
{
"id": 8,
"vector": [0.79, 0.53, 0.72, 0.15],
"payload": {"city": []}
},
]
}
)
Expand Down