-
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): Missing parameter *parameters* from class Table (construct) #14159
Comments
We are unassigning and marking this issue as p2, which means that we are unable to work on this immediately. If you'd like to contribute this feature, that would also be great :) |
I ran into this limitation yesterday and it took me a while to figure out a work-around. Could you please reconsider adding this? If you come here and wonder how to solve this, you can "hack" around it by using the CDK escape hatch into Cfn types like so (example is in java):
|
This is a possible solution in TS (<CfnTable>table.node.defaultChild).addPropertyOverride(
'TableInput.StorageDescriptor.SerdeInfo.Parameters.serialization\\.format',
1
); |
@mattiamatrix @fs111 thanks for the workaround, it was useful! I needed to add (<CfnTable>table.node.defaultChild).addPropertyOverride(
"TableInput.Parameters.useGlueParquetWriter",
"true"
); |
This issue has received a significant amount of attention so we are automatically upgrading its priority. A member of the community will see the re-prioritization and provide an update on the issue. |
I may be able to implement this feature. |
…table construct (#27643) Add [cfn-glue-table-tableinput-parameters](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-parameters) to Glue Table construct as optional props User can specify additional table parameter when creating Glue Table. Any key/value can be set depending on each user's requirement like table's additional metadata or statistics. Some parameter can be used when AWS services / 3rd party tools read table like `skip.header.line.count`. Closes #14159. --- All Submissions: - [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) Adding new Unconventional Dependencies: - [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies) New Features - [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)? - [x] Did you use yarn integ to deploy the infrastructure and generate the snapshot (i.e. yarn integ without --dry-run)? --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Co-authored-by: Vinayak Kukreja <[email protected]> Co-authored-by: Sumu Pitchayan <[email protected]>
|
…table construct (aws#27643) Add [cfn-glue-table-tableinput-parameters](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-parameters) to Glue Table construct as optional props User can specify additional table parameter when creating Glue Table. Any key/value can be set depending on each user's requirement like table's additional metadata or statistics. Some parameter can be used when AWS services / 3rd party tools read table like `skip.header.line.count`. Closes aws#14159. --- All Submissions: - [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) Adding new Unconventional Dependencies: - [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies) New Features - [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)? - [x] Did you use yarn integ to deploy the infrastructure and generate the snapshot (i.e. yarn integ without --dry-run)? --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Co-authored-by: Vinayak Kukreja <[email protected]> Co-authored-by: Sumu Pitchayan <[email protected]>
Add cfn-glue-table-tableinput-parameters to the Glue Table Construct
Use Case
I want to be able to set parameters at create time of the table to make the table compatible with a crawler I am using.
Proposed Solution
Optional props parameters to TableProps and append them here Table
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: