Yes, you can use param like

A = load 'data/${date}_latest¹;

Thanks,
Daniel

On 3/5/15, 6:39 AM, "Saggi Neumann" <[email protected]> wrote:

>Hi,
>
>The documentation only refers to parameters with $ prefix (i.e. %declare
>var 123 ; ... b = filter a by $0>$var;) and this causes issues with using
>the parameter within strings. However, it seems like Pig (0.12) also works
>with the notation ${var} which is documented as a "future feature" in
>https://wiki.apache.org/pig/ParameterSubstitution.
>
>I wanted to ask what's the status of the feature and ask if it is
>maintained, supported and whether it will be documented.
>
>Thanks,
>S

Reply via email to