You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2015/03/09 17:26:39 UTC
[jira] [Updated] (DRILL-2393) The extracted day from now() and
current_date are not equal
[ https://issues.apache.org/jira/browse/DRILL-2393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Parth Chandra updated DRILL-2393:
---------------------------------
Fix Version/s: 0.9.0
> The extracted day from now() and current_date are not equal
> -----------------------------------------------------------
>
> Key: DRILL-2393
> URL: https://issues.apache.org/jira/browse/DRILL-2393
> Project: Apache Drill
> Issue Type: Bug
> Components: Functions - Drill
> Affects Versions: 0.8.0
> Reporter: Chun Chang
> Assignee: Mehant Baid
> Priority: Critical
> Fix For: 0.9.0
>
>
> #Wed Mar 04 01:23:42 EST 2015
> git.commit.id.abbrev=71b6bfe
> The extracted 'day' from now() and current_date should be equal, but Drill returned false:
> {code}
> 0: jdbc:drill:schema=dfs.drillTestDirComplexJ> select extract(day from now())=extract(day from current_date) from sys.drillbits limit 1;
> +------------+
> | EXPR$0 |
> +------------+
> | false |
> +------------+
> 1 row selected (0.055 seconds)
> 0: jdbc:drill:schema=dfs.drillTestDirComplexJ> select extract(day from now()), extract(day from current_date) from sys.drillbits limit 1;
> +------------+------------+
> | EXPR$0 | EXPR$1 |
> +------------+------------+
> | 6 | 5 |
> +------------+------------+
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)