fix(file-service): avoid manually constructing the Dataset object through parameters#3820
Merged
bobbai00 merged 2 commits intoapache:mainfrom Oct 9, 2025
Merged
Conversation
Contributor
|
Our common practice is to create an issue and use a PR to fix the issue. So please create an issue. It's also a good chance to check the PR #3812 and follow the new bug-report template to create the issue. |
Contributor
Author
Added. Please check |
Contributor
|
Thanks. Do you think a test case can be added? |
Contributor
|
This is the correct approach. We should apply the same fix to all other instances, if any. |
Contributor
Author
Added. Please check |
28561ab to
fd311a3
Compare
Contributor
|
@aicam Please review it first. |
Use createdDataset.into(classOf[Dataset]) to convert DatasetRecord to Dataset POJO instead of manually constructing with parameters to avoid non-deterministic parameter ordering issues. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
738d8eb to
d494008
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
createdDataset.into(classOf[Dataset])to convert DatasetRecord to Dataset POJO instead of manual constructorFixes #3821