Open xiangjinwu opened 11 months ago
timestamptz represents an absolute point in time, while timestamp represents a watch reading including a date and time depending on local law with unpredictable changes.
timestamptz
timestamp
https://github.com/risingwavelabs/risingwave/blob/4e16834d7ea5df3b8c6d16cc03f0431a34e29fbf/src/frontend/src/catalog/system_catalog/rw_catalog/rw_meta_snapshot.rs#L44-L55
https://github.com/risingwavelabs/risingwave/blob/4e16834d7ea5df3b8c6d16cc03f0431a34e29fbf/src/frontend/src/optimizer/plan_node/logical_source.rs#L181-L186
https://github.com/risingwavelabs/risingwave/blob/4e16834d7ea5df3b8c6d16cc03f0431a34e29fbf/src/stream/src/executor/source/list_executor.rs#L101-L117
About usage in s3 source: https://github.com/risingwavelabs/risingwave/pull/13414#discussion_r1410276611
timestamptz
represents an absolute point in time, whiletimestamp
represents a watch reading including a date and time depending on local law with unpredictable changes.https://github.com/risingwavelabs/risingwave/blob/4e16834d7ea5df3b8c6d16cc03f0431a34e29fbf/src/frontend/src/catalog/system_catalog/rw_catalog/rw_meta_snapshot.rs#L44-L55
https://github.com/risingwavelabs/risingwave/blob/4e16834d7ea5df3b8c6d16cc03f0431a34e29fbf/src/frontend/src/optimizer/plan_node/logical_source.rs#L181-L186
https://github.com/risingwavelabs/risingwave/blob/4e16834d7ea5df3b8c6d16cc03f0431a34e29fbf/src/stream/src/executor/source/list_executor.rs#L101-L117