Using OrientDB 2.1 rc5.

I have Measurement class with property "mea" of type EMBEDDEDLIST:

value of mea for @rid=#16:2: 
[{"t":"0:00","v":22.5,"s":0},{"t":"0:15","v":12.6,"s":0},{"t":"0:30","v":24.5,"s":1},{"t":"0:45","v":10.95,"s":0}]

When I run the following query:

select mea.s as stat,sum(mea.v) as val from
(
select mea from Measurement where @rid=#16:2 unwind mea
)
group by stat

it returns:

stat
val
0
70.549995

while it should return 

stat val
0    46.05
1    24.5

What am I doing wrong? Or is this a bug?

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to