-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[Feature][connectors-v2]File support quote char and escape char #10185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
[Feature][connectors-v2]File support quote char and escape char #10185
Conversation
|
The parameter has been added to the document, but it seems that FtpFileSourceFactory has been omitted. Do we need to add it? |
This is my negligence,I will add. |
added |
| } | ||
| if (StringUtils.isNotEmpty(escapeChar)) { | ||
| builder.setEscape(escapeChar.charAt(0)); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to verify the length? No error will be reported if a mismatch occurs, for example: quote_char="||".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, this comment was added together with the one from this morning. I didn’t notice it was in pending status and just submitted it now.
Purpose of this pull request
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
New License Guide
incompatible-changes.mdto describe the incompatibility caused by this PR.