HOUR (Lakehouse v2)
Returns the hour from a datetime.
Analyze Syntax
Section titled “Analyze Syntax”func.hour(<datetime>)Analyze Examples
Section titled “Analyze Examples”func.hour('2024-06-15 14:30:00')
┌────┐│ 14 │└────┘SQL Syntax
Section titled “SQL Syntax”HOUR(<datetime>)SQL Examples
Section titled “SQL Examples”SELECT HOUR('2024-06-15 14:30:00');
┌────┐│ 14 │└────┘