[ggl2-users] filter + select:: Bug or feature?

  • From: Guillaume Chauvat <guillaume.chauvat@xxxxxxxxxxxxxx>
  • To: ggl2-users@xxxxxxxxxxxxx
  • Date: Fri, 22 Jun 2012 10:52:51 +0200

Dear ggl2-users,

Lets assume roi is an input datasource containing a numeric field called
gid. I'm surprised to notice that:

show roi filter(roi/gid == 2) select(roi/gid);

show roi filter(roi/gid == 2) select(r | r/gid);

do not return the same results:

[{gid=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]}]

[{gid=2}]

What's wrong?

Thanks a lot for your help.

Other related posts: