ParseToDate¶
ParseToDate is a RuntimeReplaceable expression to represent to_date function (in logical query plans).
As a RuntimeReplaceable expression, ParseToDate is replaced by Logical Query Optimizer with the child expression:
-
Cast(left, DateType)forto_date(e: Column): Columnfunction -
Cast(Cast(UnixTimestamp(left, format), TimestampType), DateType)forto_date(e: Column, fmt: String): Columnfunction