br1ghtyang / asterixdb

Automatically exported from code.google.com/p/asterixdb
0 stars 0 forks source link

Return value containing both count() and listily() returns AlgebricksException #527

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Beta release, using TinySocial for the following query:

use dataverse TinySocial;

let $l2 := for $i in dataset TwitterUsers return $i
return {"count2": count($l2), "l2": $l2}

What is the expected output? What do you see instead?
Should return the count and the content of the list, however the following 
exception is thrown:

Could not infer type for variable '$$3'. [AlgebricksException]

Original issue reported on code.google.com by jarod...@gmail.com on 11 Jun 2013 at 4:38

GoogleCodeExporter commented 8 years ago

Original comment by jarod...@gmail.com on 18 Nov 2013 at 11:11

GoogleCodeExporter commented 8 years ago

Original comment by sjaco...@ucr.edu on 7 Jan 2015 at 9:56

GoogleCodeExporter commented 8 years ago

Original comment by sjaco...@ucr.edu on 3 Feb 2015 at 9:21