Download arrow_1/tests/private/eval_tests_aug.patch from lolbench26/LoLBench: direct link, hf CLI and curl.
- Browser
- Download file 1.7 kB
-
https://huggingface.co/datasets/lolbench26/LoLBench/resolve/main/arrow_1/tests/private/eval_tests_aug.patch
- Command line
-
hf download hf://datasets/lolbench26/LoLBench/arrow_1/tests/private/eval_tests_aug.patch
-
curl -L -o eval_tests_aug.patch https://huggingface.co/datasets/lolbench26/LoLBench/resolve/main/arrow_1/tests/private/eval_tests_aug.patch
1.7 kB
| diff --git a/cpp/src/parquet/schema_test.cc b/cpp/src/parquet/schema_test.cc | |
| --- a/cpp/src/parquet/schema_test.cc | |
| +++ b/cpp/src/parquet/schema_test.cc | |
| TEST(TestLogicalTypeOperation, LogicalTypeRepresentation) { | |
| for (const ExpectedRepresentation& c : cases) { | |
| ASSERT_STREQ(c.logical_type->ToString().c_str(), c.string_representation); | |
| ASSERT_STREQ(c.logical_type->ToJSON().c_str(), c.JSON_representation); | |
| } | |
| } | |
| +TEST(TestLogicalTypeOperation, GeospatialJsonRepresentationAugmented) { | |
| + EXPECT_EQ(R"({"Type": "Geometry", "crs": "srid:4326"})", | |
| + LogicalType::Geometry("srid:4326")->ToJSON()); | |
| + EXPECT_EQ(R"({"Type": "Geography", "crs": "srid:4326", "algorithm": "vincenty"})", | |
| + LogicalType::Geography( | |
| + "srid:4326", LogicalType::EdgeInterpolationAlgorithm::VINCENTY) | |
| + ->ToJSON()); | |
| +} | |
| + | |
| TEST(TestLogicalTypeOperation, LogicalTypeSortOrder) { | |
| // Ensure that each logical type reports the correct sort order | |
| diff --git a/cpp/src/parquet/lolbench_augmented_selectors.txt b/cpp/src/parquet/lolbench_augmented_selectors.txt | |
| new file mode 100644 | |
| index 0000000000..1111111111 | |
| --- /dev/null | |
| +++ b/cpp/src/parquet/lolbench_augmented_selectors.txt | |
| +LoLBench augmented selector marker for Apache-Arrow PR-45459. | |
| + | |
| +The augmented F2P suite selects public geospatial tests from the hidden | |
| +eval_tests.patch and one focused JSON representation test added by this patch. | |
| +They exercise documented Parquet GEOMETRY/GEOGRAPHY logical-type behavior | |
| +through schema, Arrow schema conversion, and Arrow Parquet reader/writer | |
| +surfaces without calling newly added internal helper functions or classes. | |