You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (Jira)" <ji...@apache.org> on 2020/03/27 13:22:00 UTC

[jira] [Updated] (DRILL-7668) Allow Time Bucket Function to Accept Floats and Timestamps

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

Arina Ielchiieva updated DRILL-7668:
------------------------------------
    Reviewer: Paul Rogers

> Allow Time Bucket Function to Accept Floats and Timestamps
> ----------------------------------------------------------
>
>                 Key: DRILL-7668
>                 URL: https://issues.apache.org/jira/browse/DRILL-7668
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Functions - Drill
>    Affects Versions: 1.18.0
>            Reporter: Charles Givre
>            Assignee: Charles Givre
>            Priority: Minor
>              Labels: ready-to-commit
>             Fix For: 1.18.0
>
>
> Drill has a function `time_bucket()` which facilitates time series analysis. This PR extends this function to accept `FLOAT8` and `TIMESTAMPS` as input.  Floats are typically not used for timestamps, however in the event that the data is coming from imperfect files, the numbers may be read as floats and hence require casting in queries.  This PR makes this easier. 



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