Skip to content

Commit 4e4cfa7

Browse files
committed
Make the name consistent
1 parent 93f05f3 commit 4e4cfa7

File tree

1 file changed

+2
-2
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis

1 file changed

+2
-2
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,8 +486,8 @@ class Analyzer(
486486
case Pivot(groupByExprs, pivotColumn, pivotValues, aggregates, child) =>
487487
val singleAgg = aggregates.size == 1
488488
def outputName(value: Literal, aggregate: Expression): String = {
489-
val utf8val = Cast(value, StringType, Some(conf.sessionLocalTimeZone)).eval(EmptyRow)
490-
val stringValue: String = Option(utf8val).map(_.toString).getOrElse("null")
489+
val utf8Value = Cast(value, StringType, Some(conf.sessionLocalTimeZone)).eval(EmptyRow)
490+
val stringValue: String = Option(utf8Value).map(_.toString).getOrElse("null")
491491
if (singleAgg) {
492492
stringValue
493493
} else {

0 commit comments

Comments
 (0)