Skip to content

Commit

Permalink
Remove mandatory fields for BaseFileOnlyRelation
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Kudinkin committed Apr 26, 2022
1 parent 0c4b09e commit 968ca51
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ class BaseFileOnlyRelation(sqlContext: SQLContext,

override type FileSplit = HoodieBaseFileSplit

override lazy val mandatoryFields: Seq[String] =
// TODO reconcile, record's key shouldn't be mandatory for base-file only relation
Seq(recordKeyField)
override lazy val mandatoryFields: Seq[String] = Seq.empty

override def imbueConfigs(sqlContext: SQLContext): Unit = {
super.imbueConfigs(sqlContext)
Expand Down

0 comments on commit 968ca51

Please sign in to comment.