You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Александр Глухов (Jira)" <ji...@apache.org> on 2021/05/13 12:20:00 UTC

[jira] [Updated] (DRILL-7926) The " age " function is not working properly.

     [ https://issues.apache.org/jira/browse/DRILL-7926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Александр Глухов updated DRILL-7926:
------------------------------------
    Attachment: screenshot-1.png

> The " age " function is not working properly.
> ---------------------------------------------
>
>                 Key: DRILL-7926
>                 URL: https://issues.apache.org/jira/browse/DRILL-7926
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>    Affects Versions: 1.17.0, 1.18.0
>            Reporter: Александр Глухов
>            Priority: Blocker
>         Attachments: image-2021-05-13-16-17-21-154.png, screenshot-1.png
>
>
> The " age " function is not working properly.
>  *Playback steps*
> {code:sql}
> select extract(year from m. "years") `years`  from (select age('2021-05-13', '2007-07-02') `years") m{code}
> *Expected result* 13.
> *Actual result* 14.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)