doris icon indicating copy to clipboard operation
doris copied to clipboard

[feature](nereids) Add SHOW FRONTEND MASTER command and API

Open heguanhui opened this issue 2 weeks ago • 1 comments

Implement dual access methods for master frontend node information:

  • SHOW FRONTEND MASTER SQL command for query interface
  • GET /api/frontend/master HTTP API for programmatic access
  • Shared utility method for consistent data formatting
  • Complete test coverage for both interfaces

What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

Release note

None

Check List (For Author)

  • Test

    • [ ] Regression test
    • [ ] Unit Test
    • [ ] Manual test (add detailed scripts or steps below)
  • Behavior changed:

    • [ ] No.
  • Does this need documentation?

    • [ ] No.

Check List (For Reviewer who merge this PR)

  • [ ] Confirm the release note
  • [ ] Confirm test cases
  • [ ] Confirm document
  • [ ] Add branch pick label

heguanhui avatar Dec 11 '25 06:12 heguanhui

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?

Thearas avatar Dec 11 '25 06:12 Thearas