Skip to content

Commit

Permalink
Added BQ Retry
Browse files Browse the repository at this point in the history
  • Loading branch information
psainics committed Dec 7, 2023
1 parent 6cca7b6 commit 74ccd48
Show file tree
Hide file tree
Showing 6 changed files with 563 additions and 16 deletions.
12 changes: 12 additions & 0 deletions docs/BigQueryExecute-action.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,15 @@ authorization. Can be set to 'auto-detect' when running on a Dataproc cluster.
When running on other clusters, the file must be present on every node in the cluster.

* **JSON**: Contents of the service account JSON file.

Retry Configuration
----------
**Retry On Backend Error**: Whether to retry when a backend error occurs. Default is false. (Macro-enabled)

**Initial Retry Duration (Seconds)**: Time taken for the first retry. Default is 5 seconds. (Macro-enabled)

**Max Retry Duration (Seconds)**: Maximum time in seconds retries can take. Default is 32 seconds. (Macro-enabled)

**Max Retry Count**: Maximum number of retries allowed. Default is 5. (Macro-enabled)

**Retry Multiplier**: Multiplier used to calculate the next retry duration. Default is 2. (Macro-enabled)
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
<slf4j.version>1.7.5</slf4j.version>
<spark3.version>3.3.2</spark3.version>
<spark-bq-connector.version>0.23.1</spark-bq-connector.version>
<failsafe.version>3.3.2</failsafe.version>
<testSourceLocation>${project.basedir}/src/test/java/</testSourceLocation>
</properties>

Expand Down Expand Up @@ -840,6 +841,11 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>dev.failsafe</groupId>
<artifactId>failsafe</artifactId>
<version>${failsafe.version}</version>
</dependency>
<!-- End: dependencies used by the Spark-BigQuery connector -->
<!-- Start: dependency used by the Dataplex connector -->
<dependency>
Expand Down
Loading

0 comments on commit 74ccd48

Please sign in to comment.