https://spark.apache.org/docs/2.3.0/api/sql/index.html#datediff
To enable timespan difference calculation in the data transformation