Skip to content

Commit

Permalink
minor: new ManifestList
Browse files Browse the repository at this point in the history
  • Loading branch information
Asura7969 committed Jul 18, 2024
1 parent 35ad03f commit 784dd86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion crates/paimon/src/spec/manifest_file_meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// under the License.

use serde::{Deserialize, Deserializer, Serialize, Serializer};
use serde_bytes::{Bytes, Deserialize as SerdeBytesDeserialize, Serialize as SerdeBytesSerialize};
use serde_bytes::Bytes;
use std::fmt::{Display, Formatter};

/// Metadata of a manifest file.
Expand Down
12 changes: 5 additions & 7 deletions crates/paimon/src/spec/manifest_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,15 @@ use super::manifest_file_meta::ManifestFileMeta;
pub struct ManifestList {}

impl ManifestList {
/// Create ManifestList.
pub fn new() -> ManifestList {
todo!()
}

/// Write several [`ManifestFileMeta`]s into a manifest list.
///
/// NOTE: This method is atomic.
pub fn write(&mut self, _metas: Vec<ManifestFileMeta>) -> &str {
todo!()
}
}

impl ManifestList {
/// Create ManifestList.
pub fn create() -> ManifestList {
todo!()
}
}

0 comments on commit 784dd86

Please sign in to comment.