diff --git a/gluten-iceberg/src/main/scala/org/apache/gluten/execution/IcebergScanTransformer.scala b/gluten-iceberg/src/main/scala/org/apache/gluten/execution/IcebergScanTransformer.scala index 067dec2ec838..60f8a60064c6 100644 --- a/gluten-iceberg/src/main/scala/org/apache/gluten/execution/IcebergScanTransformer.scala +++ b/gluten-iceberg/src/main/scala/org/apache/gluten/execution/IcebergScanTransformer.scala @@ -48,7 +48,8 @@ case class IcebergScanTransformer( override def filterExprs(): Seq[Expression] = pushdownFilters.getOrElse(Seq.empty) - override def getPartitionSchema: StructType = GlutenIcebergSourceUtil.getReadPartitionSchema(scan) + override lazy val getPartitionSchema: StructType = + GlutenIcebergSourceUtil.getReadPartitionSchema(scan) override def getDataSchema: StructType = new StructType()