Skip to content

Commit

Permalink
SPARK-51016. fixed test failures after refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ashahid committed Feb 28, 2025
1 parent 7f2d2bc commit 9cec75e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ case class Alias(child: Expression, name: String)(

override def toAttribute: Attribute = {
if (resolved) {
AttributeReference(name, child.dataType, child.nullable)(exprId, qualifier,
AttributeReference(name, child.dataType, child.nullable, metadata)(exprId, qualifier,
this.hasIndeterminism)
} else {
UnresolvedAttribute.quoted(name)
Expand Down Expand Up @@ -367,7 +367,7 @@ case class AttributeReference(
}

override protected final def otherCopyArgs: Seq[AnyRef] = {
exprId :: qualifier :: Nil
exprId :: qualifier :: Boolean.box(hasIndeterminism) :: Nil
}

/** Used to signal the column used to calculate an eventTime watermark (e.g. a#1-T{delayMs}) */
Expand Down

0 comments on commit 9cec75e

Please sign in to comment.