Examples of DualInputPlanNode


Examples of org.apache.flink.compiler.plan.DualInputPlanNode

  }
 
  @Test
  public void testOptimizerChoosesTest() {
    try {
      DualInputPlanNode node = createPlanAndGetJoinNode(JoinHint.OPTIMIZER_CHOOSES);
      assertEquals(ShipStrategyType.PARTITION_HASH, node.getInput1().getShipStrategy());
      assertEquals(ShipStrategyType.PARTITION_HASH, node.getInput2().getShipStrategy());
      assertTrue(DriverStrategy.HYBRIDHASH_BUILD_FIRST == node.getDriverStrategy() ||
          DriverStrategy.HYBRIDHASH_BUILD_SECOND == node.getDriverStrategy());
    }
    catch (Exception e) {
      e.printStackTrace();
      fail(e.getClass().getSimpleName() + ": " + e.getMessage());
    }
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.