Skip to content
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

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

corgy-w
Copy link
Contributor

@corgy-w corgy-w commented Jan 22, 2025

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

@corgy-w corgy-w marked this pull request as ready for review January 22, 2025 09:29
@@ -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. |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| 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. |

Comment on lines +517 to +531
- [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))
Copy link
Member

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 时使用。 |
Copy link
Member

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)
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants