Skip to content

Print Variables

This component prints the value that a job or environment variable has at that specific point in the job execution. You can add multiple copies of the component at different points, to track how variables change during execution, which may be helpful during job debugging.

The value is printed to the Task history. If you print multiple variables, they are printed to the same message, separated by spaces. If a variable has no assigned value, it will show as an empty string, "".

You can configure the component to also print the variable name and an optional text prefix to the name. In this case, the message would look as follows:

<PREFIX> <NAME 1> = "<VALUE 1>" <PREFIX> <NAME 2> = "<VALUE 2>"

For a full explanation of variables, read Variables.


Properties

Name = string

A human-readable name for the component.


Variables = column editor

Opens the Variables dialog, where you can use the drop-down to select the variable whose value will be printed. Click + to select additional variables.


Prefix text = string

Optionally, enter a prefix string to be applied to each variable name when it's printed. If you're printing multiple variables, the same prefix will be added to all. Include Variables must be set to Yes.


Include Variables = boolean

If Yes, the name of each variable will be printed along with the value.


Snowflake Delta Lake on Databricks Amazon Redshift Google BigQuery Azure Synapse Analytics