fix(integration_tests): use timestamptz
for MySQL, TiDB, Doris and StarRocks
#13641
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Sequel to #13616.
https://buildkite.com/risingwavelabs/integration-tests/builds/414 (
RW_IMAGE_TAG=nightly-20231127
)In short:
timestamptz
~ MySQL/TiDBtimestamp
timestamp
~ MySQL/TiDBdatetime
~ Doris/StarRocksdatetime
timestamptz
. Local/civil time can be ambiguous during Daylight Saving jumpback and is subject to arbitrary and unpredictable law changes.2006-01-02T22:04:05Z
, which is both ISO 8601 and RFC 3339 compliant.Changes made:
TIMESTAMP
-> mysqlTIMESTAMP
-> rwTIMESTAMPTZ
TIMESTAMP
-> mysqlDATETIME
-> rwTIMESTAMP
and rwTIMESTAMPTZ
-> mysqlTIMESTAMP
-> rwTIMESTAMPTZ
timestamp
-> rwtimestamp
-> tidbtimestamp
timestamp
/datetime
-> rwtimestamp
(#13682) and rwtimestamptz
-> tidbtimestamp
timestamp
->datetime
timestamptz AT TIME ZONE
->datetime
https://dev.mysql.com/doc/refman/8.0/en/datetime.html
https://docs.pingcap.com/tidb/stable/data-type-date-and-time
https://doris.apache.org/docs/dev/advanced/time-zone/
https://docs.starrocks.io/en-us/2.4/administration/timezone
Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.