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

[Improve][Docs] Refactor MySQL-CDC docs #5302

Merged
merged 4 commits into from
Aug 31, 2023

Conversation

hailin0
Copy link
Member

@hailin0 hailin0 commented Aug 14, 2023

Purpose of this pull request

Check list

@hailin0 hailin0 force-pushed the dev-reformat-mysql-cdc-docs branch from 8eaa8f1 to 586f3e4 Compare August 14, 2023 10:56
@@ -81,18 +85,6 @@ public OptionRule optionRule() {
StopMode.SPECIFIC,
SourceOptions.STOP_SPECIFIC_OFFSET_FILE,
SourceOptions.STOP_SPECIFIC_OFFSET_POS)
.conditional(
Copy link
Member Author

Choose a reason for hiding this comment

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

remove unsupport options

@@ -87,9 +92,10 @@ public static SeaTunnelDataType<?> convertFromColumn(Column column) {
case MYSQL_BIT:
return BasicType.BOOLEAN_TYPE;
case MYSQL_TINYINT:
return column.length() == 1 ? BasicType.BOOLEAN_TYPE : BasicType.INT_TYPE;
return BasicType.BYTE_TYPE;
Copy link
Member Author

Choose a reason for hiding this comment

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

remove unsupported convert

Copy link
Member

Choose a reason for hiding this comment

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

It came from #5105 , any reason we should remove this? cc @Carl-Zhou-CN

Copy link
Member Author

Choose a reason for hiding this comment

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

The read data is not converted according to this mapping...

Copy link
Member Author

Choose a reason for hiding this comment

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

@Hisoka-X fixed

@hailin0
Copy link
Member Author

hailin0 commented Aug 14, 2023

@EricJoy2048 PTAL

@hailin0 hailin0 force-pushed the dev-reformat-mysql-cdc-docs branch from 586f3e4 to 4568268 Compare August 14, 2023 14:05
@hailin0 hailin0 added this to the 2.3.4 milestone Aug 23, 2023
@TyrantLucifer TyrantLucifer merged commit 74530a0 into apache:dev Aug 31, 2023
Zhouwen-CN pushed a commit to Zhouwen-CN/seatunnel that referenced this pull request Sep 11, 2023
* [Improve][Docs] Refactor MySQL-CDC docs

* Update MySqlTypeUtils.java

* Update MySQL-CDC.md
Zhouwen-CN pushed a commit to Zhouwen-CN/seatunnel that referenced this pull request Sep 11, 2023
* [Improve][Docs] Refactor MySQL-CDC docs

* Update MySqlTypeUtils.java

* Update MySQL-CDC.md
Zhouwen-CN pushed a commit to Zhouwen-CN/seatunnel that referenced this pull request Sep 11, 2023
* [Improve][Docs] Refactor MySQL-CDC docs

* Update MySqlTypeUtils.java

* Update MySQL-CDC.md
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.

3 participants