Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-1156

Add aliases to ExecJobs and PhysicalOperators

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • None
    • None

    Description

      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.

      Attachments

        1. pig_batchAliases.patch
          40 kB
          Dmitriy V. Ryaboy

        Activity

          People

            dvryaboy Dmitriy V. Ryaboy
            dvryaboy Dmitriy V. Ryaboy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: