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

   ### Description
   
   Data Proxy SDK supports escape configuration.
   
   At present, when the dataproxy SDK reports, users need to process escape 
characters themselves. Here, we hope to encapsulate a method in the SDK to 
enable users to only input a list of field values, and the SDK will 
automatically add escape characters based on the reported data. It also 
supports specifying field configurations for automatic escape
   
   1.The user reports a field list, and the default field list contains 
untransferred characters (boolean auto_ escape, List<?>_fields), which are 
automatically processed by the SDK and escaped.
   2.Support configuring automatic escape for individual fields.
   
   The escape rules are as follows:
   0x00-->\ 0 (Backslash+Character 0)
   Enter 0x0D -->\ r (Backslash+Character r)
   Line Break 0x0A -->\ n (Backslash+Character n)
   Backslash \ -->\ \ (Two Backslashes)
   Delimiter vertical line | -->\ | (back slash+character |)
   
   
   ### Use case
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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: [email protected]

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

Reply via email to