(@aws-cdk/aws-glue-alpha): Add partition_filtering.enabled support #20825
Labels
@aws-cdk/aws-glue
Related to AWS Glue
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
p2
Describe the feature
Table construct support partition indexes. However, the feature to set
partition_filtering.enabled: true
to enable partition filtering is missing.https://docs.aws.amazon.com/athena/latest/ug/glue-best-practices.html#glue-best-practices-partition-index
It would be nice if Table construct provide the way to set
partition_filtering.enabled
property.Use Case
I always manually add
partition_filtering.enabled: true
after creating the table.It would helpful if I can add the property with Table construct.
Proposed Solution
How about adding a
partitionFilteringEnable
prop to TableProps and setting parameters likeclassification
andhas_encrypted_data
?aws-cdk/packages/@aws-cdk/aws-glue/lib/table.ts
Lines 304 to 307 in 74318c7
Other Information
No response
Acknowledgements
CDK version used
2.28.1
Environment details (OS name and version, etc.)
Windows
The text was updated successfully, but these errors were encountered: