unix_micros
function
Applies to: Databricks SQL
Databricks Runtime
Returns the number of microseconds since 1970-01-01 00:00:00 UTC
.
unix_micros(expr)
expr
: A TIMESTAMP expression.
A BIGINT.
> SELECT unix_micros(TIMESTAMP('1970-01-01 00:00:01Z'));
1000000