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][Transform] Remove Fallback during parsing Transform process #6644

Merged
merged 4 commits into from
Apr 7, 2024

Conversation

xiaochen-zhou
Copy link
Contributor

Purpose of this pull request

Currently all Transform initialization can be done through TransFormFactory, so we can remove fallback code and deprecated SeaTunnelPluginLifeCycle interface.

Does this PR introduce any user-facing change?
no

How was this patch tested?
exist tests.

Check list

@hailin0
Copy link
Contributor

hailin0 commented Apr 6, 2024

cc @Hisoka-X

Copy link
Member

@Hisoka-X Hisoka-X left a comment

Choose a reason for hiding this comment

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

Thanks for @xiaochen-zhou

@@ -476,8 +453,10 @@ public static SeaTunnelDataType<?> getProducedType(Action action) {
.getProducedCatalogTable()
.getSeaTunnelRowType();
} catch (UnsupportedOperationException e) {
Copy link
Member

Choose a reason for hiding this comment

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

I think it should not throw UnsupportedOperationException after this change.

Suggested change
} catch (UnsupportedOperationException e) {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it should not throw UnsupportedOperationException after this change.

done.

@hailin0 hailin0 merged commit 50c6c94 into apache:dev Apr 7, 2024
6 checks passed
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.

None yet

3 participants