STR_TO_DATE (Lakehouse v2)
Parses a string into a date using a format string.
Analyze Syntax
Section titled “Analyze Syntax”func.str_to_date(<str>, <format>)Analyze Examples
Section titled “Analyze Examples”func.str_to_date('Jun 15 2024', '%b %d %Y')
┌──────────────┐│ '2024-06-15' │└──────────────┘SQL Syntax
Section titled “SQL Syntax”STR_TO_DATE(<str>, <format>)SQL Examples
Section titled “SQL Examples”SELECT STR_TO_DATE('Jun 15 2024', '%b %d %Y');
┌────────────┐│ 2024-06-15 │└────────────┘