Commit d4fd5e2
[Spark] Support write partition columns to data files for Delta
This support write partition columns to data files for Delta. The feature is required by Uniform Iceberg as Iceberg spec defines so.
The approach is to copy FileFormatWriter from Spark as a DeltaFileFormatWriter, and add the option and logic there to support writing partition columns.
Closes #2367
GitOrigin-RevId: 77657bb422ce93b924f3cb25548e845477f8632f1 parent 75dba07 commit d4fd5e2
File tree
3 files changed
+490
-4
lines changed- spark/src/main/scala/org/apache/spark/sql/delta
- files
3 files changed
+490
-4
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
292 | 296 | | |
293 | 297 | | |
294 | 298 | | |
| |||
323 | 327 | | |
324 | 328 | | |
325 | 329 | | |
326 | | - | |
| 330 | + | |
| 331 | + | |
327 | 332 | | |
328 | 333 | | |
329 | 334 | | |
| |||
0 commit comments