(mut self)
| 62 | } |
| 63 | |
| 64 | async fn prepare_commit(mut self) -> Result<Vec<DataFileMeta>> { |
| 65 | match self { |
| 66 | FileWriter::Append(ref mut w) => w.prepare_commit().await, |
| 67 | FileWriter::AppendBlob(ref mut w) => w.prepare_commit().await, |
| 68 | FileWriter::KeyValue(ref mut w) => w.prepare_commit().await, |
| 69 | FileWriter::Postpone(ref mut w) => w.prepare_commit().await, |
| 70 | } |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | /// TableWrite writes Arrow RecordBatches to Paimon data files. |