ferruzzi commented on PR #31139:
URL: https://github.com/apache/airflow/pull/31139#issuecomment-1540196070

   If you already have the name you could look up the ARN using 
`describe_table` on the client or `Table.table_arn` on the resource, no need to 
pass both IMHO.
   
   Mayyybe (let's see how others feel about this) add a cached property (like 
`hook` on L 136) to DynamoDBToS3Operator for table_arn that just returns 
`client.describe_table(self.table_name)['Table']['TableArn']`.  That way it's 
only one extra API call and gets stored?


-- 
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]

Reply via email to