Skip to content

Commit f7e69fb

Browse files
committed
document tests
1 parent fd9f314 commit f7e69fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

parquet/tests/geospatial.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ fn read_metadata(geospatial_test_file: &str) -> ParquetMetaData {
4040

4141
#[test]
4242
fn test_read_logical_type() {
43+
// Some crs values are short strings
4344
let expected_logical_type = [
4445
("crs-default.parquet", LogicalType::Geometry { crs: None }),
4546
(
@@ -75,6 +76,8 @@ fn test_read_logical_type() {
7576
assert_eq!(logical_type, expected_type);
7677
}
7778

79+
// The crs value may also contain arbitrary values (in this case some JSON
80+
// a bit too lengthy to type out)
7881
let metadata = read_metadata("crs-arbitrary-value.parquet");
7982
let logical_type = metadata
8083
.file_metadata()

0 commit comments

Comments
 (0)