ramitg254 commented on code in PR #6703:
URL: https://github.com/apache/hive/pull/6703#discussion_r3851383122
##########
ql/src/test/queries/clientpositive/vector_ptf_cume_dist.q:
##########
@@ -0,0 +1,90 @@
+set hive.vectorized.testing.reducer.batch.size=2;
+
+DROP TABLE IF EXISTS vector_ptf_cume_dist_int;
+
+CREATE TABLE vector_ptf_cume_dist_int(name string, rowindex int, mynumber int)
stored as orc;
+
+INSERT INTO vector_ptf_cume_dist_int values
+-- a partition
+('first', 1, 1),
+('first', 2, 2),
+('first', 3, 2),
+('first', 4, NULL),
+('first', 5, 3),
+('first', 6, 3),
+('first', 7, 4),
+('first', 8, NULL),
+('first', 9, 4),
+('first', 10, 4),
+('first', 11, 5),
+('first', 12, 5),
+('first', 13, NULL),
+('first', 14, 5),
+('first', 15, 5),
+('first', 16, 6),
+('first', 17, 6),
+('first', 18, 6),
+('first', 19, NULL),
+('first', 20, 6),
+('first', 21, 6),
+-- another partition
+('second', 22, 1),
+('second', 23, 2),
+('second', 24, 2),
+('second', 25, NULL),
+('second', 26, 3),
+('second', 27, 3),
+('second', 28, 4),
+('second', 29, NULL),
+('second', 30, 4),
+('second', 31, 4),
+('second', 32, 5),
+('second', 33, 5),
+('second', 34, NULL),
+('second', 35, 5),
+('second', 36, 5),
+('second', 37, 6),
+('second', 38, 6),
+('second', 39, 6),
+('second', 40, NULL),
+('second', 41, 6),
+('second', 42, 6),
Review Comment:
done, added more readable values and coverage for this and other cases as
well like only partition by, only order by etc.
--
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]