hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy V. Ryaboy (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-1156) Add aliases to ExecJobs and PhysicalOperators
Date Wed, 16 Dec 2009 17:50:18 GMT
Add aliases to ExecJobs and PhysicalOperators

                 Key: PIG-1156
                 URL: https://issues.apache.org/jira/browse/PIG-1156
             Project: Pig
          Issue Type: Improvement
            Reporter: Dmitriy V. Ryaboy
            Assignee: Dmitriy V. Ryaboy
             Fix For: 0.7.0

Currently, the way to use muti-query from Java is as follows:

1.  pigServer.setBatchOn();
2. register your queries with pigServer
3. List<ExecJob> jobs = pigServer.executeBatch();
4. for (ExecJob job : jobs) { Iterator<Tuple> results = job.getResults(); }

This will cause all stores to get evaluated in a single batch. However, there is no way to
identify which of the ExecJobs corresponds to which store.  We should add aliases by which
the stored relations are known to ExecJob in order to allow the user to identify what the
jobs correspond do.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message