简体   繁体   English

如何使用 AWS CLI 或 boto3 倒回 AWS 粘合作业书签

[英]How can I rewind an AWS glue job bookmark using the AWS CLI or boto3

What I am looking for is way to programmatically or from the command line do the same thing as the Rewind job bookmark button in the AWS Glue Console does.我正在寻找的是以编程方式或从命令行执行与 AWS Glue 控制台中的Rewind job bookmark按钮相同的操作的方法。

There's no way to do it programmatically right now (it might be in the future)现在没有办法以编程方式进行(可能在将来)

A solution right now can be:现在的解决方案可以是:

If you are extracting AWS S3 files into your job and transforming them:如果您要将 AWS S3 文件提取到您的作业中并对其进行转换:

  • You can create a function that picks the files you want to reprocess so it moves them to the same folder.您可以创建一个 function 来选择您要重新处理的文件,以便将它们移动到同一文件夹中。

If you are using --from-date and --to-date you can set them to the value you want.如果您使用 --from- --from-date--to-date ,您可以将它们设置为您想要的值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM