What happened to this site? And what's that frog about?

Wrong group subview when column order ch

F138 - Failure Feedback Forum 

Status: resolved Severity: minor Category: Vlerq Ratcl Created: 2007-02-05 Updated: 2007-02-05

This looks correct as it has b as the subview column

 % view {a b c} def {1 a b 2 c d 3 e f} | group {a c} g | structdesc
 a:S,c:S,g[b:S]

This looks wrong as b should again be the subview column

 % view {a b c} def {1 a b 2 c d 3 e f} | group {c a} g | structdesc
 c:S,a:S,g[a:S]

Summary

Good catch, thanks. Grouping was using OmitColumn which assumed its column input list is always sorted.

Fixed by using implementing OmitColumn slightly differently. In Darcs. Lemme know if I should update ratcl.vfs as well.



2007-02-05 btheado

Imported

Add a comment:

Tip: add empty lines between paragraphs and indent lines to prevent reformatting.

Your name or initials:  

Powered by Mavrig