feat(query): fix filter bug
@@ -58,7 +58,7 @@ impl DataBlock {
}
pub fn filter(self, predicate: &Value<AnyType>) -> Result<DataBlock> {
- if self.num_columns() == 0 || self.num_rows() == 0 {
+ if self.num_rows() == 0 {
return Ok(self);
}
