[ https://issues.apache.org/jira/browse/PIG-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated PIG-1156: ---------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) Patch committed. Thanks Dmitriy. > 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 > > Attachments: pig_batchAliases.patch > > > 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.