-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[Feature][Connector-V2] Suppor Time type in paimon connector #8880
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
[Feature][Connector-V2] Suppor Time type in paimon connector #8880
Conversation
corgy-w
left a comment
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.
TKS , There seems to be only a slight problem
| return DateTimeUtils.toInternal( | ||
| org.apache.seatunnel.common.utils.DateUtils.parse(strValue)); | ||
| case TIME_WITHOUT_TIME_ZONE: | ||
| return DateTimeUtils.toInternal( | ||
| org.apache.seatunnel.common.utils.TimeUtils.parse(strValue)); |
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.
org.apache.seatunnel.common.utils. These two package prefixes do not seem to be required
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.
org.apache.seatunnel.common.utils.These two package prefixes do not seem to be required
done.
| } else if (expression instanceof TimeValue) { | ||
| return ((TimeValue) expression).getValue(); |
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.
expression instanceof TimeValue repeated
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.
expression instanceof TimeValuerepeated
done.
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.
Hisoka-X
left a comment
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.
Overall LGTM. cc @hawk9821 should take a look again.
hawk9821
left a comment
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


Purpose of this pull request
Add support for Time type in paimon connector
Does this PR introduce any user-facing change?
yes
How was this patch tested?
Add new tests
Check list
New License Guide
release-note.