You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two write modes are available for partitioned tables:
120
-
121
-
| Mode | Property Value | Description |
122
-
|------|---------------|-------------|
123
-
|**Fanout** (default) |`true`| Handles unsorted data, maintains open writers for all partitions |
124
-
|**Clustered**|`false`| Requires sorted input, more memory efficient |
125
-
126
-
Configure via table property:
127
-
```
128
-
write.datafusion.fanout.enabled = true
129
-
```
130
-
131
101
## Configuration Options
132
102
133
103
These table properties control write behavior. They must be set when creating the table via the Iceberg catalog API, as DataFusion SQL does not support `ALTER TABLE` for property changes.
134
104
135
105
| Property | Default | Description |
136
106
|----------|---------|-------------|
137
-
|`write.datafusion.fanout.enabled`|`true`| Use FanoutWriter (true) or ClusteredWriter (false) for partitioned writes |
138
107
|`write.target-file-size-bytes`|`536870912` (512MB) | Target size for data files |
139
108
|`write.format.default`|`parquet`| Default file format for new data files |
0 commit comments