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<'_>,
) -> Result<Schema, Self::Error> {
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")
}
}