huangzengtian opened a new pull request, #847:
URL: https://github.com/apache/fesod/pull/847

   - Add NONE_QUOTE constant in CsvConstant.
   - Add Javadoc to CsvReaderBuilder#quote(Character quote) for NONE_QUOTE usage
   
   ## Purpose of the pull request
   
   Closed: #846
   
   ## What's changed?
   
   Rationale
   Currently, the quote configuration in CsvReaderBuilder does not support an 
explicit "disabled" state. Setting it to null is ambiguous (could mean "use 
default" or "disable"). This PR introduces a special constant to explicitly 
disable quote parsing, which is essential for processing raw TSV/CSV data (like 
Amazon reports) where quotes are part of the literal content and should not be 
escaped or wrapped.
   
   Design Decisions
   Introduced CsvConstant.NONE_QUOTE ('\0'): Followed the industrial practice 
of Apache Commons CSV (where withQuote(null) disables quoting).
   
   Enhanced Javadoc: Added clear instructions in CsvReaderBuilder#quote to 
guide users on how to use NONE_QUOTE.
   
   ## Checklist
   
   - [✓] I have read the [Contributor 
Guide](https://fesod.apache.org/community/contribution/).
   - [✓] I have written the necessary doc or comment.
   - [✓] I have added the necessary unit tests and all cases have passed.
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to