Package org.apache.pig.impl.builtin

Examples of org.apache.pig.impl.builtin.GFCross.exec()


        t.set(0, 2);
        t.set(1, 0);

        GFCross cross = new GFCross();
        DataBag bag = cross.exec(t);
        assertEquals(10, bag.size());
    }

    // Test GFCross handles the parallel 1 case.
    @Test
View Full Code Here


        t.set(0, 2);
        t.set(1, 0);

        GFCross cross = new GFCross();
        DataBag bag = cross.exec(t);
        assertEquals(1, bag.size());
    }

    // Test GFCross handles a different parallel  case.
    @Test
View Full Code Here

        t.set(0, 2);
        t.set(1, 0);

        GFCross cross = new GFCross();
        DataBag bag = cross.exec(t);
        assertEquals(4, bag.size());
    }
}
View Full Code Here

        t.set(0, 2);
        t.set(1, 0);

        GFCross cross = new GFCross("1");
        DataBag bag = cross.exec(t);
        assertEquals(10, bag.size());
    }

    // Test GFCross handles the parallel 1 case.
    @Test
View Full Code Here

        t.set(0, 2);
        t.set(1, 0);

        GFCross cross = new GFCross("1");
        DataBag bag = cross.exec(t);
        assertEquals(1, bag.size());
    }

    // Test GFCross handles a different parallel  case.
    @Test
View Full Code Here

        t.set(0, 2);
        t.set(1, 0);

        GFCross cross = new GFCross("1");
        DataBag bag = cross.exec(t);
        assertEquals(4, bag.size());
    }
}
View Full Code Here

        t.set(0, 2);
        t.set(1, 0);

        GFCross cross = new GFCross();
        DataBag bag = cross.exec(t);
        assertEquals(10, bag.size());
    }

    // Test GFCross handles the parallel 1 case.
    @Test
View Full Code Here

        t.set(0, 2);
        t.set(1, 0);

        GFCross cross = new GFCross();
        DataBag bag = cross.exec(t);
        assertEquals(1, bag.size());
    }

    // Test GFCross handles a different parallel  case.
    @Test
View Full Code Here

        t.set(0, 2);
        t.set(1, 0);

        GFCross cross = new GFCross();
        DataBag bag = cross.exec(t);
        assertEquals(4, bag.size());
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.