Skip to content

Commit

Permalink
[SPARK-47767][SQL] Show offset value in TakeOrderedAndProjectExec apa…
Browse files Browse the repository at this point in the history
  • Loading branch information
guihuawen committed Apr 16, 2024
1 parent 8cc9052 commit 1e7593a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ case class TakeOrderedAndProjectExec(
val orderByString = truncatedString(sortOrder, "[", ",", "]", maxFields)
val outputString = truncatedString(output, "[", ",", "]", maxFields)

val offsetStr = if (offset > 0) { s" offset=$offset, " } else { "" }
val offsetStr = if (offset == 0) { "" } else { s" offset=$offset, " }
s"TakeOrderedAndProject(limit=$limit, $offsetStr" +
s"orderBy=$orderByString, output=$outputString)"
}
Expand Down

0 comments on commit 1e7593a

Please sign in to comment.