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

[#27] feat(core): add config system #29

Merged
merged 6 commits into from
May 29, 2023
Merged

Conversation

jerryshao
Copy link
Contributor

What changes were proposed in this pull request?

This PR introduces a Spark-style like strong typed config system for the project.

Why are the changes needed?

The config system is a cornerstone of the project. By comparing different config system implementations, Spark's one is strong type verified, and also can extend to other functions, so introducing a Spark-style like config system for the project.

Fix: #27

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

Add new UTs to cover the test

@jerryshao jerryshao marked this pull request as ready for review May 25, 2023 10:00
@jerryshao jerryshao self-assigned this May 25, 2023
@jerryshao jerryshao requested a review from xunliu May 25, 2023 10:00
@jerryshao jerryshao changed the title feat(conf): add config system for Unified Catalog [#27] feat(conf): add config system for Unified Catalog May 26, 2023
@jerryshao jerryshao changed the title [#27] feat(conf): add config system for Unified Catalog [#27] feat(conf): add config system May 26, 2023
@jerryshao jerryshao changed the title [#27] feat(conf): add config system [#27] feat(core): add config system May 26, 2023
@jerryshao
Copy link
Contributor Author

@xunliu please help to review when you have time, thanks a lot.

xunliu
xunliu previously approved these changes May 29, 2023
Copy link
Member

@xunliu xunliu left a comment

Choose a reason for hiding this comment

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

Do we need to add a unit test case that passes the config file?
Maybe in the next PR?

@jerryshao
Copy link
Contributor Author

Do we need to add a unit test case that passes the config file?

Let me think about how to add a such unit test.

@jerryshao
Copy link
Contributor Author

@xunliu I added a new test to cover loading from file, please review again, thanks.

Copy link
Member

@xunliu xunliu left a comment

Choose a reason for hiding this comment

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

LGTM.

@jerryshao jerryshao merged commit 8f3d1d6 into apache:main May 29, 2023
1 check passed
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.

[FEATURE] Add Config System for Unified Catalog
2 participants