Package org.apache.calcite.test
Class PigletTest
- java.lang.Object
-
- org.apache.calcite.test.PigletTest
-
public class PigletTest extends java.lang.Object
Unit tests for Piglet.
-
-
Constructor Summary
Constructors Constructor Description PigletTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static Fluent
pig(java.lang.String pig)
void
testDistinctExample()
void
testDump()
void
testDumpValues()
VALUES is an extension to Pig.void
testFilter()
void
testFilterExample()
void
testForeach()
void
testForeachNested()
void
testGroup()
void
testGroupExample()
void
testLimit()
void
testLimitExample()
void
testOrder()
void
testOrderExample()
void
testOrderStar()
void
testParse2()
Tests parsing and un-parsing all kinds of operators.void
testParseLoad()
void
testScan()
void
testValues()
VALUES is an extension to Pig.void
testValuesNested()
-
-
-
Method Detail
-
pig
private static Fluent pig(java.lang.String pig)
-
testParseLoad
public void testParseLoad() throws org.apache.calcite.piglet.parser.ParseException
- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testParse2
public void testParse2() throws org.apache.calcite.piglet.parser.ParseException
Tests parsing and un-parsing all kinds of operators.- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testScan
public void testScan() throws org.apache.calcite.piglet.parser.ParseException
- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testDump
public void testDump() throws org.apache.calcite.piglet.parser.ParseException
- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testDumpValues
public void testDumpValues() throws org.apache.calcite.piglet.parser.ParseException
VALUES is an extension to Pig. You can achieve the same effect in standard Pig by creating a text file.- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testForeach
public void testForeach() throws org.apache.calcite.piglet.parser.ParseException
- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testForeachNested
public void testForeachNested() throws org.apache.calcite.piglet.parser.ParseException
- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testGroup
public void testGroup() throws org.apache.calcite.piglet.parser.ParseException
- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testGroupExample
public void testGroupExample() throws org.apache.calcite.piglet.parser.ParseException
- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testDistinctExample
public void testDistinctExample() throws org.apache.calcite.piglet.parser.ParseException
- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testFilter
public void testFilter() throws org.apache.calcite.piglet.parser.ParseException
- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testFilterExample
public void testFilterExample() throws org.apache.calcite.piglet.parser.ParseException
- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testLimit
public void testLimit() throws org.apache.calcite.piglet.parser.ParseException
- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testLimitExample
public void testLimitExample() throws org.apache.calcite.piglet.parser.ParseException
- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testOrder
public void testOrder() throws org.apache.calcite.piglet.parser.ParseException
- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testOrderStar
public void testOrderStar() throws org.apache.calcite.piglet.parser.ParseException
- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testOrderExample
public void testOrderExample() throws org.apache.calcite.piglet.parser.ParseException
- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testValues
public void testValues() throws org.apache.calcite.piglet.parser.ParseException
VALUES is an extension to Pig. You can achieve the same effect in standard Pig by creating a text file.- Throws:
org.apache.calcite.piglet.parser.ParseException
-
testValuesNested
public void testValuesNested() throws org.apache.calcite.piglet.parser.ParseException
- Throws:
org.apache.calcite.piglet.parser.ParseException
-
-