-
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
[Feature] support analyze predicate columns #53013
[Feature] support analyze predicate columns #53013
Conversation
2d2aacf
to
d89d6ba
Compare
d89d6ba
to
ef86122
Compare
ef86122
to
1b559fd
Compare
@@ -348,6 +351,17 @@ public OlapTable(long id, String tableName, List<Column> baseSchema, KeysType ke | |||
this.tableProperty = null; | |||
} | |||
|
|||
@Override | |||
public synchronized Optional<String> mayGetDatabaseName() { |
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.
why synchronized
? Can not think of a situation of data race.
Plus, may I ask why to use Optional<String>
? Wont it be staightforward to return null directly?
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.
@dirtysalt Optional is better than null, the former would force coder to check if the value is null, the latter would not.
e0e7061
to
51e9707
Compare
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
29fcc50
to
3f00624
Compare
|
[Java-Extensions Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[FE Incremental Coverage Report]✅ pass : 508 / 556 (91.37%) file detail
|
[BE Incremental Coverage Report]✅ pass : 109 / 112 (97.32%) file detail
|
Why I'm doing:
What I'm doing:
Covered:
information_schema.column_stats_usage
information_schema.analyze_status
analyze predicate columns
Not Covered:
Fixes #53204
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: