Package org.apache.hadoop.hive.ql.plan.ConditionalResolverCommonJoin

Examples of org.apache.hadoop.hive.ql.plan.ConditionalResolverCommonJoin.AliasFileSizePair


import org.apache.hadoop.hive.ql.plan.ConditionalResolverCommonJoin.AliasFileSizePair;

public class TestConditionalResolverCommonJoin extends TestCase {

    public void testAliasFileSizePairCompareTo() {
        AliasFileSizePair big = new AliasFileSizePair("big", 389560034778L);
        AliasFileSizePair small = new AliasFileSizePair("small", 1647L);

        assertEquals(0, big.compareTo(big));
        assertEquals(1, big.compareTo(small));
        assertEquals(-1, small.compareTo(big));
    }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hive.ql.plan.ConditionalResolverCommonJoin.AliasFileSizePair

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.