utkarsharma2 commented on code in PR #30501:
URL: https://github.com/apache/airflow/pull/30501#discussion_r1176451896
##########
airflow/providers/amazon/aws/waiters/dynamodb.json:
##########
@@ -0,0 +1,30 @@
+{
+ "version": 2,
+ "waiters": {
+ "export_table": {
+ "operation": "DescribeExport",
+ "delay": 30,
+ "maxAttempts": 60,
+ "acceptors": [
+ {
+ "matcher": "path",
+ "expected": "COMPLETED",
+ "argument": "ExportDescription.ExportStatus",
Review Comment:
@ferruzzi I'm still facing the same issue post changes to Arguments. Updated
json config looks like:
```
{
"version": 2,
"waiters": {
"export_table": {
"operation": "DescribeExport",
"delay": 30,
"maxAttempts": 60,
"acceptors": [
{
"matcher": "path",
"expected": "COMPLETED",
"argument": "exportdescription.exportstatus",
"state": "success"
},
{
"matcher": "path",
"expected": "FAILED",
"argument": "exportdescription.exportstatus",
"state": "failure"
},
{
"matcher": "path",
"expected": "IN_PROGRESS",
"argument": "exportdescription.exportstatus",
"state": "retry"
}
]
}
}
}
```
Would it make sense to change the logic to polling on the `DescribeExport`
API, until there is a fix for the waiters in botocore?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]