attilapiros commented on a change in pull request #20793: [WIP][SPARK-23643]
Shrinking the buffer in hashSeed up to size of the seed parameter
URL: https://github.com/apache/spark/pull/20793#discussion_r264801837
##########
File path: core/src/test/java/test/org/apache/spark/JavaAPISuite.java
##########
@@ -156,13 +156,15 @@ public void intersection() {
@Test
public void sample() {
- List<Integer> ints = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
+ List<Integer> ints = Arrays.asList(
Review comment:
Nit:
```
IntStream.iterate(1, x -> x +
1).limit(20).boxed().collect(Collectors.toList());
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]