Today when handling a WriteBatchRequest we do a bunch of individual INSERT, DELETE, and UPDATE statements. What would be better is if we use the COPY FROM protocol to copy into a temporary table and then use Read-Write queries, e.g. INSERT INTO ... SELECT ..., to merge the temporary table into the final destination.
Note: this is separate from supporting a higher level MERGE
Feature request
Today when handling a
WriteBatchRequest
we do a bunch of individualINSERT
,DELETE
, andUPDATE
statements. What would be better is if we use theCOPY FROM
protocol to copy into a temporary table and then use Read-Write queries, e.g.INSERT INTO ... SELECT ...
, to merge the temporary table into the final destination.Note: this is separate from supporting a higher level
MERGE