database.run(...) hangs for a few seconds with invalid query #2014
Labels
api: spanner
Issues related to the googleapis/nodejs-spanner API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
database.run(...)
hangs for a few seconds when an invalid query is passed.Environment details
@google-cloud/spanner
version: ^7.5.0Steps to reproduce
I created minimum reproducible code: https://github.com/ikenox/nodejs-spanner-example/tree/hangs-with-invalid-query
main.ts
executes the code like below.And the output is below:
The text was updated successfully, but these errors were encountered: