From 2f77090ecf9ac7ddfcbf0d9b95dd65798cad9d40 Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Tue, 16 Mar 2021 18:16:48 -0400 Subject: [PATCH] fix: clippy/fmt --- server/src/db/chunk.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/db/chunk.rs b/server/src/db/chunk.rs index 377edf546f..9713c8d83f 100644 --- a/server/src/db/chunk.rs +++ b/server/src/db/chunk.rs @@ -249,10 +249,10 @@ impl PartitionChunk for DBChunk { selection: Selection<'_>, ) -> Result { match self { - DBChunk::MutableBuffer { chunk, .. } => chunk + Self::MutableBuffer { chunk, .. } => chunk .table_schema(table_name, selection) .context(MutableBufferChunk), - DBChunk::ReadBuffer { + Self::ReadBuffer { db, partition_key, chunk_id, @@ -284,7 +284,7 @@ impl PartitionChunk for DBChunk { Ok(schema) } - DBChunk::ParquetFile => { + Self::ParquetFile => { unimplemented!("parquet file not implemented for table schema") } }