You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Evgeny Stanilovsky (Jira)" <ji...@apache.org> on 2022/03/04 08:45:00 UTC
[jira] [Updated] (IGNITE-15109) Calcite engine. TIMESTAMPDIFF for MICROSECOND unit doesn't work
[ https://issues.apache.org/jira/browse/IGNITE-15109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Evgeny Stanilovsky updated IGNITE-15109:
----------------------------------------
Labels: ignite-3 (was: calcite3-required ignite-3)
> Calcite engine. TIMESTAMPDIFF for MICROSECOND unit doesn't work
> ---------------------------------------------------------------
>
> Key: IGNITE-15109
> URL: https://issues.apache.org/jira/browse/IGNITE-15109
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Reporter: Yury Gerzhedovich
> Assignee: Aleksey Plekhanov
> Priority: Major
> Labels: ignite-3
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The function TIMESTAMPDIFF for MICROSECOND unit return incorrect results for many cases. As the example below returns 0.
> {code:sql}
> SELECT TIMESTAMPDIFF(MICROSECOND, TIMESTAMP '2022-02-01 10:30:28.000', TIMESTAMP '2022-02-01 10:30:28.128'){code}
> seeĀ src/test/sql/function/timestamp/test_timestampdiff.test_ignore
--
This message was sent by Atlassian Jira
(v8.20.1#820001)