Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit e182ac0

Browse files
committed
Add important information about inferSchema option
1 parent 70c43b0 commit e182ac0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ by a rate limiter. Default 1 (i.e. 100% capacity).
111111
- `update` if true, items will be written using UpdateItem on keys rather than BatchWriteItem. Default false.
112112
- `delete` if true, items will be deleted using BatchWriteItem. Default false.
113113
- `throughput` the desired write throughput to use. It overwrites any calculation used by the package. It is intended to be used with tables that are on-demand. Defaults to 100 for on-demand.
114-
- `inferSchema` if false will not automatically infer schema - this is useful when writing to a table with many columns
114+
- `inferSchema` Requires permission to use "Scan" on the table. If no items are present in the table, the inferred
115+
schema will be empty. If false, will not automatically infer schema - this is useful when writing to a table with
116+
many columns. Default true.
115117

116118
## System Properties
117119
The following Java system properties are available for configuration.

0 commit comments

Comments
 (0)