[SPARK-25077][SQL] Delete unused variable in WindowExec
## What changes were proposed in this pull request? Just delete the unused variable `inputFields` in WindowExec, avoid making others confused while reading the code. ## How was this patch tested? Existing UT. Closes #22057 from xuanyuanking/SPARK-25077. Authored-by: liyuanjian <liyuanjian@baidu.com> Signed-off-by: Xiao Li <gatorsmile@gmail.com>
This commit is contained in:
parent
eb9a696dd6
commit
bd6db1505f
|
@ -323,8 +323,6 @@ case class WindowExec(
|
||||||
fetchNextRow()
|
fetchNextRow()
|
||||||
|
|
||||||
// Manage the current partition.
|
// Manage the current partition.
|
||||||
val inputFields = child.output.length
|
|
||||||
|
|
||||||
val buffer: ExternalAppendOnlyUnsafeRowArray =
|
val buffer: ExternalAppendOnlyUnsafeRowArray =
|
||||||
new ExternalAppendOnlyUnsafeRowArray(inMemoryThreshold, spillThreshold)
|
new ExternalAppendOnlyUnsafeRowArray(inMemoryThreshold, spillThreshold)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue