MCPcopy Create free account
hub / github.com/apache/paimon-rust / prepare_commit

Method prepare_commit

crates/paimon/src/table/table_write.rs:64–71  ·  view source on GitHub ↗
(mut self)

Source from the content-addressed store, hash-verified

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.

Calls 4

removeMethod · 0.80
file_ioMethod · 0.45
prepare_commit_indexMethod · 0.45
is_emptyMethod · 0.45