Package org.apache.pig.builtin

Examples of org.apache.pig.builtin.CubeDimensions.exec()


                TF.newTuple(ImmutableList.of("ALL", "ALL", "ALL")),
                TF.newTuple(ImmutableList.of("ALL", "b", "ALL"))
        );

        CubeDimensions cd = new CubeDimensions("ALL");
        DataBag bag = cd.exec(t);
        assertEquals(bag.size(), expected.size());

        for (Tuple tup : bag) {
            assertTrue(expected.contains(tup));
        }
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.