cloud-fan commented on code in PR #44316: URL: https://github.com/apache/spark/pull/44316#discussion_r1430980065
########## sql/core/src/test/scala/org/apache/spark/sql/DateFunctionsSuite.scala: ########## @@ -78,6 +78,11 @@ class DateFunctionsSuite extends QueryTest with SharedSparkSession { // Execution in one query should return the same value checkAnswer(sql("""SELECT CURRENT_TIMESTAMP() = CURRENT_TIMESTAMP()"""), Row(true)) + checkAnswer(sql( + """SELECT COUNT(DISTINCT ct) FROM VALUES + | CURRENT_TIMESTAMP(), + | CURRENT_TIMESTAMP(), + | CURRENT_TIMESTAMP() as data(ct)""".stripMargin), Row(1)) Review Comment: This seems not needed as we have the same test in the golden file -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org