Skip to content

[Bug] emptyFloatList not properly initialized in Proto in 4.0.0 during Upsert #184

Open
@yashrao99

Description

@yashrao99

Is this a new bug?

Not sure if anyone has reported this, but when I was trying to upsert using the new SDK, it was failing internally with "cannot find class definition for emptyFloatList()"

I was only updating dense vector values, and had provided null sparse vectors/indices along with Metadata.

Either the protobuf is not initialized, or not imported properly

When I dropped to v3.1, I'm able to upsert without any issues

  • [X ] I believe this is a new bug
  • [X ] I have searched the existing Github issues and Community Forum, and I could not find an existing post for this bug

Describe the bug
Describe the functionality that was working before but is broken now.

Error information
I will try to append the full stack trace here, and my simple code. I am on a tight deadline right now, and 3.1 is working well. I will flip back to 4.0.0 and share the error I was receiving, but the culprit is the emptyFloatList

Steps to reproduce the issue locally
Install version 4.0.0

Call upsert method (signature with metadata)

upsert(ID, embeddings, (sparse indices == null), (sparse vector == null), "namespace", metadata struct)

Environment
Java17

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstatus:needs-triageAn issue that needs to be triaged by the Pinecone team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions