ganeshashree commented on code in PR #58450:
URL: https://github.com/apache/spark/pull/58450#discussion_r3934035872
##########
sql/core/src/test/scala/org/apache/spark/sql/JsonArraySuite.scala:
##########
@@ -218,6 +232,17 @@ class JsonArraySuite extends QueryTest with
SharedSparkSession {
Row("[[1,2],3]"))
}
+ test("a nested constructor wrapped in redundant parentheses is still spliced
raw") {
+ // Parentheses wrap the nested constructor in a value-preserving
ParenthesizedExpression. The
Review Comment:
Now describes the ANTLR `ParenthesizedExpressionContext` that `AstBuilder`
unwraps to the inner expression, rather than a nonexistent Catalyst wrapper
node.
--
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]