Skip to content
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
Fix item_id type mismatch in milvus test
The test was providing string values for item_id field which is
defined as Int64 in the schema, causing protobuf serialization
issues that could manifest as Unicode decode errors.

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
  • Loading branch information
franciscojavierarceo and claude committed Jan 27, 2026
commit a56b774c1fdc1a8d8c918db67714c422a2ba0690
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,7 @@ def test_milvus_lite_retrieve_online_documents_v2() -> None:
)
documents_df = pd.DataFrame(
{
"item_id": [str(i) for i in range(n)],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was a bug

"item_id": [i for i in range(n)],
"author_id": [f"author_{i}" for i in range(n)],
"vector": [
np.random.random(
Expand Down