You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Tanner Clary (Jira)" <ji...@apache.org> on 2023/04/20 18:10:00 UTC

[jira] [Created] (CALCITE-5666) Add ISOWEEK and WEEK(WEEKDAY) to TimeUnit in Avatica

Tanner Clary created CALCITE-5666:
-------------------------------------

             Summary: Add ISOWEEK and WEEK(WEEKDAY) to TimeUnit in Avatica
                 Key: CALCITE-5666
                 URL: https://issues.apache.org/jira/browse/CALCITE-5666
             Project: Calcite
          Issue Type: Task
            Reporter: Tanner Clary
            Assignee: Tanner Clary


The {{TimeUnit}} enum in Avatica ([link|https://github.com/apache/calcite-avatica/blob/main/core/src/main/java/org/apache/calcite/avatica/util/TimeUnit.java]) currently supports many similar time units such as {{ISOYEAR}}, {{ISODOW}}, and {{WEEK}} among others. Adding {{ISOWEEK}} and {{WEEK(WEEKDAY)}} would continue this trend and these would no longer need to be treated as time frames as they are currently.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)