delete_partitions_and_data | R Documentation |
Deletes partitions and the underlying data on S3 from an Athena database table matching an expression.
delete_partitions_and_data(database, table, expression)
database |
The database name. |
table |
The table name. |
expression |
The expression to match. |
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/glue.html#Glue.Client.get_partitions
`dbtools::delete_partitions_and_data("my_database", "my_table", "year = 2020 and month = 5")`
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.