dusantism-db commented on code in PR #48387:
URL: https://github.com/apache/spark/pull/48387#discussion_r1793606864


##########
sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionErrorsSuite.scala:
##########
@@ -1006,6 +1006,17 @@ class QueryExecutionErrorsSuite
       sqlState = "XX000")
   }
 
+  test("PartitionTransformExpression throws error on eval") {
+
+    val e = intercept[AnalysisException] {
+      Years(Literal("foo")).eval()

Review Comment:
   Added pySpark tests, as these are pySpark specific functions



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

Reply via email to