Github user gatorsmile commented on a diff in the pull request: https://github.com/apache/spark/pull/21184#discussion_r201769371 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/DataFrameSuite.scala --- @@ -2265,4 +2266,15 @@ class DataFrameSuite extends QueryTest with SharedSQLContext { val df = spark.range(1).select($"id", new Column(Uuid())) checkAnswer(df, df.collect()) } + + test("SPARK-24051: using the same alias can produce incorrect result") { --- End diff -- This test case failed without your changes?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org