allisonwang-db commented on a change in pull request #32787:
URL: https://github.com/apache/spark/pull/32787#discussion_r652363922



##########
File path: 
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/ResolveSubquerySuite.scala
##########
@@ -177,4 +178,61 @@ class ResolveSubquerySuite extends AnalysisTest {
       condition = Some(sum('a) === sum('c)))
     assertAnalysisError(plan, Seq("Invalid expressions: [sum(a), sum(c)]"))
   }
+
+  test("SPARK-35618: lateral join with star expansion") {

Review comment:
       @maropu I looked into how regex expressions are resolved and the logic 
is actually different from star expressions. It won't throw exceptions when 
there is no match. Instead, it returns an empty sequence. So we can't tell if 
the regex expression is resolved by the current plan with an empty output, or 
it can't be resolved.




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to