use of com.yahoo.bullet.querying.tablefunctors.LateralViewFunctor in project bullet-core by yahoo.
the class LateralViewTest method testLateralViewTableFunction.
@Test
public void testLateralViewTableFunction() {
Explode explode = new Explode(new FieldExpression("abc"), "foo", "bar", true);
LateralView tableFunction = new LateralView(explode);
Assert.assertEquals(tableFunction.getType(), TableFunctionType.LATERAL_VIEW);
Assert.assertEquals(tableFunction.getTableFunctions().get(0), explode);
Assert.assertTrue(tableFunction.getTableFunctor() instanceof LateralViewFunctor);
}
Aggregations