0

Execute and batchable

It doesn't look like execute and batchable interact the way I'd expect. I would expect a batchable parameter to get passed to the <execute> code as a Javascript array object. Instead, the <execute> block seems to get called once for each value of a batchable parameter (assuming the requested number of rows isn't hit first). The code I was play with is at http://github.com/md5/yql-tables/blob/mast...centchanges.xml. The "ns" paramter is batchable, but I'm seeing each "ns" value individually instead of seeing an array.

-md

by
1 Reply
  • QUOTE (Mike Dillon @ May 10 2009, 09:58 PM) <{POST_SNAPBACK}>
    It doesn't look like execute and batchable interact the way I'd expect. I would expect a batchable parameter to get passed to the <execute> code as a Javascript array object. Instead, the <execute> block seems to get called once for each value of a batchable parameter (assuming the requested number of rows isn't hit first). The code I was play with is at http://github.com/md5/yql-tables/blob/mast...centchanges.xml. The "ns" paramter is batchable, but I'm seeing each "ns" value individually instead of seeing an array.

    -md


    Mike,

    You're right! Thats a bug and will be addressed as soon as we get to it.

    -- Nagesh
    0

Recent Posts

in YQL