mapleFU commented on issue #37006:
URL: https://github.com/apache/arrow/issues/37006#issuecomment-1663250157
> Since gluten depends on arrow, can someone help build a PushedFilters
query parquet using arrow? See if it's an arrow bug
Can you show how gluten filters data? Or provide the filter in compute?
Maybe add some log in
```c++
Result<std::vector<int>> ParquetFileFragment::FilterRowGroups(
compute::Expression predicate) {
std::vector<int> row_groups;
ARROW_ASSIGN_OR_RAISE(auto expressions,
TestRowGroups(std::move(predicate)));
auto lock = physical_schema_mutex_.Lock();
DCHECK(expressions.empty() || (expressions.size() == row_groups_->size()));
for (size_t i = 0; i < expressions.size(); i++) {
if (expressions[i].IsSatisfiable()) {
row_groups.push_back(row_groups_->at(i));
}
}
return row_groups;
}
```
help
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]