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.
Environment details
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.