[ 
https://issues.apache.org/jira/browse/PIG-3477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Keith Dsouza updated PIG-3477:
------------------------------

    Description: 
Pig does not evaluate statements in sequence and evaluates the *nix statement 
(RMF, MV) encountered first and then processes the rest of the PIG statements 
which makes it impossible to sequentially use both PIG statements as well as 
Unix statements in a job.

For example:

I want to read data from A and A_new_data and store it in A, I use this

LOAD A

-- Read and merge A and A.new and create A_new_data

RMF A
STORE A_new_data into A 

  was:
Pig does not evaluate statements in sequence and evaluates the first *nix 
statement encountered first and then processes the rest of the PIG statements 
till it encounters another PIG statement which makes it hard to sequentially 
use both PIG statements as well as Unix statements useless in a sequence.

For example:

I want to read data from A and A_new_data and store it in A, I use this

LOAD A

-- Read and merge A and A.new and create A_new_data

RMF A
STORE A_new_data into A 

    
> *Nix commands do not execute sequentially
> -----------------------------------------
>
>                 Key: PIG-3477
>                 URL: https://issues.apache.org/jira/browse/PIG-3477
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Keith Dsouza
>
> Pig does not evaluate statements in sequence and evaluates the *nix statement 
> (RMF, MV) encountered first and then processes the rest of the PIG statements 
> which makes it impossible to sequentially use both PIG statements as well as 
> Unix statements in a job.
> For example:
> I want to read data from A and A_new_data and store it in A, I use this
> LOAD A
> -- Read and merge A and A.new and create A_new_data
> RMF A
> STORE A_new_data into A 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to