If I wanted to create a StructType (i.e. a DataFrame.schema) out of a case class, is there a way to do it without creating a Dat
StructType
DataFrame.schema
case class
Dat
in case someone wants to do this for a custom Java bean:
ExpressionEncoder.javaBean(Event.class).schema().json()