Package org.apache.pig.newplan

Examples of org.apache.pig.newplan.PColFilterExtractor.canPushDown()


        Operator op = newLogicalPlan.getSinks().get(0);
        LOFilter filter = (LOFilter)newLogicalPlan.getPredecessors(op).get(0);
        PColFilterExtractor pColExtractor = new PColFilterExtractor(
                filter.getFilterPlan(), partitionCols);
        pColExtractor.visit();
        Assert.assertFalse(pColExtractor.canPushDown());
        Assert.assertNull(pColExtractor.getPColCondition());
    }

    private void negativeTest(String query, List<String> partitionCols,
            int expectedErrorCode) throws Exception {
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.