Skip to content

Commit

Permalink
fix: get_results returns none if table is empty (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-sentry authored Nov 12, 2024
1 parent aa55f93 commit e044c7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/test_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,7 @@ def get_results(
# deserialize
table = pl.read_ipc(result)

if table.height == 0:
return None

return table

0 comments on commit e044c7e

Please sign in to comment.