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