rahulsmahadev commented on code in PR #18535:
URL: https://github.com/apache/iceberg/pull/18535#discussion_r4382797195
##########
parquet/src/main/java/org/apache/iceberg/parquet/ParquetUtil.java:
##########
@@ -61,6 +66,25 @@ public static Metrics fileMetrics(InputFile file,
MetricsConfig metricsConfig) {
public static Metrics fileMetrics(
InputFile file, MetricsConfig metricsConfig, NameMapping nameMapping) {
+ if (file instanceof NativeEncryptionInputFile) {
Review Comment:
Done. fileMetrics now opens the reader through a small helper that unwraps a
NativeEncryptionInputFile into the encrypted file and its decryption
properties, so there is a single read path.
--
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]