Skip to the content.

Definition

SchemaConverter can:

For each of the three annotations: ColumnName, CompoundKey and Compress, SchemaConverter will

Demo

Dataset to DataFrame

val ds: Dataset[MyClass] = ...
SchemaConverter.toDF(ds)

DataFrame to Dataset

val df: DataFrame = ...
SchemaConverter.fromDF[MyClass](df)