You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just recently, support was added for AWS Athena to Step Functions, and subsequently support was also added to AWS CDK for that. In Step Functions, StartQueryExecution (and only that) supports also executing the query as a job and not request/response. However, in CDK, this does not seem to be the case:
…ration patterns (#11188)
The changes made by #11045 seem to support `WAIT_FOR_TASK_TOKEN (.waitForTaskToken)` but according to the documentation, only `Request Response` and `Run a job (.sync)` are supported: https://docs.aws.amazon.com/step-functions/latest/dg/connect-athena.htmlcloses#11246
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Just recently, support was added for AWS Athena to Step Functions, and subsequently support was also added to AWS CDK for that. In Step Functions,
StartQueryExecution
(and only that) supports also executing the query as a job and not request/response. However, in CDK, this does not seem to be the case:https://github.com/aws/aws-cdk/blob/v1.71.0/packages/@aws-cdk/aws-stepfunctions-tasks/lib/athena/start-query-execution.ts#L55-L58
Documentation on Step Functions Athena:
https://docs.aws.amazon.com/step-functions/latest/dg/connect-athena.html
Reproduction Steps
What did you expect to happen?
The call to succeed, running as job.
What actually happened?
Error being thrown due to
validatePatternSupported
.Environment
Other
Sorry, did not actually test this live - just read the code, and it seems obvious.
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: