Package org.apache.pig.piggybank.evaluation.util

Examples of org.apache.pig.piggybank.evaluation.util.ToTuple


        }
    }

    @Test
    public void toTuple() throws Exception{
        ToTuple tb = new ToTuple();

        Tuple input = TupleFactory.getInstance().newTuple();
        for (int i = 0; i < 100; ++i) {
            input.append(i);
        }

        Tuple output = tb.exec(input);
        Assert.assertFalse(input == output);
        Assert.assertEquals(input, output);
    }
View Full Code Here

TOP

Related Classes of org.apache.pig.piggybank.evaluation.util.ToTuple

Copyright © 2018 www.massapicom. 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.