You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Peter Vary (JIRA)" <ji...@apache.org> on 2017/07/07 14:12:00 UTC

[jira] [Created] (HIVE-17060) unix_timestamp(void) is deprecated message is printed twice

Peter Vary created HIVE-17060:
---------------------------------

             Summary: unix_timestamp(void) is deprecated message is printed twice
                 Key: HIVE-17060
                 URL: https://issues.apache.org/jira/browse/HIVE-17060
             Project: Hive
          Issue Type: Bug
          Components: UDF
    Affects Versions: 2.0.0, 1.3.0
            Reporter: Peter Vary
            Priority: Trivial


HIVE-10728 added a warning message when the unix_timestamp used without parameters.

When CBO is used, this message is printed twice.

Minimal steps to reproduce:
{code}
set hive.cbo.enable = true;
create table timestamp_test(s string);
select unix_timestamp() from timestamp_test;
{code}

This duplication is even enforced by the golden files in the commit :)
https://github.com/apache/hive/commit/24d3307be79d35d3a34c49014dfdd597112f9106#diff-bf6c9f3549aaeb2b40b8b1eab9254c4aR73



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)