Package org.apache.pig.builtin

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


    TF.newTuple(ImmutableList.of("a", "NULL", "NULL")),
    TF.newTuple(ImmutableList.of("NULL", "NULL", "NULL"))
    );

  RollupDimensions rd = new RollupDimensions("NULL");
  DataBag bag = rd.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.