SEC_TO_TIME (Lakehouse v2)
Converts seconds to a time value.
Analyze Syntax
Section titled “Analyze Syntax”func.sec_to_time(<seconds>)Analyze Examples
Section titled “Analyze Examples”func.sec_to_time(3661)
┌────────────┐│ '01:01:01' │└────────────┘SQL Syntax
Section titled “SQL Syntax”SEC_TO_TIME(<seconds>)SQL Examples
Section titled “SQL Examples”SELECT SEC_TO_TIME(3661);
┌──────────┐│ 01:01:01 │└──────────┘