-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Refactor] Refactor BaseTableInfo to be more clear #39546
[Refactor] Refactor BaseTableInfo to be more clear #39546
Conversation
fe/fe-core/src/main/java/com/starrocks/catalog/BTInfoHelper.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/com/starrocks/persist/BaseTableInfo.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/com/starrocks/catalog/MaterializedView.java
Outdated
Show resolved
Hide resolved
83a0e71
to
88fa5df
Compare
d32ddd8
to
ba4be98
Compare
* because this method may return null if base table has already dropped or schema changed. | ||
* </p> | ||
* @return {@link Table} if BaseTableInfo is health otherwise null will be returned. | ||
*/ | ||
@Deprecated |
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.
when to make this api private?
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.
later... because this will change too much codes.
Signed-off-by: shuming.li <ming.moriarty@gmail.com>
0ab9b9e
ba4be98
to
0ab9b9e
Compare
Quality Gate passedThe SonarCloud Quality Gate passed, but some issues were introduced. 6 New issues |
[FE Incremental Coverage Report]✅ pass : 60 / 63 (95.24%) file detail
|
[BE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
Why I'm doing:
BaseTableInfo
is meta data and should not contain much util functions.What I'm doing:
BaseTableInfo
and add more checks.Fixes #issue
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: