STR_TO_JODATIME (Lakehouse v2)
Parses a string into a datetime using Joda-Time format patterns.
Analyze Syntax
Section titled “Analyze Syntax”func.str_to_jodatime(<str>, <pattern>)Analyze Examples
Section titled “Analyze Examples”func.str_to_jodatime('2024/06/15', 'yyyy/MM/dd')
┌──────────────┐│ '2024-06-15' │└──────────────┘SQL Syntax
Section titled “SQL Syntax”STR_TO_JODATIME(<str>, <pattern>)SQL Examples
Section titled “SQL Examples”SELECT STR_TO_JODATIME('2024/06/15', 'yyyy/MM/dd');
┌────────────┐│ 2024-06-15 │└────────────┘