-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(stepfunctions-tasks): add ExecutionParameters
to AthenaStartQueryExecution
#27287
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.
A comment requesting an exemption should contain the text Exemption Request
. Additionally, if clarification is needed add Clarification Request
to a comment.
ExecutionParameters
to AthenaStartQueryExecution
ExecutionParameters
to AthenaStartQueryExecution
a970f7c
to
0d9d2e9
Compare
Need to manage to regenerate the integration test files and this should be good to go... |
0d9d2e9
to
23b3667
Compare
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
9afb1f3
to
85633c3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution 💪
Left you some notes on a couple of minor fixes and a missing validation.
packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/start-query-execution.ts
Show resolved
Hide resolved
packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/start-query-execution.ts
Outdated
Show resolved
Hide resolved
packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/start-query-execution.ts
Show resolved
Hide resolved
85633c3
to
f9aa98f
Compare
@lpizzinidev Thank you for the review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for applying the changes!
A couple of adjustments are needed on validation and some missing unit tests.
packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/start-query-execution.ts
Outdated
Show resolved
Hide resolved
packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/start-query-execution.ts
Outdated
Show resolved
Hide resolved
packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/start-query-execution.ts
Outdated
Show resolved
Hide resolved
packages/aws-cdk-lib/aws-stepfunctions-tasks/test/athena/start-query-execution.test.ts
Outdated
Show resolved
Hide resolved
fc9f3b1
to
3cc79b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes.
A couple of unit tests are needed to complete validation coverage.
@@ -224,4 +224,138 @@ describe('Start Query Execution', () => { | |||
}), | |||
}); | |||
}); | |||
|
|||
test('execution parameters succeeds', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing test cases:
executionParameters: []
executionParameters: ['']
ExecutionParameters
to AthenaStartQueryExecution
ExecutionParameters
to AthenaStartQueryExecution
Add missing `ExecutionParameters` option to `AthenaStartQueryExecution` step.
…query-execution.ts Co-authored-by: Luca Pizzini <[email protected]> Update packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/start-query-execution.ts Co-authored-by: Luca Pizzini <[email protected]> Update packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/start-query-execution.ts Co-authored-by: Luca Pizzini <[email protected]>
packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/start-query-execution.ts
Outdated
Show resolved
Hide resolved
…query-execution.ts Co-authored-by: Luca Pizzini <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. Thank you for your contribution.
And also, thank you @lpizzinidev for reviewing the PR.
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Pull request has been modified.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Add missing
ExecutionParameters
option toAthenaStartQueryExecution
step.Closes #27286.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license