Grokbase Groups Pig dev March 2011
[ ]

Olga Natkovich updated PIG-1244:

Fix Version/s: (was: 0.9.0)
parameter syntax in scripts, add support for ${VAR} (in addition to current $VAR)

Key: PIG-1244
Project: Pig
Issue Type: Improvement
Components: impl
Environment: all
Reporter: Alejandro Abdelnur
Assignee: Xuefu Zhang
Priority: Minor
Fix For: 0.10

Currently parameter syntax in pig scripts is $VAR.
This complicates scripts as parameter-literal concatenation is not supported. For example:
An occurrence of '$OUT_tmp' in a script resolves to a parameter 'OUT_tmp', it would be desirable this to resolve to a contactenation of $OUT&_tmp
This can be solved by supporting parameter syntax ${VAR}, so the pig parser can identify the end of the parameter name.
Adding support for ${VAR} syntax in addition of $VAR would maintain backwards compatibility. Changing to syntax ${VAR} syntax will break backwards compatibility.
This message is automatically generated by JIRA.
For more information on JIRA, see:

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupdev @
categoriespig, hadoop
postedMar 18, '11 at 12:54a
activeMar 18, '11 at 12:54a

1 user in discussion

Olga Natkovich (JIRA): 1 post



site design / logo © 2021 Grokbase