[ https://issues.apache.org/jira/browse/IGNITE-25315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maksim Zhuravkov updated IGNITE-25315: -------------------------------------- Summary: Sql. Cast FORMAT. Max length of a fractional part is ignored (was: Sql. Cast FORMAT. Fractional part is parsed incorreclty) > Sql. Cast FORMAT. Max length of a fractional part is ignored > ------------------------------------------------------------ > > Key: IGNITE-25315 > URL: https://issues.apache.org/jira/browse/IGNITE-25315 > Project: Ignite > Issue Type: Bug > Components: sql > Reporter: Maksim Zhuravkov > Priority: Major > Labels: ignite-3 > > {noformat} > SELECT CAST('23:02:03.123' AS TIME FORMAT 'hh24:mi:ss.FF2') // Should be > rejected as a fractional part must be less than 2 > {noformat} > This bug leaks confusing behaviour of SimpleDateFormat (see > https://issues.apache.org/jira/browse/IGNITE-25313) > {noformat} > SELECT CAST('23:02:03.1234' AS TIME FORMAT 'hh24:mi:ss.FF3') > 23:02:04.234 > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)