-
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): add ExternalTable for use with connections #24753
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.
✅ Updated pull request passes all PRLinter validations. Dissmissing previous PRLinter review.
This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state. |
2 similar comments
This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state. |
This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state. |
This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state. |
Clarification Request: When performing |
Ignore the request lol, I got it to work |
@TheRealAmazonKendra Is it possible to get this PR reviewed please? Thank you. |
@corymhall @TheRealAmazonKendra Can this get reviewed? Thank you. |
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 this, this will be an important addition to the alpha module.
I'm not quite sure about the design however. The special cases inside the grant*()
methods make me think we should have separate subclasses for this. I'm even leaning towards S3Table
being the special case of the regular table that just takes a location string.
What do you think?
@Rizxcviii Very close now! There's still a couple of unexpected changes to the deprecated Table I'd like reverted:
You can check that list yourself by running |
Pull request has been modified.
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.
See other comments.
Pull request has been modified.
This is now fixed. I ran |
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.
@mrgrain There was an error regarding permissions to update the branch, and it recommended that I update the branch locally, I didn't know that it would remove your approval, my bad :'( |
No worries! Sometimes there are conflicts and then it's unavoidable. |
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). |
Changing the table structure to include an initial `TableBase` abstract class, allowing different tables of different data sources to be created from. Initially there are two, `S3Table` and `ExternalTable`. - `S3Table`: The current table structure that has been used throughout the previous versions of the CDK - `ExternalTable`: The new glue table that will be used to store metadata about external data sources. This subclass will contain an `externalDataLocation` property to explicitly specify the `Location` property of the underlying `CfnTable` L1 construct - `Table`: This is now `@deprecated` to shift the usage towards `S3Table` Closes #24741. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Changing the table structure to include an initial
TableBase
abstract class, allowing different tables of different data sources to be created from. Initially there are two,S3Table
andExternalTable
.S3Table
: The current table structure that has been used throughout the previous versions of the CDKExternalTable
: The new glue table that will be used to store metadata about external data sources. This subclass will contain anexternalDataLocation
property to explicitly specify theLocation
property of the underlyingCfnTable
L1 constructTable
: This is now@deprecated
to shift the usage towardsS3Table
Closes #24741.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license