Skip to content

Conversation

@yenkins-admin
Copy link
Contributor

🚀 Automated PR to perform merge from master into rel/dev with changes up to de04b17 (created by https://github.com/gooddata/gooddata-python-sdk/actions/runs/15392812800).

Add a polling mechanism to the FlexConnect functions so that
long-running tasks can be polled for and canceled.

The TaskExecutor now supports returning a timestamp of when
a particular task was submitted. This is to keep track of the
call deadline breaches.

JIRA: CQ-1124
risk: low
Encapsulate the different invocation types so that we can change
the actual representation later if needed.

JIRA: CQ-1124
risk: low
When cancelling, be more transparent about whether the cancellation
actually happened.
Also handle missing tasks: that now yields BAD_ARGUMENT exceptions.

JIRA: CQ-1124
risk: low
By default, the FlexConnect will conform to the Arrow Flight RPC spec.
However, if an opt-in header is present, it will use the polling
extension used by GoodData.
This allows for things like query cancellation.
Ideally, we would use the PollFlightInfo from the Arrow Flight RPC
but unfortunately it is not yet available in PyArrow.

JIRA: CQ-1124
risk: low
feat: add support for polling in FlexConnect server
@yenkins-admin yenkins-admin merged commit 6308f32 into rel/dev Jun 2, 2025
1 check passed
@yenkins-admin yenkins-admin deleted the snapshot-master-de04b17a-to-rel/dev branch June 2, 2025 12:55
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