Skip to content

Conversation

@ganmacs
Copy link
Member

@ganmacs ganmacs commented Jun 4, 2025

@ganmacs ganmacs force-pushed the add-header-pramas-to-jobResult branch from 5a255bb to 33a3c96 Compare June 4, 2025 02:36
@ganmacs ganmacs requested review from a team and Copilot June 4, 2025 02:37
Copy link

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 extends the job result retrieval capabilities by adding a new header parameter to the getResult API call.

  • Adds an overloaded jobResult method in TDClientApi to accept a boolean includeHeader.
  • Implements the new method in TDClient, passing header information as a query parameter.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/main/java/com/treasuredata/client/TDClientApi.java Adds an overloaded API method with a new includeHeader parameter and updated Javadoc comments.
src/main/java/com/treasuredata/client/TDClient.java Implements the new method by forwarding to the underlying engine with the header parameter.
Comments suppressed due to low confidence (2)

src/main/java/com/treasuredata/client/TDClientApi.java:293

  • Please provide a description for the includeHeader parameter to clarify its effect on the API call.
 * @param includeHeader

src/main/java/com/treasuredata/client/TDClientApi.java:294

  • Please elaborate the @return documentation to indicate what the caller should expect from the method, particularly when an empty stream is received.
 * @return

Copy link

@yajirobee yajirobee left a comment

Choose a reason for hiding this comment

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

👍

@ganmacs ganmacs merged commit 96a8603 into master Jun 4, 2025
7 checks passed
@ganmacs ganmacs deleted the add-header-pramas-to-jobResult branch June 4, 2025 03:50
@ganmacs ganmacs mentioned this pull request Jun 4, 2025
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.

3 participants