SparkRepository can't handle both user defined schema and CompoundKey annotation
Closed this issue · 0 comments
maroil commented
Description
When a repository has a user-defined schema, and the repo is used to both load and save the data, and the type of repository has annotations like ColumnName
and/or CompoundKey
, in such a situation, the repository will not be able to read the data after the execution of save.
Because when it saves the data, it renames/adds columns according to the case class' annotation, and this will break the user-defined schema.