Skip to content

Commit

Permalink
feat(file_index): add file index format rw
Browse files Browse the repository at this point in the history
  • Loading branch information
devillove084 committed Aug 29, 2024
1 parent 8a2ea68 commit 5f4f2f8
Show file tree
Hide file tree
Showing 6 changed files with 572 additions and 22 deletions.
3 changes: 3 additions & 0 deletions crates/paimon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,6 @@ snafu = "0.8.3"
typed-builder = "^0.19"
opendal = { version = "0.48",features = ["services-fs"] }
pretty_assertions = "1"

[dev-dependencies]
rand = "0.8.5"
5 changes: 5 additions & 0 deletions crates/paimon/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ pub enum Error {
display("Paimon hitting invalid config: {}", message)
)]
ConfigInvalid { message: String },
#[snafu(
visibility(pub(crate)),
display("Paimon hitting invalid file index format: {}", message)
)]
FileIndexFormatInvalid { message: String },
}

impl From<opendal::Error> for Error {
Expand Down
Loading

0 comments on commit 5f4f2f8

Please sign in to comment.