Skip to content

Tracing Query Execution HTTP APIs: make the argument service layer optional.#13382

Merged
wankai123 merged 1 commit intoapache:masterfrom
wankai123:debug-layer
Jul 24, 2025
Merged

Tracing Query Execution HTTP APIs: make the argument service layer optional.#13382
wankai123 merged 1 commit intoapache:masterfrom
wankai123:debug-layer

Conversation

@wankai123
Copy link
Copy Markdown
Member

No description provided.

@wankai123 wankai123 added this to the 10.3.0 milestone Jul 24, 2025
@wankai123 wankai123 requested review from Copilot and wu-sheng July 24, 2025 06:57
@wankai123 wankai123 added the enhancement Enhancement on performance or codes label Jul 24, 2025
Copy link
Copy Markdown

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

This PR makes the serviceLayer parameter optional in Tracing Query Execution HTTP APIs by updating method signatures to accept Optional<String> instead of String and providing a default value of true for the isNormal flag when the parameter is not provided.

  • Changed parameter type from String to Optional<String> for various debugging HTTP endpoints
  • Updated logic to default to isNormal=true when serviceLayer is not provided
  • Updated documentation to reflect the optional nature of the parameter and removed it from example URLs

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
DebuggingHTTPHandler.java Updated method signatures to make serviceLayer optional and added default handling logic
query-tracing.md Updated documentation to mark serviceLayer parameters as optional and removed from examples
changes.md Added changelog entry for the feature

@wankai123 wankai123 merged commit f930830 into apache:master Jul 24, 2025
343 of 345 checks passed
@wankai123 wankai123 deleted the debug-layer branch July 24, 2025 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancement on performance or codes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants