Skip to content

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

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

Open
yashrao99 opened this issue Apr 10, 2025 · 0 comments
Assignees
Labels
bug Something isn't working status:needs-triage An issue that needs to be triaged by the Pinecone team

Comments

@yashrao99
Copy link

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

@yashrao99 yashrao99 added the bug Something isn't working label Apr 10, 2025
@github-actions github-actions bot added the status:needs-triage An issue that needs to be triaged by the Pinecone team label Apr 10, 2025
@rohanshah18 rohanshah18 self-assigned this Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status:needs-triage An issue that needs to be triaged by the Pinecone team
Projects
None yet
Development

No branches or pull requests

2 participants