@Test
    public void testCreateFieldTypeInfo() {

        StreamField streamField = new StreamField(0, FieldType.STRING.toString(), "name", null, null);

        FieldInfo fieldInfo = FieldInfoUtils.parseStreamFieldInfo(streamField,
                "nodeId", new MySQLFieldTypeStrategy());

        TypeInfo typeInfo = fieldInfo.getFormatInfo().getTypeInfo();
        Assertions.assertTrue(typeInfo instanceof StringTypeInfo);
    }
Different data source field type conversion mapping test class.
inlong-manager/manager-pojo/src/test/java/org/apache/inlong/manager/pojo/sort/util/FieldInfoUtilsTest.java