@Test
    public void testDeserializeWithNodeId() throws JsonProcessingException {
        FieldInfo fieldInfo = new FieldInfo("field_name", StringFormatInfo.INSTANCE);
        fieldInfo.setNodeId("1");
        ObjectMapper objectMapper = new ObjectMapper();
        String fieldInfoStr = "{\"type\":\"field\",\"name\":\"field_name\","
                + "\"formatInfo\":{\"type\":\"string\"},\"nodeId\":\"1\"}";
        FieldInfo expected = objectMapper.readValue(fieldInfoStr, FieldInfo.class);
        assertEquals(expected, fieldInfo);
    }
Test deserialize with nodeId

@throws JsonProcessingException The exception may throws when execute the method
inlong-sort/sort-common/src/test/java/org/apache/inlong/sort/protocol/FieldInfoTest.java