Skip to content

Commit

Permalink
Consistent isEmpty dfefinition
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Davit committed Jan 5, 2024
1 parent 2219d99 commit 08b2be6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ object ParquetField {
}

override protected val isGroup: Boolean = hasAvroArray
override protected def isEmpty(v: C[T]): Boolean = v.isEmpty
override protected def isEmpty(v: C[T]): Boolean = v.forall(t.isEmpty)

override def write(c: RecordConsumer, v: C[T])(cm: CaseMapper): Unit =
if (hasAvroArray) {
Expand Down

0 comments on commit 08b2be6

Please sign in to comment.