JNSimba opened a new pull request, #63543:
URL: https://github.com/apache/doris/pull/63543
### What problem does this PR solve?
Add CDC streaming-job regression coverage for timezone behavior and
TIMESTAMP / timestamptz chunk-key paths that the existing suites do not
exercise.
#### Cases added
| Case | Tables | Guards |
|---|---|---|
| `*_source_timezone` (mysql + pg) | TIMESTAMP/timestamptz multi-precision +
DATETIME/timestamp + DATE/date (pg: + `timetz`) | source-side multi-tz INSERT
(+08 / -05 / UTC), NULL, UPDATE crossing tz, epoch boundary; pg `timetz` column
kept as a regression guard for the upstream JVM-tz handling |
| `*_jdbc_servertimezone` (mysql + pg) | TIMESTAMP/timestamptz +
DATETIME/timestamp | recommended end-to-end config — align `jdbc_url`'s
`serverTimezone`/`timezone` with Doris session `time_zone` (read at runtime so
it works on any default tz) |
| `*_timestamp_pk` (mysql + pg) | mysql TIMESTAMP(6) + composite (TIMESTAMP,
id); pg timestamp(6) + timestamptz(6) + composite (timestamptz, id) | chunk-key
split + INSERT/UPDATE/DELETE locating on TIMESTAMP/timestamptz PK; depends on
#63471 for `LocalDateTime` / `OffsetDateTime` chunk-bound restore in
`AbstractCdcSourceReader.convertBound` |
### Release note
Add CDC streaming-job regression suites for source/jdbc timezone and
TIMESTAMP / timestamptz chunk-key.
### Check List (For Author)
- Test
- [x] Regression test
- [ ] Unit Test
- [ ] Manual test
- [ ] No need to test
- Behavior changed:
- [x] No
- [ ] Yes
- Does this need documentation?
- [x] No
- [ ] Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]