Skip to content

Releases: dbt-labs/spark-utils

spark-utils v0.3.0

17 Dec 13:18
708e5ed
Compare
Choose a tag to compare

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)

Contributors

spark-utils v0.2.4

16 Dec 13:05
5c00591
Compare
Choose a tag to compare

🚨 This is a compatibility (patch) release in preparation for dbt-core v1.0.0 (🎉)

spark-utils v0.2.3

19 Sep 10:55
0eadb63
Compare
Choose a tag to compare

This is a patch release:

  • Add dispatching for assert_not_null macro, so users can optionally override it (#17, thanks @chaimt!)
  • Update dispatch instructions in README

spark-utils v0.2.2

07 Jul 01:44
f391be1
Compare
Choose a tag to compare

This is a patch release, tracking updates in dbt v0.20.0 and dbt-utils v0.7.0. Nothing in this release represents a breaking change.

Under-the-hood changes from #15:

  • More explicit type casting in dateadd and datediff to get along with Spark3
  • Add spark__concat, to account for changes in dbt-utils v0.7.0 (backwards compatible for older versions, too)
  • Use latest adapter.dispatch syntax in integration tests
  • Replace references to fishtown-analytics with dbt-labs

spark-utils 0.2.1

04 May 14:19
6c45fed
Compare
Choose a tag to compare

Fix spark_utils.assert_not_null (used by spark__dateadd and spark__datediff) to raise an error only if the date is implicitly null (a string representing a non-real date), rather than explicitly null.

Thanks @foundinblank for the fix!

spark-utils 0.2.0

15 Apr 16:33
c380649
Compare
Choose a tag to compare

More Apache Spark "shims" for dbt_utils.

In particular, there is now full compatibility for all user-facing macros. Notably, it adds get_relations_by_pattern + get_relations_by_prefix. Note that the Spark implementations do not support schema name patterns, only relation name patterns with supported wildcards.

I don't believe there are any breaking changes relative to 0.1.0, but I'm bumping the minor version because:

  • I significantly reworked spark__split_part to support special characters
  • This package is still in early development + testing

spark-utils 0.1.0

01 Oct 19:09
f252de4
Compare
Choose a tag to compare

Initial release to provide Spark "shims" for other popular dbt packages. In particular, this release:

  • implements a subset of dbt_utils macros
  • enables the snowplow sessionization package to run on Delta Lake (Databricks)

In the future, this package may also include some "nice-to-have" macros of particular interest to dbt-spark users.