Skip to content

Commit 20ad5de

Browse files
committed
docs(data-modeling): the import dry run previews create rows in the import's batches
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5krDpBpMjEHKqjJ6u8
1 parent 3585054 commit 20ad5de

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎content/docs/data-modeling/fields.mdx‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,11 @@ refuse is not counted. This holds for `count`, and for `sum`, `min` and `max`
322322
over number values. An `avg` summary, a `sum`/`min`/`max` meeting a value that
323323
is not a number, and a summary whose `filter` reads a dotted path through
324324
another reference keep reading the stored value, as they did before.
325+
An import's **dry run** previews its create rows in the batches the import
326+
writes them in (200 rows each) and refuses the rows the import refuses, with
327+
the same message. It writes nothing, so a row in a later batch reads the
328+
summary as stored before the import: two such rows that fall in different
329+
batches of a dry run both preview valid, while the import refuses the second.
325330
**Concurrent writes are not guaranteed (并发不保证):** two writes in flight at
326331
the same time each read the summary they started from, so a guard like the one
327332
above can still admit one row from each.

0 commit comments

Comments
 (0)