xinyiZzz commented on code in PR #48398:
URL: https://github.com/apache/doris/pull/48398#discussion_r1977088192
##########
be/test/vec/data_types/serde/data_type_serde_arrow_test.cpp:
##########
@@ -300,19 +302,18 @@ void serialize_and_deserialize_arrow_test() {
} break;
case TYPE_DATETIMEV2: // uint64
{
- // 2022-01-01 11:11:11.111
auto column_vector_datetimev2 =
vectorized::ColumnVector<vectorized::UInt64>::create();
// auto& datetimev2_data =
column_vector_datetimev2->get_data();
DateV2Value<DateTimeV2ValueType> value;
- string date_literal = "2022-01-01 11:11:11.111";
- value.from_date_str(date_literal.c_str(), date_literal.size());
+ string date_literal = "2022-01-01 11-11-11.111";
Review Comment:
测了下,冒号分割的 "YYYY-MM-DD HH:MM:DD.FFFFFF" 也没问题
--
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]