NEXT_DAY (Lakehouse v2)
Returns the date of the next specified weekday after a given date.
Analyze Syntax
Section titled “Analyze Syntax”func.next_day(<date>, <weekday>)Analyze Examples
Section titled “Analyze Examples”func.next_day('2024-06-15', 'Monday')
┌──────────────┐│ '2024-06-17' │└──────────────┘SQL Syntax
Section titled “SQL Syntax”NEXT_DAY(<date>, <weekday>)SQL Examples
Section titled “SQL Examples”SELECT NEXT_DAY('2024-06-15', 'Monday');
┌────────────┐│ 2024-06-17 │└────────────┘