ueshin commented on code in PR #43946:
URL: https://github.com/apache/spark/pull/43946#discussion_r1412503785
##########
sql/core/src/test/scala/org/apache/spark/sql/IntegratedUDFTestUtils.scala:
##########
@@ -621,10 +623,30 @@ object IntegratedUDFTestUtils extends SQLHelper {
|""".stripMargin
}
+ object UDTFPartitionByOrderBy
+ extends TestPythonUDTFPartitionByOrderByBase(
+ partitionBy = "partition_col",
+ orderBy = "input")
+
+ object UDTFPartitionByOrderByComplexExpr
+ extends TestPythonUDTFPartitionByOrderByBase(
+ partitionBy = "partition_col + 1",
+ orderBy = "RANDOM(42)")
+
+ object UDTFInvalidPartitionByOrderByParseError
+ extends TestPythonUDTFPartitionByOrderByBase(
+ partitionBy = "unparsable",
+ orderBy = "input")
+
+ object UDTFInvalidOrderByAscKeyword
+ extends TestPythonUDTFPartitionByOrderByBase(
+ partitionBy = "partition_col",
+ orderBy = "partition_col ASC")
Review Comment:
Where are these new tests called?
--
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]