I just wondered if there is an EnumType in PySpark/Spark.
I want to add constraints on StringTypes (or other types as well) to have certain values only in my DataFrame's schema.
I just wondered if there is an EnumType in PySpark/Spark.
I want to add constraints on StringTypes (or other types as well) to have certain values only in my DataFrame's schema.