Skip to content

Commit 90e0f49

Browse files
TreeHunter9Artyom Ivanov
andauthored
fix(cast-format): Throw exception when value cannot be found for specific pattern in string to datetime conversion (#8501)
* fix(cast-format): Throw exception when value cannot be found for specific pattern in string to datetime conversion - Example: CAST('A.M. 8' as time format 'MI A.M. HH12') where value for MI pattern is missing; - Handle integer overflow when converting string to int; * test(cast-format): Add tests for missing values and integer overflow * fix(cast-format): Incorrect comparison with std::from_chars_result error code --------- Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>
1 parent d79c643 commit 90e0f49

File tree

4 files changed

+174
-88
lines changed

4 files changed

+174
-88
lines changed

0 commit comments

Comments
 (0)