wgtmac commented on code in PR #47032: URL: https://github.com/apache/arrow/pull/47032#discussion_r2193923910
########## cpp/src/parquet/column_writer_test.cc: ########## @@ -938,6 +939,60 @@ TEST_F(TestByteArrayValuesWriter, CheckDefaultStats) { ASSERT_TRUE(this->metadata_is_stats_set()); } +// Test for https://github.com/apache/arrow/issues/47027. +// When writing a repeated column with page indexes enabled +// and batches that are aligned with list boundaries, +// pages should be written after reaching the page limit. +TEST_F(TestValuesWriterInt32Type, PagesSplitWithListAlignedWrites) { Review Comment: I may have forgotten: is there any test that covers non-aligned case? If yes, I'm fine with this special case. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org