i am using lit function in the filter transformation in my spark code as below filter(to_date(df1("process_date"))>=lit("2019-03-21"))