Skip to content

Commit d5ba2f2

Browse files
committed
test column index
1 parent 1bb2cd8 commit d5ba2f2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

parquet/tests/geospatial.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,10 @@ mod test {
235235
// ...but there should be no min or max value
236236
assert!(stats.min_bytes_opt().is_none());
237237
assert!(stats.max_bytes_opt().is_none());
238+
239+
// There should be no index for this column
240+
assert!(rg.column(0).column_index_length().is_none());
241+
assert!(rg.column(0).column_index_offset().is_none());
238242
}
239243
}
240244

@@ -319,6 +323,10 @@ mod test {
319323
// ...but there should be no min or max value
320324
assert!(stats.min_bytes_opt().is_none());
321325
assert!(stats.max_bytes_opt().is_none());
326+
327+
// There should be no index for this column
328+
assert!(rg.column(0).column_index_length().is_none());
329+
assert!(rg.column(0).column_index_offset().is_none());
322330
}
323331
}
324332

0 commit comments

Comments
 (0)