lyfeyaj / jaql

Automatically exported from code.google.com/p/jaql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

expand unroll is broken

GoogleCodeExporter opened this issue · comments

expand unroll copies the whole array that should be unrolled, instead of
just one element per result.

To reproduce: run the following statement in the jaql shell:
[ [1, [9,8,7] ] ]-> expand unroll $[1];
Expected result:
[ [1, 9], [1, 8], [1, 7] ]
Actual result:
[ [1, [9, 8, 7]], [1, [9, 8, 7]], [1, [9, 8, 7]] ]

Original issue reported on code.google.com by jasper.o...@de.ibm.com on 31 Jul 2009 at 10:44

Fix in r267

Original comment by moritzka...@web.de on 14 Aug 2009 at 3:36

  • Changed state: Fixed