diff --git a/presto-iceberg/src/main/java/com/facebook/presto/iceberg/IcebergHiveMetadata.java b/presto-iceberg/src/main/java/com/facebook/presto/iceberg/IcebergHiveMetadata.java index f4f0dcdd4e7ef..3c5c9e049186f 100644 --- a/presto-iceberg/src/main/java/com/facebook/presto/iceberg/IcebergHiveMetadata.java +++ b/presto-iceberg/src/main/java/com/facebook/presto/iceberg/IcebergHiveMetadata.java @@ -625,8 +625,7 @@ public TableStatisticsMetadata getStatisticsCollectionMetadata(ConnectorSession Set supportedStatistics = ImmutableSet.builder() .addAll(hiveColumnStatistics) // iceberg table-supported statistics - .addAll(!connectorSystemConfig.isNativeExecution() ? - super.getStatisticsCollectionMetadata(session, tableMetadata).getColumnStatistics() : ImmutableSet.of()) + .addAll(super.getStatisticsCollectionMetadata(session, tableMetadata).getColumnStatistics()) .build(); Set tableStatistics = ImmutableSet.of(ROW_COUNT); return new TableStatisticsMetadata(supportedStatistics, tableStatistics, emptyList());