如何计算 Impala 中两个时间戳之间的秒数?

How to calculate seconds between two timestamps in Impala?

我没有看到 Impala 函数可以减去两者之间的两个 datestamps 和 return 秒(或分钟)。 http://www.cloudera.com/documentation/archive/impala/2-x/2-0-x/topics/impala_datetime_functions.html

unix_timestamp(finish_time)-unix_timestamp(start_time) 会给你它们之间的秒数。