Skip to content

Commit

Permalink
[GLUTEN-7376][ICEBERG]Avoid retrieving the partition schema of Iceber…
Browse files Browse the repository at this point in the history
…g repeatedly (#7377)
  • Loading branch information
lyy-pineapple authored Sep 29, 2024
1 parent 35366f4 commit 69a914f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 69a914f

Please sign in to comment.