public static RdbSideTableInfo genSideTableInfo() {
        RdbSideTableInfo sideTableInfo = new RdbSideTableInfo();
        sideTableInfo.setTableName("TEST_dim");
        sideTableInfo.setName("TEST_dim");
        sideTableInfo.setType("mysql");
        sideTableInfo.setFields(new String[]{"id", "name"});
        sideTableInfo.setFieldTypes(new String[]{"varchar", "varchar"});
        sideTableInfo.setFieldClasses(new Class[]{Integer.class, String.class});

        sideTableInfo.addField("id");
        sideTableInfo.addField("name");
        sideTableInfo.addFieldType("int");
        sideTableInfo.addFieldType("varchar");
        sideTableInfo.addFieldClass(Integer.class);
        sideTableInfo.addFieldClass(String.class);
        return sideTableInfo;
    }
@program: flink.sql
@author: wuren
@create: 2020/07/30
rdb/rdb-side/src/test/java/com/dtstack/flink/sql/side/rdb/testutil/ArgFactory.java