fix: clippy/fmt
parent
72eff5eed5
commit
2f77090ecf
|
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue