fix: clippy/fmt

pull/24376/head
Andrew Lamb 2021-03-16 18:16:48 -04:00
parent 72eff5eed5
commit 2f77090ecf
1 changed files with 3 additions and 3 deletions

View File

@ -249,10 +249,10 @@ impl PartitionChunk for DBChunk {
selection: Selection<'_>, selection: Selection<'_>,
) -> Result<Schema, Self::Error> { ) -> Result<Schema, Self::Error> {
match self { match self {
DBChunk::MutableBuffer { chunk, .. } => chunk Self::MutableBuffer { chunk, .. } => chunk
.table_schema(table_name, selection) .table_schema(table_name, selection)
.context(MutableBufferChunk), .context(MutableBufferChunk),
DBChunk::ReadBuffer { Self::ReadBuffer {
db, db,
partition_key, partition_key,
chunk_id, chunk_id,
@ -284,7 +284,7 @@ impl PartitionChunk for DBChunk {
Ok(schema) Ok(schema)
} }
DBChunk::ParquetFile => { Self::ParquetFile => {
unimplemented!("parquet file not implemented for table schema") unimplemented!("parquet file not implemented for table schema")
} }
} }