-
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
[Improve] Remove useless transform code come from setTypeInfo
#5647
[Improve] Remove useless transform code come from setTypeInfo
#5647
Conversation
SeaTunnelDataType<?> seaTunnelDataType = TypeConverterUtils.convert(stream.schema()); | ||
transform.setTypeInfo(seaTunnelDataType); |
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.
Missed refactor to remove it.
LGTM |
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.
LGTM
seatunnel-transforms-v2/src/main/java/org/apache/seatunnel/transform/sql/SQLTransform.java
Outdated
Show resolved
Hide resolved
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.
+1
Purpose of this pull request
This PR add default implement for
SeaTunnelTransform::setTypeInfo
andSeaTunnelPluginLifeCycle::prepare
. So connector shouldn't implement it cause it marked as deprecated. Also remove all transform connector useless code came from implementSeaTunnelTransform::setTypeInfo
.Does this PR introduce any user-facing change?
No
How was this patch tested?
exist test.
Check list
New License Guide
release-note
.