AWS Data Pipeline

时间:2016-02-15 16:02:21

标签: amazon-web-services amazon-data-pipeline

我无法找到任何将脚本参数传递给管道中的sql活动的示例。尝试了一些选项,比如直接传递参数并通过$ 1使用它们,但似乎没有任何效果。如果任何人有它工作,那么很好看一个例子,应该是什么格式参数以及如何在sql中访问它们

1 个答案:

答案 0 :(得分:0)

您可以定义参数并在脚本参数中使用它们。

参考:http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-custom-templates.html

我们还在github中提供了各种样本,您可以查看:https://github.com/awslabs/data-pipeline-samples/tree/master/samples