aws / aws/aws-cdk

(stepfunctions-tasks): Regression in AthenaStartQueryExecution

Open
#11,832 4 comments 9 reactions 0 assignees View on GitHub
@aws-cdk/aws-stepfunctions-tasks bug effort/small p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

#11203 introduced a small regression wherein you can no longer use a JSON Path to specify properties for a `StartQueryExecution` AWS service call.

Specifically, `outputLocation` was changed from a string to this:

https://github.com/aws/aws-cdk/blob/f26a592e609674d528990aad14fb8884112ad64d/packages/%40aws-cdk/aws-stepfunctions-tasks/lib/athena/start-query-execution.ts#L239

Which means that this example in the README no longer compiles - and the functionality it represents does not appear to be possible any longer.

https://github.com/aws/aws-cdk/blob/f26a592e609674d528990aad14fb8884112ad64d/packages/%40aws-cdk/aws-stepfunctions-tasks/README.md#L235

Contributor guide

Open the contributing guide

Research direction

Start in packages/@aws-cdk/aws-stepfunctions-tasks/lib/athena/start-query-execution.ts around the outputLocation definition, then compare it with the JSONPath example in packages/@aws-cdk/aws-stepfunctions-tasks/README.md. Confirm how the regression prevents that example from compiling and restore support so the documented StartQueryExecution JSONPath usage compiles again.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.