Skip to content
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

aws-glue-alpha: extra_jars parameter in PySparkEtlJob #33225

Closed
2 tasks
gontzalm opened this issue Jan 29, 2025 · 4 comments · Fixed by #33238
Closed
2 tasks

aws-glue-alpha: extra_jars parameter in PySparkEtlJob #33225

gontzalm opened this issue Jan 29, 2025 · 4 comments · Fixed by #33238
Labels
@aws-cdk/aws-glue Related to AWS Glue feature-request A feature should be added or improved. p2

Comments

@gontzalm
Copy link
Contributor

Describe the feature

Include the extra_jars parameter in the new PySparkEtlJob L2 construct introduced in v2.177.0.

Use Case

We need this parameter in order to use the spark-xml package JAR in our PySpark Glue jobs.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

v2.177.0

Environment details (OS name and version, etc.)

MacOS

@gontzalm gontzalm added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jan 29, 2025
@github-actions github-actions bot added the @aws-cdk/aws-glue Related to AWS Glue label Jan 29, 2025
@pahud pahud self-assigned this Jan 29, 2025
@pahud
Copy link
Contributor

pahud commented Jan 29, 2025

Yes this should be simply expose the L1 to the L2 surface. We welcome the PRs.

@pahud pahud added the p2 label Jan 29, 2025
@pahud pahud removed their assignment Jan 29, 2025
@pahud pahud removed the needs-triage This issue or PR still needs to be triaged. label Jan 29, 2025
@natalie-white-aws
Copy link
Contributor

Yes this should be simply expose the L1 to the L2 surface. We welcome the PRs.

This is not what L2s are for. They are opinionated constructs and exposing every L1 parameter defeats the purpose of creating interfaces as contracts and enforcing best practices.

Copy link

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

1 similar comment
Copy link

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 19, 2025
yashkh-amzn pushed a commit to yashkh-amzn/aws-cdk that referenced this issue Feb 21, 2025
…3238)

### Issue # (if applicable)

Closes aws#33225.

### Reason for this change

PySpark jobs with extra JAR dependencies cannot be defined with the new L2 constructs introduced in [v2.177.0](https://github.com/aws/aws-cdk/releases/tag/v2.177.0).

### Description of changes

Add the `extraJars` parameter in the PySpark job L2 constructs.

### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
@aws-cdk/aws-glue Related to AWS Glue feature-request A feature should be added or improved. p2
Projects
None yet
3 participants