You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by chris snow <ch...@gmail.com> on 2018/10/07 08:00:57 UTC
Batch insert using Python API executemany()
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?