Skip to content

Commit 41b02cd

Browse files
Abel Milashclaude
andcommitted
Update dataframe.py tips to reflect chunking atomicity trade-off
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a90cf32 commit 41b02cd

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

src/PowerPlatform/Dataverse/operations/dataframe.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,13 @@ def create(
177177
:raises ValueError: If ``records`` is empty or the number of returned
178178
IDs does not match the number of input rows.
179179
180+
.. tip::
181+
For DataFrames with more than 1,000 rows, the underlying
182+
``CreateMultiple`` call is split into sequential chunks. This is
183+
**not atomic** — if a later chunk fails, earlier rows are already
184+
committed. Callers that require atomicity should limit DataFrames
185+
to ≤ 1,000 rows per call.
186+
180187
Example:
181188
Create records from a DataFrame::
182189
@@ -247,6 +254,13 @@ def update(
247254
``clear_nulls`` is ``True``, NaN/None values become explicit nulls, so
248255
rows are never skipped.
249256
257+
.. tip::
258+
For DataFrames with more than 1,000 rows, the underlying
259+
``UpdateMultiple`` call is split into sequential chunks. This is
260+
**not atomic** — if a later chunk fails, earlier rows are already
261+
committed. Callers that require atomicity should limit DataFrames
262+
to ≤ 1,000 rows per call.
263+
250264
Example:
251265
Update records with different values per row::
252266

0 commit comments

Comments
 (0)