-
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
feat(glue-alpha): adding partition projection #27485
Conversation
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
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.
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', { |
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.
const table = new glue.S3Table(stack, 'Table', { | |
new glue.S3Table(stack, 'Table', { |
DateIntervalUnit.DAYS, | ||
); | ||
|
||
const table = new glue.S3Table(stack, 'Table', { |
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.
const table = new glue.S3Table(stack, 'Table', { | |
new glue.S3Table(stack, 'Table', { |
Cleaning and opening a new PR |
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