v.20.7Improvement
Fix assert in parseDateTimeBestEffort to resolve issue #12649
Fix assert in parseDateTimeBestEffort. This fixes #12649. #13227 (alexey-milovidov).Why it matters
This fix addresses an issue whereparseDateTimeBestEffort could fail with an assertion error, improving the robustness of date and time parsing in ClickHouse. It resolves the problem reported in issue #12649, enhancing stability when handling flexible datetime inputs.