-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Fix][Connector-V2] User selects csv string pattern #8572
base: dev
Are you sure you want to change the base?
Conversation
...atunnel-format-csv/src/main/java/org/apache/seatunnel/format/csv/CsvSerializationSchema.java
Outdated
Show resolved
Hide resolved
...atunnel-format-csv/src/main/java/org/apache/seatunnel/format/csv/CsvSerializationSchema.java
Outdated
Show resolved
Hide resolved
@@ -119,6 +119,7 @@ If write to `csv`, `text` file type, All column will be string. | |||
| common-options | object | no | - | | | |||
| max_rows_in_memory | int | no | - | Only used when file_format is excel. | | |||
| sheet_name | string | no | Sheet${Random number} | Only used when file_format is excel. | | |||
| csv_string_quote_mode | string | no | MINIMAL | Only used when file_format is csv. | |
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.
| csv_string_quote_mode | string | no | MINIMAL | Only used when file_format is csv. | | |
| csv_string_quote_mode | enum | no | MINIMAL | Only used when file_format is csv. | |
- [BugFix] Fixed the following bugs that failed to write data to | ||
files ([3258](https://github.com/apache/seatunnel/pull/3258)) | ||
- When field from upstream is null it will throw NullPointerException | ||
- Sink columns mapping failed | ||
- When restore writer from states getting transaction directly failed | ||
- [Feature] Support S3A protocol ([3632](https://github.com/apache/seatunnel/pull/3632)) | ||
- Allow user to add additional hadoop-s3 parameters | ||
- Allow the use of the s3a protocol | ||
- Decouple hadoop-aws dependencies | ||
- Allow user to add additional hadoop-s3 parameters | ||
- Allow the use of the s3a protocol | ||
- Decouple hadoop-aws dependencies | ||
- [Improve] Support setting batch size for every file ([3625](https://github.com/apache/seatunnel/pull/3625)) | ||
- [Feature]Set S3 AK to optional ([3688](https://github.com/apache/seatunnel/pull/)) | ||
|
||
### Next version | ||
|
||
- [Improve] Support file compress ([3899](https://github.com/apache/seatunnel/pull/3899)) | ||
- [Improve] Support file compress ([3899](https://github.com/apache/seatunnel/pull/3899)) |
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.
Let's delete this part.
@@ -63,6 +63,7 @@ | |||
| kerberos_keytab_path | string | 否 | - | kerberos 的 keytab 路径 | | |||
| compress_codec | string | 否 | none | 压缩编解码器 | | |||
| common-options | object | 否 | - | 接收器插件通用参数,请参阅 [接收器通用选项](../sink-common-options.md) 了解详情 | | |||
| csv_string_quote_mode | string | 否 | MINIMAL | 仅在文件格式为 CSV 时使用。 | |
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.
where is it description?
.seaTunnelRowType(seaTunnelRowType) | ||
.dateTimeFormatter(Formatter.YYYY_MM_DD_HH_MM_SS_SSSSSS) | ||
.delimiter(",") | ||
.quoteMode(CsvStringQuoteMode.ALL) |
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.
Please test other option value too.
Purpose of this pull request
User selects csv string pattern
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
New License Guide
release-note
.