I have a scala function, compute the a difference between tow date, that taking two LocalDateTime
as parameters:
I have a dataFrame that contain tow field start_date and finish_date.
I want construst an UDF "may be" to apply the function toEquals on my dataframe especially on the é field start_date
and finish_date
to compute the difference between them. But the type of start_date and finish_date are String.