You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Yongzhi Chen (JIRA)" <ji...@apache.org> on 2017/10/18 19:14:00 UTC
[jira] [Updated] (HIVE-17640) Comparison of date return null if
time part is provided in string.
[ https://issues.apache.org/jira/browse/HIVE-17640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yongzhi Chen updated HIVE-17640:
--------------------------------
Attachment: HIVE-17640.1.patch
Attached the patch with backporting related code from HIVE-16614 and more tests.
> Comparison of date return null if time part is provided in string.
> ------------------------------------------------------------------
>
> Key: HIVE-17640
> URL: https://issues.apache.org/jira/browse/HIVE-17640
> Project: Hive
> Issue Type: Bug
> Reporter: Yongzhi Chen
> Assignee: Yongzhi Chen
> Fix For: 2.1.0
>
> Attachments: HIVE-17640.1.patch
>
>
> Reproduce:
> select '2017-01-01 00:00:00' < current_date;
> INFO : OK
> ...
> 1 row selected (18.324 seconds)
> ...
> NULL
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)