[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:
liyuanjian 2018-08-09 13:43:07 -07:00 committed by Xiao Li
parent eb9a696dd6
commit bd6db1505f

View file

@ -323,8 +323,6 @@ case class WindowExec(
fetchNextRow()
// Manage the current partition.
val inputFields = child.output.length
val buffer: ExternalAppendOnlyUnsafeRowArray =
new ExternalAppendOnlyUnsafeRowArray(inMemoryThreshold, spillThreshold)