Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17060

unix_timestamp(void) is deprecated message is printed twice

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 1.3.0, 2.0.0
    • Fix Version/s: None
    • Component/s: CBO, UDF
    • Labels:
      None

      Description

      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:

      set hive.cbo.enable = true;
      create table timestamp_test(s string);
      select unix_timestamp() from timestamp_test;
      

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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pvary Peter Vary
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: