Skip to content

Commit

Permalink
feat: expose path used by cache request (#25480)
Browse files Browse the repository at this point in the history
  • Loading branch information
praveen-influx committed Oct 24, 2024
1 parent 4e45846 commit 9a52eba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions influxdb3_write/src/parquet_cache/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ impl CacheRequest {
let (notifier, receiver) = oneshot::channel();
(Self { path, notifier }, receiver)
}

/// Helper to get path used to create this request
pub fn get_path(&self) -> &Path {
&self.path
}
}

/// An interface for interacting with a Parquet Cache by registering [`CacheRequest`]s to it.
Expand Down

0 comments on commit 9a52eba

Please sign in to comment.