Github user dilipbiswal commented on a diff in the pull request: https://github.com/apache/spark/pull/21240#discussion_r186277065 --- Diff: sql/core/src/test/resources/sql-tests/inputs/udtf_replicate_rows.sql --- @@ -0,0 +1,38 @@ +CREATE TEMPORARY VIEW tab1 AS SELECT * FROM VALUES + (1, 'row1', 1.1), + (2, 'row2', 2.2), + (0, 'row3', 3.3), + (-1,'row4', 4.4), + (null,'row5', 5.5), + (3, 'row6', null) + AS tab1(c1, c2, c3); + +-- Requires 2 arguments at minimum. +SELECT replicate_rows(c1) FROM tab1; --- End diff -- Sure.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org