Github user maropu commented on a diff in the pull request:
https://github.com/apache/spark/pull/21240#discussion_r186258401
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/GeneratorFunctionSuite.scala ---
@@ -307,6 +307,37 @@ class GeneratorFunctionSuite extends QueryTest with
SharedSQLContext {
sql("select * from values 1, 2 lateral view outer empty_gen() a as
b"),
Row(1, null) :: Row(2, null) :: Nil)
}
+
+ test("ReplicateRows generator") {
--- End diff --
duplicate tests? I feel `udtf_replicate_rows.sql` is enough for tests.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]