ltrim

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

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

Input Code:

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

Output Code:

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

Last updated