diff options
author | zero323 <zero323@users.noreply.github.com> | 2017-03-14 07:34:44 -0700 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2017-03-14 07:34:44 -0700 |
commit | d4a637cd46b6dd5cc71ea17a55c4a26186e592c7 (patch) | |
tree | 376c8eddf64281e0bb049ea4bc1a462a78a161bd /sql/core/src/test | |
parent | 5e96a57b2f383d4b33735681b41cd3ec06570671 (diff) | |
download | spark-d4a637cd46b6dd5cc71ea17a55c4a26186e592c7.tar.gz spark-d4a637cd46b6dd5cc71ea17a55c4a26186e592c7.tar.bz2 spark-d4a637cd46b6dd5cc71ea17a55c4a26186e592c7.zip |
[SPARK-19940][ML][MINOR] FPGrowthModel.transform should skip duplicated items
## What changes were proposed in this pull request?
This commit moved `distinct` in its intended place to avoid duplicated predictions and adds unit test covering the issue.
## How was this patch tested?
Unit tests.
Author: zero323 <zero323@users.noreply.github.com>
Closes #17283 from zero323/SPARK-19940.
Diffstat (limited to 'sql/core/src/test')
0 files changed, 0 insertions, 0 deletions