• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

petl-developers / petl / 38113213488
94%

Build:
DEFAULT BRANCH: master
Ran 11 Oct 2026 05:01AM UTC
Jobs 1
Files 134
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Oct 2026 04:57AM UTC coverage: 92.612% (+0.003%) from 92.609%
38113213488

push

github

web-flow
Fix distinct() with a count on header-only tables (#741)

This PR has the objective of fixing `distinct()` when you ask for a
count on a table with a header but no data rows (an empty CSV export,
say, or whats left after a `select()` that matched nothing). Without
`count` you just get the header back. With it,
`list(etl.distinct([('foo', 'bar')], count='n'))` on 1.7.28 dies with
`TypeError: 'object' object is not iterable`, because the bit that
writes out the last group runs even when there was never a first one.

Co-authored-by: Juarez Rudsatz <juarezr@gmail.com>

7 of 7 new or added lines in 2 files covered. (100.0%)

15405 of 16634 relevant lines covered (92.61%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38113213488.1 11 Oct 2026 05:01AM UTC 134
92.61
GitHub Action Run
Source Files on build 38113213488
  • Tree
  • List 134
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1397497d on github
  • Prev Build on master (#38113002324)
  • Next Build on master (#38502160978)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc