Can I pass parameters to custom map/reduce scripts like this:

    from try_hits
    select transform ip_address, aid, uid
    using 'parse_logs.rb MY_PARAM_HERE' as ip_address, aid, uid

I've tried it, and it seems to work, but I just want to be sure whether this
is guaranteed to work under all circumstances. A large part of my current
project depends on this :-)

PS: Here's what I'm trying to do -- based on a profile ID (which is passed
as a parameter), the map/reduce script is going to look up a DB and fetch a
bunch of regular expressions from there. Based on these dynamically fetched
regular expressions it'll process the input.

Saurabh.
-- 
http://nandz.blogspot.com
http://foodieforlife.blogspot.com

Reply via email to