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

MINOR: leverage preProcessParsedConfig within AbstractConfig #19259

Merged
merged 6 commits into from
Mar 23, 2025

Conversation

TaiJuWu
Copy link
Contributor

@TaiJuWu TaiJuWu commented Mar 21, 2025

In past, we have AbstractConfig#preProcessParsedConfig but did not use its return value

This PR fix such issue.

Reviewers: Ken Huang [email protected], Chia-Ping Tsai [email protected]

@github-actions github-actions bot added triage PRs from the community clients small Small PRs labels Mar 21, 2025
@chia7712
Copy link
Member

This is a kind of big fix, so please add a test

@TaiJuWu
Copy link
Contributor Author

TaiJuWu commented Mar 21, 2025

This is a kind of big fix, so please add a test

Done. Please take a look.

Copy link
Contributor

@m1a2st m1a2st left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR, left a comment

props.put("foo.bar", "abc");
props.put("setting", "def");
TestConfig config = new TestConfig(props);
assertEquals("success", config.get("preprocess"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also check foo.bar and setting are not in the map?

Copy link
Contributor Author

@TaiJuWu TaiJuWu Mar 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If foo.bar and setting is not defined in CONDEF, it will be removed so I deleted these entry.

Thanks for your review and suggestion !

@github-actions github-actions bot removed the triage PRs from the community label Mar 22, 2025
Copy link
Contributor

@m1a2st m1a2st left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chia7712 chia7712 merged commit a524fc6 into apache:trunk Mar 23, 2025
22 checks passed
@TaiJuWu TaiJuWu deleted the share_config branch March 24, 2025 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants