Skip to content

[native] Enable getTaskInfo and deleteTask#25535

Merged
shangm2 merged 1 commit into
prestodb:masterfrom
vhsu14:export-D77463142
Jul 15, 2025
Merged

[native] Enable getTaskInfo and deleteTask#25535
shangm2 merged 1 commit into
prestodb:masterfrom
vhsu14:export-D77463142

Conversation

@vhsu14

@vhsu14 vhsu14 commented Jul 14, 2025

Copy link
Copy Markdown
Contributor

Description

Motivation and Context

prestodb/rfcs#38

Test Plan

Build package and test in verifier: 230498

Release Notes

Please follow release notes guidelines and fill in the release notes below.

== NO RELEASE NOTE ==

@vhsu14 vhsu14 requested a review from a team as a code owner July 14, 2025 20:47
@facebook-github-bot

Copy link
Copy Markdown
Collaborator

This pull request was exported from Phabricator. Differential Revision: D77463142

vhsu14 added a commit to vhsu14/presto that referenced this pull request Jul 14, 2025
)

Summary:



Rollback Plan:

Differential Revision: D77463142
@vhsu14 vhsu14 force-pushed the export-D77463142 branch from 1001b6d to f08cbeb Compare July 14, 2025 20:51
@facebook-github-bot

Copy link
Copy Markdown
Collaborator

This pull request was exported from Phabricator. Differential Revision: D77463142

vhsu14 added a commit to vhsu14/presto that referenced this pull request Jul 14, 2025
)

Summary:



Rollback Plan:

Differential Revision: D77463142
@vhsu14 vhsu14 force-pushed the export-D77463142 branch from f08cbeb to 707e0f1 Compare July 14, 2025 21:18
@vhsu14 vhsu14 changed the title [native] Enable getTaskInfo and deleteTask on cpp worker [native] Enable getTaskInfo and deleteTask Jul 14, 2025
vhsu14 added a commit to vhsu14/presto that referenced this pull request Jul 14, 2025
)

Summary:



Rollback Plan:

Differential Revision: D77463142
@vhsu14 vhsu14 force-pushed the export-D77463142 branch from 707e0f1 to 937abea Compare July 14, 2025 22:11
@vhsu14 vhsu14 requested a review from a team as a code owner July 14, 2025 22:11
)

Summary:



Rollback Plan:

Differential Revision: D77463142
@vhsu14 vhsu14 force-pushed the export-D77463142 branch from 937abea to 42db77d Compare July 15, 2025 00:20

@shangm2 shangm2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

message->getQueryParam(protocol::PRESTO_ABORT_TASK_URL_PARAM) == "true";
}
bool summarize = message->hasQueryParam("summarize");
auto& headers = message->getHeaders();

@gggrace14 gggrace14 Jul 15, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

(nit)const auto& ?

auto maxWait = getMaxWait(message);
bool summarize = message->hasQueryParam("summarize");

auto& headers = message->getHeaders();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

(nit) const auto& ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

thanks for the review! I will make this change in a followup PR.

@shangm2 shangm2 merged commit b751ad1 into prestodb:master Jul 15, 2025
114 of 115 checks passed
@prestodb-ci prestodb-ci mentioned this pull request Jul 28, 2025
6 tasks
lga-zurich pushed a commit to lga-zurich/presto-exchange that referenced this pull request Sep 2, 2025
## Description
- Native changes to enable thrift for getTaskInfo and deleteTask
endpoints
- Depends on prestodb#25464

## Motivation and Context
prestodb/rfcs#38

## Test Plan
Build package and test in verifier: 230498

## Release Notes
Please follow [release notes
guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines)
and fill in the release notes below.

```
== NO RELEASE NOTE ==
```
lga-zurich pushed a commit to lga-zurich/presto-exchange that referenced this pull request Sep 8, 2025
## Description
- Native changes to enable thrift for getTaskInfo and deleteTask
endpoints
- Depends on prestodb#25464

## Motivation and Context
prestodb/rfcs#38

## Test Plan
Build package and test in verifier: 230498

## Release Notes
Please follow [release notes
guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines)
and fill in the release notes below.

```
== NO RELEASE NOTE ==
```
lga-zurich pushed a commit to lga-zurich/presto-exchange that referenced this pull request Sep 8, 2025
## Description
- Native changes to enable thrift for getTaskInfo and deleteTask
endpoints
- Depends on prestodb#25464

## Motivation and Context
prestodb/rfcs#38

## Test Plan
Build package and test in verifier: 230498

## Release Notes
Please follow [release notes
guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines)
and fill in the release notes below.

```
== NO RELEASE NOTE ==
```
lga-zurich pushed a commit to lga-zurich/presto-exchange that referenced this pull request Sep 8, 2025
## Description
- Native changes to enable thrift for getTaskInfo and deleteTask
endpoints
- Depends on prestodb#25464

## Motivation and Context
prestodb/rfcs#38

## Test Plan
Build package and test in verifier: 230498

## Release Notes
Please follow [release notes
guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines)
and fill in the release notes below.

```
== NO RELEASE NOTE ==
```
lga-zurich pushed a commit to lga-zurich/presto-exchange that referenced this pull request Sep 8, 2025
## Description
- Native changes to enable thrift for getTaskInfo and deleteTask
endpoints
- Depends on prestodb#25464

## Motivation and Context
prestodb/rfcs#38

## Test Plan
Build package and test in verifier: 230498

## Release Notes
Please follow [release notes
guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines)
and fill in the release notes below.

```
== NO RELEASE NOTE ==
```
lga-zurich pushed a commit to lga-zurich/presto-exchange that referenced this pull request Sep 8, 2025
## Description
- Native changes to enable thrift for getTaskInfo and deleteTask
endpoints
- Depends on prestodb#25464

## Motivation and Context
prestodb/rfcs#38

## Test Plan
Build package and test in verifier: 230498

## Release Notes
Please follow [release notes
guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines)
and fill in the release notes below.

```
== NO RELEASE NOTE ==
```
lga-zurich pushed a commit to lga-zurich/presto-exchange that referenced this pull request Sep 8, 2025
## Description
- Native changes to enable thrift for getTaskInfo and deleteTask
endpoints
- Depends on prestodb#25464

## Motivation and Context
prestodb/rfcs#38

## Test Plan
Build package and test in verifier: 230498

## Release Notes
Please follow [release notes
guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines)
and fill in the release notes below.

```
== NO RELEASE NOTE ==
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants