refactor: address review comment
parent
a06afb3932
commit
0fc2567161
|
@ -950,12 +950,9 @@ impl<C: QueryChunk + 'static> Deduplicater<C> {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn no_delete_predicates(chunks: &[Arc<C>]) -> bool {
|
fn no_delete_predicates(chunks: &[Arc<C>]) -> bool {
|
||||||
for chunk in chunks {
|
chunks
|
||||||
if !chunk.delete_predicates().is_empty() {
|
.iter()
|
||||||
return false;
|
.all(|chunk| chunk.delete_predicates().is_empty())
|
||||||
}
|
|
||||||
}
|
|
||||||
true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Find the columns needed in the primary key across schemas
|
/// Find the columns needed in the primary key across schemas
|
||||||
|
|
Loading…
Reference in New Issue