C-Loftus commented on code in PR #2125:
URL: https://github.com/apache/iceberg-go/pull/2125#discussion_r4214100956


##########
table/internal/parquet_files_test.go:
##########
@@ -3257,6 +3260,13 @@ func TestWriteDataFileGeoBounds(t *testing.T) {
                        df := writeWithGeomMode(t, tt.mode)
                        assert.NotContains(t, df.LowerBoundValues(), 2, 
"geometry lower bound must be omitted for %s", tt.mode.Typ)
                        assert.NotContains(t, df.UpperBoundValues(), 2, 
"geometry upper bound must be omitted for %s", tt.mode.Typ)
+
+                       // Counts mode still records the geometry null count; 
none records nothing.
+                       if tt.mode.Typ == internal.MetricModeCounts {

Review Comment:
   Added `TestWriteGeoColumnMultiRowGroupStats` with two batches, a row-group 
limit of 2, and an assertion on the total null count, so an = regression drops 
the count to 0 and fails. 



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