unix_seconds
unix_seconds 介绍
unix_seconds(timestamp) - 返回自1970年1月1日00:00:00 UTC以来的秒数。截断更高级别的精度。
Examples:
> SELECT unix_seconds(TIMESTAMP('1970-01-01 00:00:01Z'));
1
Since: 3.1.0
unix_seconds(timestamp) - 返回自1970年1月1日00:00:00 UTC以来的秒数。截断更高级别的精度。
Examples:
> SELECT unix_seconds(TIMESTAMP('1970-01-01 00:00:01Z'));
1
Since: 3.1.0