...
Excerpt | ||||
---|---|---|---|---|
In
|
Parameter types:
- Environment Parameters: A workspace administrator or project owner can specify parameters that are available across the environment, including default values for them.
- Dataset Parameters: You can parameterize the paths to inputs for your imported datasets, creating datasets with parameters. For file-based imported datasets, you can parameterize the bucket where the source is stored.
- Flow Parameters: You can create parameters at the flow level, which can be referenced in any recipe in the flow.
- Output Parameters: When you run a job, you can create parameters for the output paths for file- or table-based outputs.
These parameters can be defined by timestamp, patterns, wildcards, or variable values that you specify at runtime.
Environment Parameters
Project owners or workspace administrators can define parameters that apply across the project or workspace environment. These parameters can be referenced by any user in the environment, but only a user with admin access can define, modify, or delete these parameters.
...
In this example, you have three
D s item | ||
---|---|---|
|
Environment Name | S3 Bucket Name |
---|---|
Dev | myco-s3-dev |
Test | myco-s3-test |
Prod | myco-s3-prod |
In your Dev workspace, you can create an environment parameter called the following:
...
Info |
---|
NOTE: Matching file path patterns in a large directory can be slow. Where possible, avoid using multiple patterns to match a file pattern or scanning directories with a large number of files. To increase matching speed, avoid wildcards in top-level directories and be as specific as possible with your wildcards and patterns. |
Tip |
---|
Tip: For best results when parameterizing directories in your file path, include the trailing slash ( |
Tip |
Tip: If your imported dataset is stored in a bucket, you can parameterize the bucket name, which can be useful if you are migrating flows between environments or must change the bucket at some point in the future. |
...
Bucket names can be parameterized for the buckets in the following datastores:
- S3
ADLS Gen2
Tip Tip: You can parameterize the user info, host name, and path value fields as separate parameters.
...
For each of the following types of parameter, you can apply override values as needed.
Override Type | Description | ||
---|---|---|---|
dataset parameters | When you run a job, you can apply override values to variables for your imported datasets. See Run Job Page. | ||
flow parameters | At the flow level, you can apply override values to flow parameters. These values are passed into the recipe and the rest of the flow for evaluation during recipe development and job execution.
| ||
output parameters | When you define your output objects in Flow View, you can apply override values to the parameterized output paths on an as-needed basis when you specify your job settings. See Run Job Page. |
Order of Parameter Evaluation
...