yiguolei commented on code in PR #48398:
URL: https://github.com/apache/doris/pull/48398#discussion_r1971637192
##########
be/src/vec/data_types/data_type_time_v2.h:
##########
@@ -123,7 +123,9 @@ class DataTypeDateTimeV2 final : public
DataTypeNumberBase<UInt64> {
DataTypeDateTimeV2(const DataTypeDateTimeV2& rhs) : _scale(rhs._scale) {}
TypeIndex get_type_id() const override { return TypeIndex::DateTimeV2; }
TypeDescriptor get_type_as_type_descriptor() const override {
- return TypeDescriptor(TYPE_DATETIMEV2);
+ auto desc = TypeDescriptor(TYPE_DATETIMEV2);
+ desc.scale = _scale;
Review Comment:
precision 不需要吗?
--
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]