trim
org.apache.spark.sql.functions.trim => com.snowflake.snowpark.functions.trim
trim transformation has two cases, the first when trim has only one argument is necessary to add lit("") as second argument; the other consists on cast the second argument from string to column.
Input Code:
Output Code:
Last updated