[
https://issues.apache.org/jira/browse/CALCITE-2496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chunwei Lei resolved CALCITE-2496.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.21.0
Fixed inĀ
[https://github.com/apache/calcite/commit/ccad6f982fc0d6bd45424e602ec0432a1bcecda7].
Thank you for your contribution, [~Sergey Nuyanzin]!
> EXTRACT function: MILLI/MICRO/NANOSECOND parts of a DATE must be zero
> ---------------------------------------------------------------------
>
> Key: CALCITE-2496
> URL: https://issues.apache.org/jira/browse/CALCITE-2496
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.17.0
> Reporter: Sergey Nuyanzin
> Assignee: Chunwei Lei
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.21.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> There was already a similar issue CALCITE-2324 but I'm sorry I did not take
> into account 3 time units. Now I want to cover them here. So all existing
> Timeunits from {{org.apache.calcite.avatica.util.TimeUnit}} which are less
> than a day will be covered
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)