Stamatis Zampetakis created HIVE-27162: ------------------------------------------
Summary: Unify HiveUnixTimestampSqlOperator and HiveToUnixTimestampSqlOperator Key: HIVE-27162 URL: https://issues.apache.org/jira/browse/HIVE-27162 Project: Hive Issue Type: Task Components: CBO Reporter: Stamatis Zampetakis The two classes below both represent the {{unix_timestamp}} operator and have identical implementations. * https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveUnixTimestampSqlOperator.java * https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveToUnixTimestampSqlOperator.java Probably there is a way to use one or the other and not both; having two ways of representing the same thing can bring various problems in query planning and it also leads to code duplication. -- This message was sent by Atlassian Jira (v8.20.10#820010)