Where do I import Spark DayTimeIntervalType data type from?

Viewed 85

In every spark/pyspark reference I see DayTimeIntervalType and YearMonthIntervalType data types but these are neither in package pyspark.sql.types (pyspark) nor org.apache.spark.sql.types._ (scala). There is no example using them with import statements included I could find. Please enlighten me where I suppose to import them from. Thanks

0 Answers
Related