Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Pig Wiki" for change 
notification.

The following page has been changed by OlgaN:
http://wiki.apache.org/pig/ParameterSubstitution

------------------------------------------------------------------------------
  .....
  }}}
  
- In this example, parameters `cmd` and `date` are substituted first when 
`declare` statement is encountered. Then the resulting command is executed and 
its stdout is placed into the path prior to running the load statement.
+ In this example, parameters `mycmd` and `date` are substituted first when 
`declare` statement is encountered. Then the resulting command is executed and 
its stdout is placed into the path prior to running the load statement.
  
  Note that parameter names are case insensitive and $cmd and $CMD means the 
same thing. This is to match the rest of Pig Latin.
  

Reply via email to