-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-18870] Disallowed Distinct Aggregations on Streaming Datasets #16289
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
Conversation
|
Test build #70170 has finished for PR 16289 at commit
|
| } | ||
| throwErrorIf( | ||
| child.isStreaming && distinctAggExprs.nonEmpty, | ||
| "Distinct aggregations are not supported on streaming DataFrames/Datasets, unless" + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need an extra space here. I'd also recommend users using approximate distinct.
|
Test build #70183 has started for PR 16289 at commit |
|
jenkins test this please |
|
Test build #70184 has finished for PR 16289 at commit
|
|
Test build #3498 has finished for PR 16289 at commit
|
|
LGTM |
|
Merging to 2.1 and master |
## What changes were proposed in this pull request? Check whether Aggregation operators on a streaming subplan have aggregate expressions with isDistinct = true. ## How was this patch tested? Added unit test Author: Tathagata Das <[email protected]> Closes #16289 from tdas/SPARK-18870. (cherry picked from commit 4f7292c) Signed-off-by: Tathagata Das <[email protected]>
## What changes were proposed in this pull request? Check whether Aggregation operators on a streaming subplan have aggregate expressions with isDistinct = true. ## How was this patch tested? Added unit test Author: Tathagata Das <[email protected]> Closes apache#16289 from tdas/SPARK-18870.
What changes were proposed in this pull request?
Check whether Aggregation operators on a streaming subplan have aggregate expressions with isDistinct = true.
How was this patch tested?
Added unit test