MyLanPangzi commented on pull request #14376:
URL: https://github.com/apache/flink/pull/14376#issuecomment-982321397


   @maosuhan  This would be a good option for users if it could be converted 
automatically. like this 
   PbCodegenSimpleDeserializer#codegen
   
   ```java
     if(type instanceof IntType){
                       sb.append(returnInternalDataVarName).append(" = 
").append(pbGetStr).append(".getNumber();");
                       break;
                   }
                   sb.append(returnInternalDataVarName)
                       .append(" = 
BinaryStringData.fromString(").append(pbGetStr).append(".toString());");
                   break;
   
   ```
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to