pub fn no_trycast_sql(expr: Expression) -> Result<Expression>Expand description
Convert TryCast to Cast.
For dialects that don’t support TRY_CAST (safe cast that returns NULL on error), this converts TRY_CAST to regular CAST. Note: This may cause runtime errors for invalid casts that TRY_CAST would handle gracefully.
Reference: generator.py:no_trycast_sql()