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

feat(glue-alpha): adding partition projection #27485

Closed
wants to merge 6 commits into from
Closed

Conversation

guyernest
Copy link

The partition projection feature in Athena and Glue needed to be supported correctly in the S3Table implementation. The table properties from the partition project were not added to the Parameters section of TableInput.

The new implementation allows the definition of the different types of partition projection, including date, integer and enum,

Closes #27365


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@github-actions github-actions bot added beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK bug This issue is a bug. p2 labels Oct 10, 2023
@aws-cdk-automation aws-cdk-automation requested a review from a team October 10, 2023 19:02
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 8374d0c
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Copy link
Contributor

@scanlonp scanlonp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution! A couple comments.

First, we require that pulls are made from non-main branches on your fork (see https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md#step-4-pull-request for more info). Please move this on to a different branch.

Removing the unused variable names in the tests should fix the immediate errors in the build. Then we can give a meaningful review.

DateIntervalUnit.DAYS,
);

const table = new glue.S3Table(stack, 'Table', {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const table = new glue.S3Table(stack, 'Table', {
new glue.S3Table(stack, 'Table', {

DateIntervalUnit.DAYS,
);

const table = new glue.S3Table(stack, 'Table', {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const table = new glue.S3Table(stack, 'Table', {
new glue.S3Table(stack, 'Table', {

@guyernest guyernest closed this Oct 11, 2023
@guyernest
Copy link
Author

Cleaning and opening a new PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK bug This issue is a bug. p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aws-glue-alpha: S3-Table table properties are added to the wrong parameters section
3 participants