Skip to content

Commit 44094f7

Browse files
authored
Merge pull request #1 from martinitus/martinitus-patch-1
document un-optimized behaviour of executemany
2 parents 686df3e + f88a0e4 commit 44094f7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/databricks/sql/client.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,9 +526,11 @@ def execute(
526526

527527
def executemany(self, operation, seq_of_parameters):
528528
"""
529-
Prepare a database operation (query or command) and then execute it against all parameter
530-
sequences or mappings found in the sequence ``seq_of_parameters``.
529+
Execute the operation once for every set of passed in parameters.
531530
531+
This will issue N sequential request to the database where N is the length of the provided sequence.
532+
No optimizations of the query (like batching) will be performed.
533+
532534
Only the final result set is retained.
533535
534536
:returns self

0 commit comments

Comments
 (0)