Skip to content

Conversation

@MaxGekk
Copy link
Member

@MaxGekk MaxGekk commented Apr 29, 2020

What changes were proposed in this pull request?

  • Add tests for different element types of collections that could be passed to isInCollection. Added tests for types that can pass the check In.checkInputDataTypes().
  • Test different switch thresholds in the isInCollection: Scala Collection test.

Why are the changes needed?

To prevent regressions like introduced by #25754 and reverted by #28388

Does this PR introduce any user-facing change?

No

How was this patch tested?

By existing and new tests in ColumnExpressionSuite

@SparkQA
Copy link

SparkQA commented Apr 29, 2020

Test build #122061 has finished for PR 28405 at commit 5bed4ed.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@MaxGekk
Copy link
Member Author

MaxGekk commented Apr 29, 2020

@cloud-fan @HyukjinKwon @dongjoon-hyun Please, review this PR.

@cloud-fan
Copy link
Contributor

thanks, merging to master/3.0!

@cloud-fan cloud-fan closed this in 9164865 Apr 30, 2020
cloud-fan pushed a commit that referenced this pull request Apr 30, 2020
…f `isInCollection`

### What changes were proposed in this pull request?
- Add tests for different element types of collections that could be passed to `isInCollection`. Added tests for types that can pass the check `In`.`checkInputDataTypes()`.
- Test different switch thresholds in the `isInCollection: Scala Collection` test.

### Why are the changes needed?
To prevent regressions like introduced by #25754 and reverted by #28388

### Does this PR introduce any user-facing change?
No

### How was this patch tested?
By existing and new tests in `ColumnExpressionSuite`

Closes #28405 from MaxGekk/test-isInCollection.

Authored-by: Max Gekk <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
(cherry picked from commit 9164865)
Signed-off-by: Wenchen Fan <[email protected]>
@MaxGekk MaxGekk deleted the test-isInCollection branch June 5, 2020 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants