Package org.apache.calcite.test
Class PigAdapterTest
- java.lang.Object
-
- org.apache.calcite.test.AbstractPigTest
-
- org.apache.calcite.test.PigAdapterTest
-
public class PigAdapterTest extends AbstractPigTest
Tests for theorg.apache.calcite.adapter.pig
package.
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String>
MODEL
-
Constructor Summary
Constructors Constructor Description PigAdapterTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.util.function.Consumer<java.util.List>
pigScriptChecker(java.lang.String... strings)
Returns a function that checks that a particular Pig Latin scriptis generated to implement a query.void
testImplWithCountWithoutGroupBy()
void
testImplWithGroupByAndCount()
void
testImplWithGroupByCountDistinct()
void
testImplWithGroupByMultipleFields()
void
testImplWithJoin()
void
testImplWithMultipleFilters()
void
testScanAndFilter()
-
Methods inherited from class org.apache.calcite.test.AbstractPigTest
getFullPathForTestDataFile
-
-
-
-
Method Detail
-
testScanAndFilter
public void testScanAndFilter() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testImplWithMultipleFilters
public void testImplWithMultipleFilters()
-
testImplWithGroupByAndCount
public void testImplWithGroupByAndCount()
-
testImplWithCountWithoutGroupBy
public void testImplWithCountWithoutGroupBy()
-
testImplWithGroupByMultipleFields
public void testImplWithGroupByMultipleFields()
-
testImplWithGroupByCountDistinct
public void testImplWithGroupByCountDistinct()
-
testImplWithJoin
public void testImplWithJoin() throws java.lang.Exception
- Throws:
java.lang.Exception
-
pigScriptChecker
private static java.util.function.Consumer<java.util.List> pigScriptChecker(java.lang.String... strings)
Returns a function that checks that a particular Pig Latin scriptis generated to implement a query.
-
-