cloud-fan commented on code in PR #50409:
URL: https://github.com/apache/spark/pull/50409#discussion_r2017840068
##########
sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala:
##########
@@ -4941,6 +4941,17 @@ class SQLQuerySuite extends QueryTest with
SharedSparkSession with AdaptiveSpark
Row(Array(0), Array(0)), Row(Array(1), Array(1)), Row(Array(2),
Array(2)))
checkAnswer(df, expectedAnswer)
}
+
+ test("SPARK-51614: Generator can't show up in HAVING") {
+ val query = """select
Review Comment:
style nit: let's follow the existing code style in this fle, such as
```
val df2 = sql(
s"""
|SELECT id
|FROM json.`${f.getCanonicalPath}`
|WITH (`key1` = 1, `key2` = 2)
""".stripMargin
)
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]