phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chris snow <chsnow...@gmail.com>
Subject Batch insert using Python API executemany()
Date Sun, 07 Oct 2018 08:00:57 GMT
I'm investigating the executemany() api call to insert batches of records
consumed from Kafka.

Does this API call operate on the batch as a whole, or does it call
execute() for each insert?  The source code seems like it does the latter,
but I'm not 100% sure.

If executemany() operates on the batch as a whole, is there some way to
check if there were errors trying to insert any of the records?

Mime
View raw message