Skip to content

Commit 5607160

Browse files
author
Marcelo Vanzin
committed
Small fix.
1 parent 5c03e07 commit 5607160

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/AdjustTimestamps.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ case class AdjustTimestamps(conf: SQLConf) extends Rule[LogicalPlan] {
8686
Alias(adjustment, e.name)()
8787

8888
case other: NamedExpression =>
89-
other
89+
other.toAttribute
9090

9191
case unnamed =>
9292
throw new AnalysisException(s"Unexpected expr: $unnamed")

0 commit comments

Comments
 (0)