Does Apache spark 2.2 supports user-defined type (UDT)?

Viewed 1839

From this JIRA ticket Hide UserDefinedType in Spark 2.0 , seems that spark hide the UDT API from version 2.0.

Is there exists an alternative function or API we can use in version 2.2, so that we could define UserDefinedType? I wish to use a custom type in dataframe or structured streaming.

1 Answers
Related