You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2010/02/19 01:52:27 UTC
[jira] Created: (PIG-1244) parameter syntax in scripts, add support
for ${VAR} (in addition to current $VAR)
parameter syntax in scripts, add support for ${VAR} (in addition to current $VAR)
---------------------------------------------------------------------------------
Key: PIG-1244
URL: https://issues.apache.org/jira/browse/PIG-1244
Project: Pig
Issue Type: Improvement
Components: impl
Environment: all
Reporter: Alejandro Abdelnur
Fix For: 0.7.0
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.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-1244) parameter syntax in scripts, add support
for ${VAR} (in addition to current $VAR)
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated PIG-1244:
----------------------------
Assignee: Xuefu Zhang
Fix Version/s: 0.9.0
Priority: Minor (was: Major)
> parameter syntax in scripts, add support for ${VAR} (in addition to current $VAR)
> ---------------------------------------------------------------------------------
>
> Key: PIG-1244
> URL: https://issues.apache.org/jira/browse/PIG-1244
> Project: Pig
> Issue Type: Improvement
> Components: impl
> Environment: all
> Reporter: Alejandro Abdelnur
> Assignee: Xuefu Zhang
> Priority: Minor
> Fix For: 0.9.0
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-1244) parameter syntax in scripts, add support
for ${VAR} (in addition to current $VAR)
Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olga Natkovich updated PIG-1244:
--------------------------------
Fix Version/s: (was: 0.7.0)
We are entering stabilization phase for Pig 0.7.0 and would like to avoid adding new features.
> parameter syntax in scripts, add support for ${VAR} (in addition to current $VAR)
> ---------------------------------------------------------------------------------
>
> Key: PIG-1244
> URL: https://issues.apache.org/jira/browse/PIG-1244
> Project: Pig
> Issue Type: Improvement
> Components: impl
> Environment: all
> Reporter: Alejandro Abdelnur
>
> 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.
-
You can reply to this email to add a comment to the issue online.