@Test
public void testExecute_0() throws Exception {

    PartitionTable table = new TableBuilder()
            .appenTable("trade_order", "trade_order_{0}", "value % 4")
            .appendNodeMapping("p0:0,1")
            .appendNodeMapping("p1:2,3")
            .appendColumn("user_id", null)
            .toTable();
    CalculateUnit unit = new CalculateUnit();
    unit.addCondition(ConditionUnit.buildConditionUnit("trade_order", "user_id", new String[]{"1","2"}, ConditionUnitOperator.IN));
    List<TargetTableEntity> target = table.execute(unit);
    System.out.println(target);
    Assert.assertEquals("p0", target.get(0).getTargetDB());
    Assert.assertEquals("trade_order_1", target.get(0).getTargetTable());
    Assert.assertEquals("p1", target.get(1).getTargetDB());
    Assert.assertEquals("trade_order_2", target.get(1).getTargetTable());
}