Skip to content

Proposed change: Schema implementation #16

Description

@klaudworks

The Schema currently uses a array of StructFields to represent the schema.
However, that is exactly what a StructType is used for in Spark. Additionally, a StructType provides convenient methods to modify the StructFields that it stores. Using a StructType will also be handy, to interact with Spark Dataframes.

Therefore, I propose to change the array of StructFields to a single StructType.
It is also possible to directly use the StructType instead of creating our own schema class.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions