Skip to content

Commit

Permalink
Upgrade to 0.3.0 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtcohen6 authored Dec 17, 2021
1 parent b41aab4 commit 708e5ed
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
# spark-utils v0.3.0
This release supports any version (minor and patch) of v1, which means far less need for compatibility releases in the future.

### Features
- Add macros for common maintenance operations ([#18](https://github.com/dbt-labs/spark-utils/pull/18))

### Contributors
- [@JCZuurmond](https://github.com/JCZuurmond) ([#18](https://github.com/dbt-labs/dbt-external-tables/pull/18))
- [@NielsZeilemaker](https://github.com/NielsZeilemaker) ([#18](https://github.com/dbt-labs/dbt-external-tables/pull/18))

# spark-utils v0.2.4
🚨 This is a compatibility release in preparation for `dbt-core` v1.0.0 (🎉)
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@ The spark-utils package may be able to provide compatibility for your package, e

----

## Useful macros: maintenance

_Caveat: These are not tested in CI, or guaranteed to work on all platforms._

Each of these macros accepts a regex pattern, finds tables with names matching the pattern, and will loop over those tables to perform a maintenance operation:

- `spark_optimize_delta_tables`: Runs `optimize` for all matched Delta tables
- `spark_vacuum_delta_tables`: Runs `vacuum` for all matched Delta tables
- `spark_analyze_tables`: Compute statistics for all matched tables

----

### Contributing

We welcome contributions to this repo! To contribute a new feature or a fix,
Expand Down
6 changes: 3 additions & 3 deletions dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'spark_utils'
version: '0.2.4'
version: '0.3.0'
config-version: 2

require-dbt-version: [">=0.18.0", "<1.1.0"]
require-dbt-version: [">=1.0.0", "<2.0.0"]
macro-paths: ["macros"]

0 comments on commit 708e5ed

Please sign in to comment.