Skip to content

[Feature][Connectors-v2-Paimon] Support Date&Time Data Type To Be Flink Int#6076

Closed
SimonChou12138 wants to merge 3 commits into
apache:devfrom
SimonChou12138:date-with-time-datatype-fix
Closed

[Feature][Connectors-v2-Paimon] Support Date&Time Data Type To Be Flink Int#6076
SimonChou12138 wants to merge 3 commits into
apache:devfrom
SimonChou12138:date-with-time-datatype-fix

Conversation

@SimonChou12138
Copy link
Copy Markdown
Contributor

Purpose of this pull request

Implement Feature #6075

Does this PR introduce any user-facing change?

without

How was this patch tested?

e2e tests and unit test cases have been perfected

Check list

Copy link
Copy Markdown
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.

@SimonChou12138
Copy link
Copy Markdown
Contributor Author

@TyrantLucifer PTAL,thanks.

@EricJoy2048
Copy link
Copy Markdown
Member

@Carl-Zhou-CN PTAL.

break;
case TIME:
LocalTime time = (LocalTime) seaTunnelRow.getField(i);
String timeStr = time.format(DateTimeFormatter.ofPattern("HH:mm:ss"));
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do we need to support milliseconds?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Similar to DATA

LocalTime time = LocalTime.of(0, 0, 0);
binaryWriter.writeTimestamp(
i, Timestamp.fromLocalDateTime(date.atTime(time)), 3);
String dateStr = date.format(DateTimeFormatter.ofPattern("yyyy-MM-dd"));
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Wouldn't it be more convenient to directly obtain the number of days from LocalDate?

@hailin0 hailin0 added the no update The owner doesn't provide further feedback. label Feb 18, 2024
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity for 120 days. It will be closed in 7 days if no further activity occurs.

@github-actions github-actions Bot added the stale label Jul 13, 2025
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has been closed because it has not had recent activity. You could reopen it if you try to continue your work, and anyone who are interested in it are encouraged to continue work on this pull request.

@github-actions github-actions Bot closed this Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature no update The owner doesn't provide further feedback. stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants