Skip to content

Conversation

@freemandealer
Copy link
Contributor

Proposed changes

Issue Number: close #xxx

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

Signed-off-by: freemandealer <freeman.zhang1992@gmail.com>
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

@freemandealer freemandealer changed the title sort partition when do sample analyze [fix](analysis) sorted partition when do sample analyze Mar 18, 2024
@freemandealer freemandealer marked this pull request as ready for review March 18, 2024 02:53
@freemandealer
Copy link
Contributor Author

run buildall

Comment on lines +259 to +261
List<Partition> sortedPartitions = olapTable.getPartitions().stream().sorted(
Comparator.comparing(Partition::getName)).collect(Collectors.toList());
for (Partition p : sortedPartitions) {
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need update inject stats of nereids tpcds shape test? @Jibing-Li

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, we need to regenerate tpcds stats.

Copy link
Contributor

Choose a reason for hiding this comment

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

Nereids tpcds shape test stats was collected using full analyze, so we don't need to update it.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@freemandealer
Copy link
Contributor Author

run performance

@freemandealer
Copy link
Contributor Author

run buildall

@freemandealer
Copy link
Contributor Author

run p0

@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Mar 20, 2024
@morrySnow morrySnow merged commit a0d255d into apache:master Mar 20, 2024
seawinde pushed a commit to seawinde/doris that referenced this pull request Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/2.0.7-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants