Skip to content
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

Add table maintenance for iceberg table format #24

Open
cccs-jc opened this issue Apr 11, 2022 · 0 comments
Open

Add table maintenance for iceberg table format #24

cccs-jc opened this issue Apr 11, 2022 · 0 comments

Comments

@cccs-jc
Copy link

cccs-jc commented Apr 11, 2022

spark-utils has table maintenance macros for DeltaLake tables.

For example these macros list the tables in a schema and perform vacuum.
https://github.com/dbt-labs/spark-utils/blob/b41aab4e63acb205d11bf80e2a7bbe0dd63a3c6f/macros/maintenance_operation.sql

In the same manner, it would be great if spark-utils also had support for Iceberg table maintenance.

https://iceberg.apache.org/docs/latest/spark-procedures/#metadata-management
Examples of maintenance could be

  • expire_snapshots
  • remove_orphan_files
  • rewrite_data_files
  • rewrite_manifests
@nssalian nssalian pinned this issue Apr 13, 2022
@nssalian nssalian unpinned this issue Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant