huan233usc opened a new pull request, #17333: URL: https://github.com/apache/iceberg/pull/17333
Follow-up to #17313. This collects the serialized WKB size for geometry and geography values written to Parquet and carries the average over non-null values through `FieldMetrics` into v4 `FieldStats`. Both the generic Parquet writer and Spark 4.1 writers populate the metric. This is based directly on `main` and is independent of the bounding-box work in #17161. Tests: - `./gradlew :iceberg-core:test --tests org.apache.iceberg.TestValueSizeFieldMetrics --tests org.apache.iceberg.TestFieldStatsStruct` - `./gradlew :iceberg-parquet:test --tests org.apache.iceberg.parquet.TestParquetValueWriters` - `./gradlew :iceberg-data:test --tests org.apache.iceberg.parquet.TestParquetMetrics.testMetricsForGeospatialTypes` - `./gradlew :iceberg-spark:iceberg-spark-4.1_2.13:test --tests org.apache.iceberg.spark.data.TestSparkParquetWriter.testGeospatialWkbRoundTrip` - `./gradlew :iceberg-core:revapi :iceberg-parquet:revapi` -- 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]
