-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
(glue-alpha): Improve Glue version synth time checks #26620
Labels
@aws-cdk/aws-glue
Related to AWS Glue
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
p1
Comments
dokeita
added
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
labels
Aug 3, 2023
related to #26599 Making it a p1 and any PR is welcome and appreciated. |
pahud
added
p1
effort/small
Small work item – less than a day of effort
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Aug 3, 2023
peterwoodworth
added
the
good first issue
Related to contributions. See CONTRIBUTING.md
label
Aug 3, 2023
and related to #26616 |
peterwoodworth
changed the title
(glue-alpha): Enable GlueVersion 3.0 in PythonShell jobs
(glue-alpha): Improve Glue version synth time checks
Aug 3, 2023
Consolidating all these issues into this one |
mergify bot
pushed a commit
that referenced
this issue
Aug 7, 2023
…26650) Fixes some issues on Glue Job synth time validation: - `maxCapacity` can be specified for PythonShell jobs with Glue Version 2.0+ and should be either 0.0625 or 1 (defaults to 0.0625) - Validation was not working when using `GlueVersion.of()` and `JobType.of()` - PythonShell jobs supports GlueVersion 3.0 Closes #26620. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
@aws-cdk/aws-glue
Related to AWS Glue
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
p1
Describe the feature
we can create PythonShell job with GlueVersion 3.0 using AWS Glue Studio.
I would like to be able to create it in glue-alpha.Job as well.
Use Case
When we create a PythonShell job in AWS Glue Studio, the GlueVersion is set to 3.0.
Therefore, it is better to be able to create PythonShell jobs with GlueVersion 3.0 using CDK.
Proposed Solution
We just need to fix this if statement.
https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk/aws-glue-alpha/lib/job-executable.ts#L357
Other Information
No response
Acknowledgements
CDK version used
2.89.0
Environment details (OS name and version, etc.)
Ubuntu 20.04 on Windows10 ( WSL2 )
The text was updated successfully, but these errors were encountered: