@Test
public void testExecute_1() throws Exception {

    PartitionTable table = new TableBuilder()
            .appenTable("trade_order", "trade_order_{0}", "user_id % 4")
            .appendNodeMapping("p0:0,1,2,3")
            .appendColumn("user_id", null)
            .toTable();
    CalculateUnit unit = new CalculateUnit();
    unit.addCondition(ConditionUnit.buildConditionUnit("trade_order", "user_id", new String[]{"1"}, ConditionUnitOperator.EQUAL));
    unit.addCondition(ConditionUnit.buildConditionUnit("trade_order", "user_id", new String[]{"2"}, ConditionUnitOperator.EQUAL));
    try{
        List<TargetTableEntity> target = table.execute(unit);
    }catch (BayMaxException e){
        System.out.print(e);
        Assert.assertEquals("有多个相同列的Condition : user_id:[2]", e.getMessage());
    }
}