I need to append a value to a declared variable in PIG.
%declare DESC 'Test/nimmiv/pig'
raw = LOAD 'test.log' USING PigStorage('\t') AS (a1:chararray, a2:chararray, a3:long);
/* Do any PIG processing */
value = FOREACH raw GENERATE $0;
TMP = FOREACH raw GENERATE $1 AS path;
PATH = distinct TMP;
/* dump PATH would give me just (tmp) , I need to append this value to the exisitng value Test/nimmiv/pig=>Test/nimmiv/pig/tmp */
STORE value INTO '$DESC/$PATH';
This is throwing undefined alias error. What is the easiest way to append this value to the existing path.