Skip to content

firestore: vector queries not compatible with transaction #12837

@ribrdb

Description

@ribrdb

In cloud.google.com/go/firestore, the VectorQuery doesn't implement Queryer and thus is unusable from a transaction. Is this intentional?
I see nothing in the firestore documentation suggesting Vector queries do not support transactions, and the blog post says "Developers can now perform vector search on transactional Firestore data" which kind of implies transactional queries should be supported.

Is there any reason not to add this to firestore/query.go:

func (vq VectorQuery) query() *Query { return &vq.q }

Metadata

Metadata

Assignees

Labels

api: firestoreIssues related to the Firestore API.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions