This is an automated email from the ASF dual-hosted git repository.
zclll pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
from 533a117aa4f [fix](filecache) warm up download data less than actual
(#54363)
add bf1cfe0e83d [Fix](cast) fix wrong cast from string to datetime and add
cases (#54357)
No new revisions were added by this update.
Summary of changes:
be/src/util/string_parser.hpp | 1 +
.../serde/data_type_date_or_datetime_serde.cpp | 30 +++-
.../serde/data_type_date_or_datetime_serde.h | 2 +
.../serde/data_type_datetimev2_serde.cpp | 30 +++-
.../data_types/serde/data_type_datev2_serde.cpp | 29 ++-
.../vec/data_types/serde/data_type_time_serde.cpp | 29 ++-
.../vec/functions/cast/cast_to_datetimev2_impl.hpp | 7 +-
be/src/vec/functions/cast/cast_to_datev2_impl.hpp | 8 +-
be/src/vec/functions/cast/cast_to_time_impl.hpp | 93 ++--------
be/test/vec/function/cast/cast_test.h | 89 ++++-----
be/test/vec/function/cast/cast_to_date_test.cpp | 198 +++++++++++++++-----
.../vec/function/cast/cast_to_datetime_test.cpp | 199 +++++++++++++++++++--
be/test/vec/function/cast/cast_to_time_test.cpp | 94 +++++++---
be/test/vec/function/function_test_util.h | 8 +-
regression-test/data/cast_p0/cast_to_datetime.out | Bin 5741 -> 5783 bytes
15 files changed, 570 insertions(+), 247 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]