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 23, 2024
1 parent 8a2ea68 commit 96cdef9
Show file tree
Hide file tree
Showing 5 changed files with 540 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/paimon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ storage-memory = ["opendal/services-memory"]
storage-fs = ["opendal/services-fs"]

[dependencies]
rand = "0.8.5"
url = "2.5.2"
async-trait = "0.1.81"
bytes = "1.7.1"
Expand Down
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 96cdef9

Please sign in to comment.