This is an automated email from the ASF dual-hosted git repository.
danny0405 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new 0591933bc237 fix: remove unused code (#18473)
0591933bc237 is described below
commit 0591933bc237ab9adb616f6961bbd780deff25a2
Author: yuqi <[email protected]>
AuthorDate: Wed Apr 8 10:22:26 2026 +0800
fix: remove unused code (#18473)
Co-authored-by: Danny Chan <[email protected]>
---
.../apache/spark/sql/hudi/command/procedures/ShowCommitsProcedure.scala | 1 -
1 file changed, 1 deletion(-)
diff --git
a/hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/command/procedures/ShowCommitsProcedure.scala
b/hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/command/procedures/ShowCommitsProcedure.scala
index 8b5816fc764a..b2c2d2d2a683 100644
---
a/hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/command/procedures/ShowCommitsProcedure.scala
+++
b/hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/command/procedures/ShowCommitsProcedure.scala
@@ -133,7 +133,6 @@ class ShowCommitsProcedure(includeExtraMetadata: Boolean)
extends BaseProcedure
def getCommits(timeline: HoodieTimeline,
limit: Int): Seq[Row] = {
val (rows: util.ArrayList[Row], newCommits: util.ArrayList[HoodieInstant])
= getSortCommits(timeline)
- val layout = TimelineLayout.fromVersion(timeline.getTimelineLayoutVersion)
for (i <- 0 until newCommits.size) {
val commit = newCommits.get(i)
val commitMetadata = timeline.readCommitMetadata(commit)