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] Remove useless transform code come from setTypeInfo #5647

Merged
merged 6 commits into from
Oct 19, 2023

Conversation

Hisoka-X
Copy link
Member

Purpose of this pull request

This PR add default implement for SeaTunnelTransform::setTypeInfo and SeaTunnelPluginLifeCycle::prepare. So connector shouldn't implement it cause it marked as deprecated. Also remove all transform connector useless code came from implement SeaTunnelTransform::setTypeInfo.

Does this PR introduce any user-facing change?

No

How was this patch tested?

exist test.

Check list

SeaTunnelDataType<?> seaTunnelDataType = TypeConverterUtils.convert(stream.schema());
transform.setTypeInfo(seaTunnelDataType);
Copy link
Member Author

Choose a reason for hiding this comment

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

Missed refactor to remove it.

@hailin0
Copy link
Member

hailin0 commented Oct 17, 2023

LGTM

ruanwenjun
ruanwenjun previously approved these changes Oct 19, 2023
Copy link
Member

@ruanwenjun ruanwenjun left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@ruanwenjun ruanwenjun left a comment

Choose a reason for hiding this comment

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

+1

@ruanwenjun ruanwenjun merged commit b52df92 into apache:dev Oct 19, 2023
@Hisoka-X Hisoka-X deleted the change-getproducetype-to-default branch October 20, 2023 06:17
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