I have a copy pipeline that reads data from a Netezza table. I use a query to load the rows based on a timestamp, something like
select * from myTable where creationTs > '2019-10-10T00:00:00'
Right now the query contains a hardcoded value for the timestamp, I would like to be able to read that value from the pipeline parameters, so I can re-run for different dates without changing the query. Is it even possible? I tried all sorts of syntaxes, to no avail.
Thank you in advance
Yes, It is possible with pipeline parameters.
pipeline parameter
@{pipeline().parameters.arg1}
Every time you hit run/debug, you will be prompted to enter the value for parameters.
When automating it with triggers, you may pass the parameter value as part of the triggers.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.