Skip to content

Implement timeout for the Spanner query #170

@jordi-mas-dj

Description

@jordi-mas-dj

Environment details

  • OS type and version: Linux
  • Python version: 3.10
  • langchain-google-spanner: 0.82

Solution

See: #178

Steps to reproduce

In an scenario when you large amount of data (millions of rows) and you may not have indexes for all fields (you do this progressively) the Spanner query does not time out and can take as long as the database query (e.g. minutes).

It will be great if a default reasonable timeout is implemented for the Spanner query. It will be great also if the consumer of the library can change this default.

Metadata

Metadata

Labels

api: spannerIssues related to the googleapis/langchain-google-spanner-python API.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions