Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-21546][SS] dropDuplicates should ignore watermark when it's not a key #18822

Closed
wants to merge 2 commits into from

Conversation

zsxwing
Copy link
Member

@zsxwing zsxwing commented Aug 2, 2017

What changes were proposed in this pull request?

When the watermark is not a column of dropDuplicates, right now it will crash. This PR fixed this issue.

How was this patch tested?

The new unit test.

@zsxwing zsxwing changed the title [SPARK-21546] dropDuplicates should ignore watermark when it's not a key [SPARK-21546][SS] dropDuplicates should ignore watermark when it's not a key Aug 2, 2017
@marmbrus
Copy link
Contributor

marmbrus commented Aug 2, 2017

LGTM

@SparkQA
Copy link

SparkQA commented Aug 2, 2017

Test build #80172 has finished for PR 18822 at commit 2b34308.

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

@zsxwing
Copy link
Member Author

zsxwing commented Aug 2, 2017

Thanks! Merging to master and 2.2.

asfgit pushed a commit that referenced this pull request Aug 2, 2017
…t a key

## What changes were proposed in this pull request?

When the watermark is not a column of `dropDuplicates`, right now it will crash. This PR fixed this issue.

## How was this patch tested?

The new unit test.

Author: Shixiong Zhu <shixiong@databricks.com>

Closes #18822 from zsxwing/SPARK-21546.

(cherry picked from commit 0d26b3a)
Signed-off-by: Shixiong Zhu <shixiong@databricks.com>
@asfgit asfgit closed this in 0d26b3a Aug 2, 2017
@zsxwing zsxwing deleted the SPARK-21546 branch August 2, 2017 21:18
MatthewRBruce pushed a commit to Shopify/spark that referenced this pull request Jul 31, 2018
…t a key

## What changes were proposed in this pull request?

When the watermark is not a column of `dropDuplicates`, right now it will crash. This PR fixed this issue.

## How was this patch tested?

The new unit test.

Author: Shixiong Zhu <shixiong@databricks.com>

Closes apache#18822 from zsxwing/SPARK-21546.

(cherry picked from commit 0d26b3a)
Signed-off-by: Shixiong Zhu <shixiong@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants