QUARTER (Lakehouse v2)
Returns the quarter of the year from a date (1-4).
Analyze Syntax
Section titled “Analyze Syntax”func.quarter(<date>)Analyze Examples
Section titled “Analyze Examples”func.quarter('2024-06-15')
┌───┐│ 2 │└───┘SQL Syntax
Section titled “SQL Syntax”QUARTER(<date>)SQL Examples
Section titled “SQL Examples”SELECT QUARTER('2024-06-15');
┌───┐│ 2 │└───┘