rtrim

org.apache.spark.sql.functions.rtrim => com.snowflake.snowpark.functions.rtrim

rtrim transformation consists on cast the second argument from string to column by using the lit function.

Input Code:

val result1 = rtrim(clmn)
val result2 = rtrim(clmn, ".")

Output Code:

val result1 = rtrim(clmn)
val result2 = rtrim(clmn, lit("."))

Last updated