Skip to content

[fix](compile) Remove stale compile_check includes from schema_role_mappings_scanner#62343

Open
dataroaring wants to merge 1 commit intoapache:masterfrom
dataroaring:fix/remove-stale-compile-check-include
Open

[fix](compile) Remove stale compile_check includes from schema_role_mappings_scanner#62343
dataroaring wants to merge 1 commit intoapache:masterfrom
dataroaring:fix/remove-stale-compile-check-include

Conversation

@dataroaring
Copy link
Copy Markdown
Contributor

Summary

Root Cause

PR #62077 and PR #62300 were prepared independently. #62077 added a new file with the compile_check includes, while #62300 deleted those headers. After both merged, master fails to compile with:

fatal error: 'common/compile_check_begin.h' file not found

Test plan

  • Verify master compiles successfully after this change

🤖 Generated with Claude Code

…appings_scanner

PR apache#62077 added schema_role_mappings_scanner.cpp with compile_check_begin/end.h
includes, but PR apache#62300 subsequently deleted those headers globally. This causes
a compile failure on master: 'common/compile_check_begin.h' file not found.

Generated by Claude Code
Copilot AI review requested due to automatic review settings April 10, 2026 09:42
@hello-stephen
Copy link
Copy Markdown
Contributor

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

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@dataroaring
Copy link
Copy Markdown
Contributor Author

run buildall

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes a build break on master by removing references to deleted compile-check wrapper headers from the BE information_schema role mappings scanner.

Changes:

  • Removed stale common/compile_check_begin.h / common/compile_check_end.h includes from schema_role_mappings_scanner.cpp.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

@gavinchou gavinchou left a comment

Choose a reason for hiding this comment

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

LGTM. Simple and necessary fix for the compile break caused by the race condition between #62077 and #62300.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Apr 10, 2026
@github-actions
Copy link
Copy Markdown
Contributor

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

@github-actions
Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@hello-stephen
Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100% (0/0) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 73.65% (27398/37198)
Line Coverage 57.31% (295843/516243)
Region Coverage 54.53% (246453/451925)
Branch Coverage 56.19% (106823/190105)

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. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants