tad icon indicating copy to clipboard operation
tad copied to clipboard

Rec column visible by default

Open shilman opened this issue 8 years ago • 5 comments

Version: tad-0.6.1-preview Usage:

> tad top_personal_finance_commenters.csv
tad

top_personal_finance_commenters.csv.zip

shilman avatar Dec 19 '16 00:12 shilman

Thanks for reporting!

Already fixed in https://github.com/antonycourtney/tad/commit/bfa43c42a4b7675df671ae8e21471f3f10e9dfd0

I guess I better hurry up and get auto-updates working. In the meantime, a more recent snapshot is at https://www.dropbox.com/s/q81220gpd83vza1/tad-0.6.3-preview.tgz

antonycourtney avatar Dec 19 '16 02:12 antonycourtney

"Rec" column still visible on Tad 0.8.4

hmontenegro avatar May 31 '17 14:05 hmontenegro

Sorry to report "Rec" is still visible on 0.9.0

atkulp avatar Dec 13 '18 11:12 atkulp

Thanks for reporting. So....unlike the various internal columns (prefixed with "_" in the initial report on this issue) the additional "Rec" column is intentional. It's intended to provide a count of records (somewhat like what count(*) does in SQL), which is useful and convenient when pivoting and you want to see how many leaf rows are in each bucket. But I fully accept the feedback that the name "Rec" is pretty terrible (it was chosen for arcane historical reasons) and having it on by default is confusing and unintuitive. The right answer here is that this really should be off by default, and if the user wants it, it should be available as part of a general-purpose facility to add new columns computed from existing columns (a non-trivial effort).

antonycourtney avatar Dec 13 '18 16:12 antonycourtney