LiJie20190102 opened a new issue, #9271:
URL: https://github.com/apache/inlong/issues/9271

   ### What happened
   
   When I use the constructor to create 'StreamField', the initialization of 
'isMetaField' is not displayed, and there will be a problem:
   
   
   
![image](https://github.com/apache/inlong/assets/53458004/93c35bc2-24cc-4eb5-891a-5798a7595753)
   
   
   
   ### What you expected to happen
   
   When I use the constructor to create 'StreamField', if 'isMetaField' is not 
set, 'isMetaField' should have an initial value
   
   ### How to reproduce
   
       @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);
       }
   
   ### Environment
   
   _No response_
   
   ### InLong version
   
   1.9.0
   
   ### InLong Component
   
   InLong Manager
   
   ### Are you willing to submit PR?
   
   - [X] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@inlong.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to