Skip to content

Add Deferrable Mode to DataplexGetDataQualityScanResultOperator and DataplexRunDataQualityScanOperator #45877

@mahesh989

Description

@mahesh989

Description

The DataplexRunDataQualityScanOperator and DataplexGetDataQualityScanResultOperator are now in non-deferrable mode during operation. This results in the operators using resources excessively when doing lengthy Dataplex API operations. Waiting for API answers causes inefficient use of resources and slows down the completion of other actions in workflows.

Adding a deferrable mode to these operators will allow them to pause execution during wait periods, freeing up resources for other tasks. This change will optimize resource utilization and improve overall workflow performance.

Use case/motivation

Use Case

  1. ** Efficient Long-Running Workflows**: In workflows where tasks interact with the Dataplex API for extended durations, deferrable mode will significantly reduce resource usage, enabling better performance.
  2. Scalable Workflows: Deferrable mode will help users scale their workflows by making better use of available infrastructure.

Motivation

  • Pause and Free Resources while waiting for the Dataplex API to complete its operations.
  • Seamlessly Resume Execution once the API task is complete, without any manual intervention.

Related issues

There doesn't appear to be another linked issue regarding functionality addressed by this PR.

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

AI Spamarea:async-operatorsAIP-40: Deferrable ("Async") Operatorskind:featureFeature Requestsneeds-triagelabel for new issues that we didn't triage yetprovider:googleGoogle (including GCP) related issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions