AlenkaF commented on code in PR #46057:
URL: https://github.com/apache/arrow/pull/46057#discussion_r2034862879
##########
python/pyarrow/acero.py:
##########
@@ -374,7 +374,7 @@ def _filter_table(table, expression):
Declaration("filter", options=FilterNodeOptions(expression))
])
result = decl.to_table(use_threads=True)
- if is_batch:
+ if is_batch and result.num_rows > 0:
Review Comment:
> Will look into the C++ docs.
Found nothing that would help us here.
--
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]