Repository navigation
Conversation
Carries the three changes that the wide-row case needs, so that CI exercises them as one: the s3 integration tests, the batch byte bound that stops the 32-bit overflow, and the size-statistics reset on the dictionary fallback. Neither fix is sufficient on its own. The byte bound makes the write succeed but still reports the doubled statistics whenever the dictionary falls back, and the statistics reset is unreachable for a wide column because the write throws before it. The integration tests only measure the failure; they do not fix it.
This was referenced Sep 14, 2026
The wide-row tests were taken from a branch cut before several changes to test_storage_s3, and copying that whole file back dropped them: restricted_dummy lost remote_servers.xml, and the eight-query remote host filter test, which covers s3Cluster, icebergS3, icebergS3Cluster and IcebergS3 DDL, was replaced by two older checks. Only the wide-row additions are applied now. wide_rows_memory_matrix.sh appended its test block only when the file did not already contain it, so a checkout left over from an earlier run kept the tests it was first given. It also discarded the runner's exit status and picked the newest result JSON in ci/tmp, which can belong to a previous run. The test file is now reset before the block is appended, only results written after the run started are read, and a runner that exits non-zero without producing results is reported instead of passing silently.
Carries the two review fixes from the split pull requests: a record larger than 1 GiB is now split wherever it happens to be, dropping the column and offset indexes for that chunk because neither can describe pages that start mid-record, and 02718_parquet_metadata_format's reference is updated for the new size_statistics field.
The threshold was 1 GiB, well below the page size that forces the split, so a record between 1 GiB and 2 GiB was split and lost its page index even though master writes it whole with a valid one. It is now just under the limit that makes the split necessary, so only a record that would otherwise fail to write is affected.
Member
|
Thanks @erezrokah . This PR is an amalgamation of #119300, #120027 and #120028. It's preferred to submit the PRs one by one. |
Contributor
Author
Thanks @rschu1ze, agree with closing. Mostly opened this as otherwise we can't have the new tests passing on a single PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #119300
Related: #120027
Related: #120028
The three changes the wide-row parquet case needs, together, so CI exercises them as one: the
s3()tests from #119300, the batch byte bound from #120028, and the size-statistics reset plusthe
ParquetMetadatafield from #120027.Writing 1024 rows of ~2.1 MB, the case #119300 measures:
unencoded_byte_array_data_byteson fallbackarray cannot contain more than 2147483646 bytesIf the maintainers prefer a single pull request, this supersedes the three above; if they prefer
the slices, this one can be closed.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fixed
Parquetoutput failing withCapacity error: array cannot contain more than 2147483646 bytesorUncompressed page is too bigwhen a batch of rows held more than 2 GiB ofStringorFixedStringdata, and fixed such a column chunk reporting its size statistics twice when it falls back from dictionary encoding. TheParquetMetadataformat now also reportssize_statisticsfor each column chunk.