Skip to main content

Concurrent

Run multiple wrangles concurrently rather than sequentially. Wrangles must specify output columns to be used concurrently. When using concurrent, Wrangles may not complete in a predictable order and it is not recommended to update overlapping columns with different wrangles.

Run multiple wrangles concurrently instead of sequentially. Concurrent wrangles must declare output columns, may finish in any order, and should not update overlapping columns.

See the Concurrent connector for the connector equivalent.

Parameters​

NameDescriptionAccepted ValuesDefaultRequired
Conditions
ifCondition that determines whether the wrangle runs as a whole. Recipe variables may be referenced with ${variable}.string—No
whereFilter rows before applying the wrangle using SQL-like criteria, such as column1 = 123 OR column2 = 'abc'.string—No
where_paramsValues used with where for parameterized criteria. Uses SQLite placeholder syntax such as ? or :name.array, object—No
Execution
wranglesThe wrangles section of a recipe to execute for each combination of variables.array—Yes
max_concurrencyThe maximum number of wrangles to execute in parallel.integer10No
use_multiprocessingUse process-based workers instead of threads. This is an advanced runtime option.booleanfalseNo

Examples​

wrangles:
- concurrent:
wrangles:
- extract.codes:
input: Products
output: Part Codes
- extract.attributes:
input: Products
output: Attributes
Products
SKF ball brg 2" od 6202
brg seal 1" id 5493
3lb hammer 87102
Part CodesAttributes
6202{"length":["2in"]}
5493{"length":["1in"]}
87102{"weight":["3lb"]}
Access
RequirementValue
AI-poweredNo
Requires WrangleWorks accountNo
Requires subscriptionNo
Requires external API keyNo
Technical details
FieldValue
Catalog ID73
Catalog keyconcurrent
Recipe keyconcurrent
Catalog statusactive
Lifecycle statusactive
Recipe Writer eligibleNo
Recipe Writer exclusionConcurrent orchestration is not supported in the baseline.
NamespaceRoot-level
Documentation grouputility
AliasesNone
Runtime symbolwrangles.recipe_wrangles.main.concurrent
Legacy UUIDNone

Sources