mzzz-zzm commented on code in PR #1039:
URL: https://github.com/apache/iceberg-go/pull/1039#discussion_r3212355248


##########
manifest_test.go:
##########
@@ -2115,6 +2115,67 @@ func (m *ManifestTestSuite) 
TestManifestRoundTripSortOrderID() {
        m.Equal(expectedSortOrderID, *got)
 }
 
+// writeManifestWithDistinctCounts builds a single-entry manifest at the given
+// version with distinct_counts populated for one column, round-trips it 
through
+// WriteManifest + ReadManifest, and returns the distinct counts observed by
+// the reader.
+func (m *ManifestTestSuite) writeManifestWithDistinctCounts(version int) 
map[int]int64 {

Review Comment:
   Fixed. I removed the helper and inlined the setup into 
`TestWriteManifestV3OmitsDistinctCounts`, since v3 is the only caller in this 
PR. I also changed the unused fixture values to `1` so they read as filler 
rather than meaningful test data.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to