Github user icexelloss commented on a diff in the pull request: https://github.com/apache/spark/pull/18732#discussion_r141949108 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/AttributeSet.scala --- @@ -37,6 +37,9 @@ object AttributeSet { /** Constructs a new [[AttributeSet]] that contains a single [[Attribute]]. */ def apply(a: Attribute): AttributeSet = new AttributeSet(Set(new AttributeEquals(a))) + def apply(as: Attribute*): AttributeSet = + new AttributeSet(Set(as.map(new AttributeEquals(_)): _*)) --- End diff -- Good catch! Removed.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org