-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-24763][SS] Remove redundant key data from value in streaming aggregation #21733
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
4252f41
[SPARK-24763][SS] Remove redundant key data from value in streaming a…
HeartSaVioR 941b88d
Fix scala checkstyle issue
HeartSaVioR abec57f
Remove duplicating code, use configuration key instead of string literal
HeartSaVioR 977428c
Refine code change: introduce trait and classes to group duplicate me…
HeartSaVioR 63dfb5d
Change the strategy: "add new option" -> "apply by default, but keep …
HeartSaVioR e844636
Add tests for StatefulOperatorsHelper as well
HeartSaVioR 26701a3
WIP Address a part of review comments from @tdas
HeartSaVioR 60c231e
WIP Address a part of review comments from @tdas
HeartSaVioR b4a3807
WIP Address a part of review comments from @tdas
HeartSaVioR e0ee04a
Address a part of review comments from @tdas
HeartSaVioR 8629f59
WIP address review comments from @tdas
HeartSaVioR 65801a6
Address review comments from @tdas
HeartSaVioR 19888ab
Remove .crc files as following up @tdas guide
HeartSaVioR File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove duplicating code, use configuration key instead of string literal
- Loading branch information
commit abec57f331bbdad6ef4689e2790d4a9fbb989715
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Can we do this within beforeAll and afterAll with spark.conf.set / spark.conf.unset?
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.
withSQLConflooks like used widely between SQL unit tests, and does additional work (SparkSession.setActiveSession), so I'm not sure it will work technically same. Moreover, we need to run same test "multiple times", with changing configuration.Could you propose your code if you don't really mind? Thanks in advance!
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.
Oops. "we need to run same test "multiple times", with changing configuration." I missed this.
We could consider like:
spark/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFilterSuite.scala
Lines 61 to 72 in 489a529
e.g.,
but I believe the current implementation works too in this case.
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.
OK. I'd like to wait for other reviewers regarding opinions/suggestions on this. Let me keep this as it is until then.