amorynan commented on code in PR #19351: URL: https://github.com/apache/doris/pull/19351#discussion_r1187515352
########## be/src/vec/data_types/data_type_date_time.h: ########## @@ -87,6 +87,17 @@ class DataTypeDateTime final : public DataTypeNumberBase<Int64> { DataTypeSerDeSPtr get_serde() const override { return std::make_shared<DataTypeDate64SerDe>(); } + Field get_field(const TExprNode& node) const override { + VecDateTimeValue value; + if (value.from_date_str(node.date_literal.value.c_str(), node.date_literal.value.size())) { + value.cast_to_date(); Review Comment: done! -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org