chore: Apply suggestions from code review

Co-authored-by: Andrew Lamb <alamb@influxdata.com>
pull/24376/head
Nga Tran 2021-12-08 11:42:25 -05:00 committed by GitHub
parent a13c3120a6
commit 428851b467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -201,6 +201,7 @@ impl DbChunk {
}
}
/// Returns the contained `ParquetChunk`, if this chunk is stored as parquet
pub fn parquet_chunk(&self) -> Option<&Arc<ParquetChunk>> {
match &self.state {
State::ParquetFile { chunk } => Some(chunk),