Terraform resource: aws glue partition
Jump to navigation
Jump to search
Contents
Official example[edit]
resource "aws_glue_partition" "example" { database_name = "some-database" table_name = "some-table" values = ["some-value"] }
Grok[edit]
- Example: Without partitions, querying SELECT * FROM my_table WHERE year = 2023 scans all files in s3://my-bucket/my_table/. With partitions (e.g., year=2023/month=03/), it only scans files under that path.
Related[edit]
See also[edit]
Advertising: