nssalian commented on code in PR #932:
URL: https://github.com/apache/iceberg-go/pull/932#discussion_r3183452566


##########
table/internal/parquet_files.go:
##########
@@ -613,7 +629,7 @@ func (p parquetFormat) DataFileStatsFromMeta(meta Metadata, 
statsCols map[int]St
 
                        agg, ok := colAggs[fieldID]
                        if !ok {
-                               agg, err = 
p.createStatsAgg(statsCol.IcebergTyp, stats.Type().String(), statsCol.Mode.Len)
+                               agg, err = 
p.createStatsAgg(statsCol.IcebergTyp.(iceberg.PrimitiveType), 
stats.Type().String(), statsCol.Mode.Len)

Review Comment:
   Related to the change in the stats collector. I'll revert this.



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