minyyy commented on a change in pull request #35866:
URL: https://github.com/apache/spark/pull/35866#discussion_r828276179
##########
File path:
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/NestedColumnAliasingSuite.scala
##########
@@ -812,6 +812,33 @@ class NestedColumnAliasingSuite extends SchemaPruningTest {
val expected3 =
contact.select($"name").rebalance($"name").select($"name.first").analyze
comparePlans(optimized3, expected3)
}
+
+ test("SPARK-38530: Do not push down nested ExtractValues with other
expressions") {
Review comment:
Sorry, when I looked at the code, it does not have the
GetArrayStructFields(GetArrayStructFields()) check. I tweaked the test a bit so
now it fails in the master.
--
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]