Status: resolved
Severity:
failure
Category: Vlerq
Created: 2006-12-08
Updated: 2006-12-08
With no "mapcols -omit" in vlerq4, I wrote my own omitcols as follows:
ratcl::vopdef omitcols {v cols} {
view $v colmap $cols | get @ | to remove view $v get @ | except $remove | get * name | to keep view $v colmap $keep
}
When cols contains column that has a subview, then the column doesn't end up getting omitted. So it seems that except doesn't work for rows containing a non-empty subview column.
Here's a simpler test case:
view {a b} def {1 2 1 3 2 4 3 5} | group a g | to a view $a except [view $a first 1] | dump
Output:
a g - -- 1 #2 2 #1 3 #1
Summary
This is an old issue, it has indeed been fixed on Dec 3. The hash calculations were not fully implemented for views. Now in darcs.
- 2006-12-08 btheado
Imported
- 2006-12-08 jcw
Strange, this sounds similar to something I had fixed. Will look into it, thx.
