Skip to content

Commit 0b0c90f

Browse files
committed
Read arrow NullVector test
1 parent 68c99c5 commit 0b0c90f

File tree

5 files changed

+7
-0
lines changed

5 files changed

+7
-0
lines changed

dataframe-arrow/src/test/kotlin/org/jetbrains/kotlinx/dataframe/io/exampleEstimatesAssertions.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,11 @@ internal fun assertEstimations(exampleFrame: AnyFrame, expectedNullable: Boolean
158158
timeNanoCol.forEachIndexed { i, element ->
159159
assertValueOrNull(iBatch(i), element, LocalTime.ofNanoOfDay(iBatch(i).toLong()))
160160
}
161+
162+
exampleFrame.getColumnOrNull("nulls")?.let { nullCol ->
163+
assert(hasNulls)
164+
nullCol.values().forEach {
165+
assert(it == null)
166+
}
167+
}
161168
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)