Skip to content

Add session property for passing query client timeout value#25210

Merged
pgupta2 merged 1 commit into
prestodb:masterfrom
pgupta2:export-D75480566
May 28, 2025
Merged

Add session property for passing query client timeout value#25210
pgupta2 merged 1 commit into
prestodb:masterfrom
pgupta2:export-D75480566

Conversation

@pgupta2

@pgupta2 pgupta2 commented May 27, 2025

Copy link
Copy Markdown
Contributor

Summary:
Currently, client timeout value is passed via query.client.timeout
config property which applies to all queries. Adding corresponding
session property which can be used to specify timeout values at
query level, if needed.

Differential Revision: D75480566

@pgupta2 pgupta2 requested a review from ZacBlanco May 27, 2025 21:36
@prestodb-ci prestodb-ci added the from:Meta PR from Meta label May 27, 2025
@facebook-github-bot

Copy link
Copy Markdown
Collaborator

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

pgupta2 added a commit to pgupta2/presto that referenced this pull request May 27, 2025
…#25210)

Summary:

Currently, client timeout value is passed via query.client.timeout
config property which applies to all queries. Adding corresponding
session property which can be used to specify timeout values at
query level, if needed.

Differential Revision: D75480566
@pgupta2 pgupta2 force-pushed the export-D75480566 branch from 16d2e79 to b730927 Compare May 27, 2025 21:41
@facebook-github-bot

Copy link
Copy Markdown
Collaborator

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

@steveburnett

Copy link
Copy Markdown
Contributor

@pgupta2 pgupta2 requested a review from rschlussel May 27, 2025 22:45
pgupta2 added a commit to pgupta2/presto that referenced this pull request May 28, 2025
…#25210)

Summary:

Currently, client timeout value is passed via query.client.timeout
config property which applies to all queries. Adding corresponding
session property which can be used to specify timeout values at
query level, if needed.

Differential Revision: D75480566
@pgupta2 pgupta2 force-pushed the export-D75480566 branch from b730927 to 6ff6ad2 Compare May 28, 2025 00:19
@pgupta2 pgupta2 requested a review from steveburnett as a code owner May 28, 2025 00:19
@facebook-github-bot

Copy link
Copy Markdown
Collaborator

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

feilong-liu
feilong-liu previously approved these changes May 28, 2025

@steveburnett steveburnett 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.

Thanks for the doc! One nit, and one request.

Comment thread presto-docs/src/main/sphinx/admin/properties-session.rst Outdated
Comment thread presto-docs/src/main/sphinx/admin/properties-session.rst Outdated
…#25210)

Summary:

Currently, client timeout value is passed via query.client.timeout
config property which applies to all queries. Adding corresponding
session property which can be used to specify timeout values at
query level, if needed.

Differential Revision: D75480566
@facebook-github-bot

Copy link
Copy Markdown
Collaborator

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

@steveburnett steveburnett 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! (docs)

Pull updated branch, new local doc build, looks good.

Thanks for the doc update!

@pgupta2 pgupta2 merged commit f811f7e into prestodb:master May 28, 2025
99 of 100 checks passed
@ZacBlanco ZacBlanco mentioned this pull request May 29, 2025
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants