You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vyacheslav Koptilin (Jira)" <ji...@apache.org> on 2025/07/08 11:37:00 UTC
[jira] [Updated] (IGNITE-25783) TIME cast truncates fractional seconds
[ https://issues.apache.org/jira/browse/IGNITE-25783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vyacheslav Koptilin updated IGNITE-25783:
-----------------------------------------
Labels: ignite-3 (was: )
> TIME cast truncates fractional seconds
> --------------------------------------
>
> Key: IGNITE-25783
> URL: https://issues.apache.org/jira/browse/IGNITE-25783
> Project: Ignite
> Issue Type: Bug
> Components: sql ai3
> Affects Versions: 3.1
> Reporter: Vladimir Dmitrienko
> Priority: Major
> Labels: ignite-3
>
> *Steps to reproduce:* (use CLI from AI3)
> {code:java}
> select '13:44:56.123'::time(1);
> select '13:44:56.123'::time(2);
> select '13:44:56.123'::time(2);{code}
> *Actual result:*
> {code:java}
> 13:44:56{code}
> *Expected result:*
> {code:java}
> 13:44:56.1
> 13:44:56.12
> 13:44:56.123{code}
> Most likely caused by https://github.com/apache/ignite-3/pull/5784/files
> Note: if this is expected behavior it should be documented somehow (e.g. CLI - trims millis, JDBC getObject() - not trims)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)