Thanks Dmitriy, but no dice. It returns the whole thing to me with post_id as blank. I think with two backslashes it ends up looking for a backslash in the key (i.e. '\$id') which doesn't exist. I also tried the unicode for the dollar symbol \\u0024.
Eli On Jan 10, 2013, at 7:33 PM, Dmitriy Ryaboy wrote: > Two back slashes? > > > On Thu, Jan 10, 2013 at 6:01 PM, Eli Finkelshteyn <[email protected]>wrote: > >> This wasn't a problem in 0.9.2, but in 0.10, when I try to access a key in >> a map that has a dollar sign in it, I get hammered with errors that I >> haven't defined the variable. Specifically: >> >> blah = FOREACH meh GENERATE source, json_post_id#'$id' AS post_id; >> >> returns >> >> Undefined parameter : id >> >> That's fine and makes sense, but when I amend it to: >> >> blah = FOREACH meh GENERATE source, json_post_id#'\$id' AS post_id; >> >> I get: >> >> Unexpected character '$' >> >> Ideas? >> >> Thanks! >> Eli >>
