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

Merge join implementation currently does not seek to right point on the right side input based on the offset provided by the index

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We use POLoad to seek into right file which has the following code:

         public void setUp() throws IOException{
      
              String filename = lFile.getFileName();
      
              loader = (LoadFunc)PigContext.instantiateFuncFromSpec(lFile.getFuncSpec());        
      
              is = FileLocalizer.open(filename, pc);
      
              loader.bindTo(filename , new BufferedPositionedInputStream(is), this.offset, Long.MAX_VALUE);
      
          }
      

      Between opening the stream and bindTo we do not seek to the right offset. bindTo itself does not perform any seek.

        Attachments

        1. pig-934_2.patch
          4 kB
          Ashutosh Chauhan

          Activity

            People

            • Assignee:
              ashutoshc Ashutosh Chauhan
              Reporter:
              pkamath Pradeep Kamath
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: