mirror of
https://github.com/littlefs-project/littlefs.git
synced 2026-04-02 20:54:57 +00:00
I think this is currently only possible with overlapping by/field fields, but hiding results with conflicting by fields is not ideal. Especially since this function is central to so many scripts: cat test.csv a,b,c x,2,1 x,1,2 x,1,3 Before: ./scripts/csv.py test.csv -ba -bb -fb -fc warning: by fields are unstable a,b b c x,2 2 1 TOTAL 4 6 After: ./scripts/csv.py test.csv -ba -bb -fb -fc a,b b c x,2 2 5 x,2 2 1 TOTAL 4 6 This solves the main issue with unstable by fields, so no more warning. Note that some features rely on by being unique to work (added/removed numbers, compare fields, etc). They shouldn't error, but may be incorrect/unintuitive with conflicting by fields, so avoiding conflicting by fields is still a good idea.