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

[Improvement](schema scan) Use async scanner for schema scanners (#38… #38666

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

Gabriel39
Copy link
Contributor

…403)

Proposed changes

Issue Number: close #xxx

@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

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@Gabriel39
Copy link
Contributor Author

run buildall

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

@@ -84,7 +88,60 @@ Status SchemaScanner::start(RuntimeState* state) {
return Status::OK();
}

Status SchemaScanner::get_next_block(vectorized::Block* block, bool* eos) {
Status SchemaScanner::get_next_block(RuntimeState* state, vectorized::Block* block, bool* eos) {
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: pointer parameter 'eos' can be pointer to const [readability-non-const-parameter]

be/src/exec/schema_scanner.h:101:

-     Status get_next_block(RuntimeState* state, vectorized::Block* block, bool* eos);
+     Status get_next_block(RuntimeState* state, vectorized::Block* block, const bool* eos);
Suggested change
Status SchemaScanner::get_next_block(RuntimeState* state, vectorized::Block* block, bool* eos) {
Status SchemaScanner::get_next_block(RuntimeState* state, vectorized::Block* block, const bool* eos) {

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 36.43% (9254/25405)
Line Coverage: 27.98% (75673/270440)
Region Coverage: 26.80% (38901/145177)
Branch Coverage: 23.52% (19735/83912)
Coverage Report: http://coverage.selectdb-in.cc/coverage/6e1f5dcd37fcc0f6ee47a1b0b03d63040be4fbc7_6e1f5dcd37fcc0f6ee47a1b0b03d63040be4fbc7/report/index.html

@Gabriel39 Gabriel39 merged commit 9d23ccf into apache:branch-2.1 Aug 1, 2024
20 of 22 checks 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.

2 participants