willkg / crashstats-tools

Command line tools and library for interacting with Crash Stats (https://crash-stats.mozilla.org/)
Mozilla Public License 2.0
7 stars 0 forks source link

leftover-count doesn't work with histograms #126

Closed willkg closed 4 months ago

willkg commented 4 months ago

This doesn't work:

supersearchfacet --_histogram.date=product --leftover-count

It currently outputs this:

> supersearchfacet --_histogram.date=product --leftover-count
histogram_date.product
 histogram_date | Fenix | Firefox | Focus | MozillaVPN | Thunderbird | total  
----------------|-------|---------|-------|------------|-------------|--------
 2024-04-05     | 25677 | 56172   | 518   | 0          | 13365       | 95732  
 2024-04-06     | 25330 | 40009   | 468   | 4          | 6204        | 72015  
 2024-04-07     | 26191 | 39600   | 508   | 0          | 6122        | 72421  
 2024-04-08     | 25038 | 63071   | 429   | 0          | 15283       | 103821 
 2024-04-09     | 25386 | 58655   | 522   | 1          | 14701       | 99265  
 2024-04-10     | 25120 | 60404   | 497   | 1          | 14951       | 100973 
 2024-04-11     | 24132 | 56894   | 536   | 0          | 14983       | 96545  

It should have a -- leftover column to the left of the total column.