INSERT INTO Circle (radius) VALUES (1.1)
INSERT INTO Circle (radius) VALUES (1.2)
Also, because the batchAction actually sends each insert individually and in parallel (not sequentially), IDs/timestamps of inserted items are not deterministically incremental.
Steps to reproduce the behavior
Execute a batch insert, such as the one in the Expected Behavior section.
Workaround
Writing insert queries using infix.
Will try to write a proper script to reproduce this issue, experiments using barebones finagle-postgres and hopefully a pull request to fix this issue.
Version:
quill-finagle-postgres:2.5.4
Module:
quill-finagle-postgres
Database:
postgres
Expected behavior
Similar to #747, we are getting the wrong behavior when doing batch inserts using finagle-postgres
Batch insert actions should be executed as a single query.
Actual behavior
Multiple sequential insert queries.
Also, because the batchAction actually sends each insert individually and in parallel (not sequentially), IDs/timestamps of inserted items are not deterministically incremental.
Steps to reproduce the behavior
Execute a batch insert, such as the one in the Expected Behavior section.
Workaround
Writing insert queries using
infix
.Will try to write a proper script to reproduce this issue, experiments using barebones
finagle-postgres
and hopefully a pull request to fix this issue.Using finagle-postgres directly:
@getquill/maintainers