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