AppendRows
cannot be used on the second or subsequent PENDING
write streams - UNKNOWN: failed to append rows: stream is already finalized
#352
Labels
bug
Something isn't working
What happened?
I am using
ghcr.io/goccy/bigquery-emulator/bigquery-emulator
in a local development environment to check the operation of a code that registers data using thePENDING
write stream, but when I run the exact same process more than twice, the following error occurs on the second and subsequent processes:rpc error: code = Unknown desc = failed to append rows: stream is already finalized
What did you expect to happen?
Data can be registered also successfully from the second or subsequent
PENDING
write streams onwards.How can we reproduce it (as minimally and precisely as possible)?
TestStorageWrite can be reproduced by changing the code to the following.
TestServer
is started only once at the beginning and each test case connects to the already startedTestServer
, and that the test case has twoPENDING
streams.1st pending stream
) passes, but test case 2(2nd pending stream
) gives this error on theGetResult
of the secondAppendRows
:rpc error: code = Unknown desc = failed to append rows: stream is already finalized
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: