bug-recutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gathering multiple statistics at once


From: Liliana Marie Prikler
Subject: Re: Gathering multiple statistics at once
Date: Wed, 02 Feb 2022 15:02:54 +0100
User-agent: Evolution 3.42.1

Hi Jose.

Am Donnerstag, dem 20.01.2022 um 15:40 +0100 schrieb Jose E. Marchesi:
> I certainly see the merits of having a tool like recstat.  I am busy
> now with another project, but I will be back to recutils soon and
> follow up on this.
You're probably still busy (and that's okay), but I wanted you to know
that I came up with a recstat implementation that does support
aggregates (though not mixed with normal counting in the same record).
This has the benefit, that field expressions remain regexp-parseable.

On a somewhat related note, mixing queries and aggregations is
currently broken in both recsel and recstat.  Instead of reporting e.g.
the number of emails any person named "Bob" has, the total number of
emails is reported.  I've attached a minimal "working" example to prove
my point.

Cheers

Attachment: v2-0001-utils-Add-recstat.patch
Description: Text Data

Attachment: mwe.rec
Description: Text document

Attachment: mwe-stat.rec
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]