Closed GoogleCodeExporter closed 8 years ago
Adding some more information here.
case 1) this works and gives expected results
for $a in [ {"f" : 19} , {"f" : 12} , {"f" : 10} , {"f" : 17}, {"f" : 12} ]
order by $a.f
return $a
results returned :
{ "f": 10 }
{ "f": 12 }
{ "f": 12 }
{ "f": 17 }
{ "f": 19 }
case 2) this oe fails with Exception
for $a in [ {"f" : 19} , {"f" : 12} , {"f" : 10} , {"f" : 17}, {"f" : 12} ]
distinct by $a.f
return $a
edu.uci.ics.hyracks.algebricks.common.exceptions.AlgebricksException:
edu.uci.ics.hyracks.algebricks.common.exceptions.AlgebricksException: Could not
infer type for variable '$$0'.
Original comment by khfaraaz82
on 14 May 2013 at 2:33
Original comment by buyingyi@gmail.com
on 23 May 2013 at 7:37
Original comment by buyingyi@gmail.com
on 24 May 2013 at 9:50
Original issue reported on code.google.com by
khfaraaz82
on 14 May 2013 at 2:17