I wanted to know how to get list of in-built pipeline arguments in Data Fusion Pipeline ?
I am not able to find them anywhere on the documentation as well as on the internet.
I wanted to know how to get list of in-built pipeline arguments in Data Fusion Pipeline ?
I am not able to find them anywhere on the documentation as well as on the internet.
As discussed, logicalStartTime
is the only argument added by the system.
To get some parameter even those added by the system its recommended using macros that allow placeholders for properties that are unknown at configure time but are known and provided at runtime. For logicalStartTime we have the pre-defined macro named Logical Start Time Function that can be used like below:
${logicalStartTime([timeFormat[,offset [,timezone])}
Where:
The documentations shows us an example:
For example, suppose the logical start time of a pipeline run is 2016-01-01T00:00:00 and this macro is provided:
${logicalStartTime(yyyy-MM-dd'T'HH-mm-ss,1d-4h+30m)}
The format is yyyy-MM-dd'T'HH-mm-ss and the offset is 1d-4h+30m before the logical start time. This means the macro will be replaced with 2015-12-31T03:30:00, since the offset translates to 20.5 hours. The entire macro evaluates to 20.5 hours before midnight of January 1, 2016.