dongjoon-hyun commented on code in PR #47380:
URL: https://github.com/apache/spark/pull/47380#discussion_r1680352198
##########
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/ResolveSubquerySuite.scala:
##########
@@ -299,4 +300,58 @@ class ResolveSubquerySuite extends AnalysisTest {
"UNSUPPORTED_SUBQUERY_EXPRESSION_CATEGORY.HIGHER_ORDER_FUNCTION",
expectedMessageParameters = Map.empty[String, String])
}
+
+ val testRelation = LocalRelation($"a".int, $"b".double)
+ val testRelation2 = LocalRelation($"c".int, $"d".string)
+
+ test("SPARK-48921: ScalaUDF in subquery should run through analyzer") {
Review Comment:
Thank you for adding this.
--
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]