AnuragRaut08 commented on code in PR #51357:
URL: https://github.com/apache/arrow/pull/51357#discussion_r4053400564
##########
cpp/src/parquet/arrow/arrow_statistics_test.cc:
##########
@@ -160,6 +160,50 @@ INSTANTIATE_TEST_SUITE_P(
/*expected_min=*/"z",
/*expected_max=*/"z"}));
+TEST(StatisticsTest, FixedWidthLeafUnderListStructNullCount) {
+ // Null counts for fixed-width leaves under list<struct<...>>
+ // must include null and empty list entries from the repeated ancestor.
+ auto schema = ::arrow::schema({::arrow::field(
+ "col", ::arrow::list(::arrow::struct_(
+ {::arrow::field("s", ::arrow::utf8()),
+ ::arrow::field("i32", ::arrow::int32())})))});
+
+ auto table = Table::Make(
+ schema,
+ {ArrayFromJSON(
Review Comment:
Done. Switched the test to use `TableFromJSON` directly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]