Skip to content

Releases: dbt-labs/dbt-spark

dbt-spark 1.3.0b1

29 Jul 21:52
7f6cffe
Compare
Choose a tag to compare
dbt-spark 1.3.0b1 Pre-release
Pre-release

dbt-spark 1.3.0b1 (July 29, 2022)

Features

  • Support python model through notebook, currently supported materializations are table and incremental. (#377)

Fixes

  • Pin pyodbc to version 4.0.32 to prevent overwriting libodbc.so and libltdl.so on Linux (#397, #398)

Under the hood

  • Support core incremental refactor (#394)

Contributors

dbt-spark 1.2.0

26 Jul 16:50
e529fcf
Compare
Choose a tag to compare

dbt-spark 1.2.0 (July 26, 2022)

Features

  • Add grants to materializations (#366, #381)

Fixes

  • Pin pyodbc to version 4.0.32 to prevent overwriting libodbc.so and libltdl.so on Linux (#397, #398)
  • Incremental materialization updated to not drop table first if full refresh for delta lake format, as it already runs create or replace table (#286, #287)
  • Apache Spark version upgraded to 3.1.1 (#348, #349)
  • adapter.get_columns_in_relation (method) and get_columns_in_relation (macro) now return identical responses. The previous behavior of get_columns_in_relation (macro) is now represented by a new macro, get_columns_in_relation_raw (#354, #355)

Under the hood

  • Update SparkColumn.numeric_type to return decimal instead of numeric, since SparkSQL exclusively supports the former (#380)
  • Initialize lift + shift for cross-db macros (#359)
  • Add invocation env to user agent string (#367)
  • Use dispatch pattern for get_columns_in_relation_raw macro (#365)

Contributors

dbt-spark 1.2.0rc1

12 Jul 18:45
3aa05af
Compare
Choose a tag to compare
dbt-spark 1.2.0rc1 Pre-release
Pre-release

dbt-spark 1.2.0rc1 (July 12, 2022)

Fixes

  • Incremental materialization updated to not drop table first if full refresh for delta lake format, as it already runs create or replace table (#286, #287)
  • Apache Spark version upgraded to 3.1.1 (#348, #349)

Features

  • Add grants to materializations (#366, #381)

Under the hood

  • Update SparkColumn.numeric_type to return decimal instead of numeric, since SparkSQL exclusively supports the former (#380)

Contributors

dbt-spark 1.2.0b1

24 Jun 19:51
120ec42
Compare
Choose a tag to compare
dbt-spark 1.2.0b1 Pre-release
Pre-release

dbt-spark 1.2.0b1 (June 24, 2022)

Fixes

  • adapter.get_columns_in_relation (method) and get_columns_in_relation (macro) now return identical responses. The previous behavior of get_columns_in_relation (macro) is now represented by a new macro, get_columns_in_relation_raw (#354, #355)

Under the hood

  • Add DBT_INVOCATION_ENV environment variable to ODBC user agent string (#366)
  • Initialize lift + shift for cross-db macros (#359)
  • Add invocation env to user agent string (#367)
  • Use dispatch pattern for get_columns_in_relation_raw macro (#365)

Contributors

dbt-spark 1.1.0

28 Apr 20:34
ac50f23
Compare
Choose a tag to compare

dbt-spark 1.1.0 (April 28, 2022)

Features

  • Add session connection method (#272, #279)
  • Adds new integration test to check against new ability to allow unique_key to be a list. (#282), #291)

Fixes

  • Closes the connection properly (#280, #285)

Under the hood

  • get_response -> AdapterResponse (#265)
  • Adding stale Actions workflow (#275)
  • Update plugin author name (fishtown-analyticsdbt-labs) in ODBC user agent (#288)
  • Configure insert_overwrite models to use parquet (#301)
  • Use dbt.tests.adapter.basic in test suite (#298, #299)
  • Make internal macros use macro dispatch to be overridable in child adapters (#319, #320)
  • Override adapter method 'run_sql_for_tests' (#323, #324)
  • when a table or view doesn't exist, 'adapter.get_columns_in_relation' will return empty list instead of fail ([#328]#328)

Contributors

dbt-spark 1.0.1

19 Apr 19:53
94c342a
Compare
Choose a tag to compare

dbt-spark 1.0.1 (April 19, 2022)

Fixes

  • Closes the connection properly (#280, #285)
  • Make internal macros use macro dispatch to be overridable in child adapters (#319, #320)

Under the hood

  • Configure insert_overwrite models to use parquet (#301)

Contributors

dbt-spark 1.1.0rc1

13 Apr 20:34
6862c7f
Compare
Choose a tag to compare
dbt-spark 1.1.0rc1 Pre-release
Pre-release

dbt-spark 1.1.0rc1 (April 13 2022)

Features

  • Add session connection method (#272, #279)

Under the hood

  • Use dbt.tests.adapter.basic in test suite (#298, #299)
  • Make internal macros use macro dispatch to be overridable in child adapters (#319, #320)
  • Override adapter method 'run_sql_for_tests' (#323, #324)
  • when a table or view doesn't exist, 'adapter.get_columns_in_relation' will return empty list instead of fail ([#328]#328)

Contributors

dbt-spark 1.0.1rc1

06 Apr 22:50
9538904
Compare
Choose a tag to compare
dbt-spark 1.0.1rc1 Pre-release
Pre-release

dbt-spark 1.0.1rc1 (April 6, 2022)

Fixes

  • Closes the connection properly (#280, #285)
  • Make internal macros use macro dispatch to be overridable in child adapters (#319, #320)

Under the hood

  • Configure insert_overwrite models to use parquet (#301)

Contributors

dbt-spark 1.1.0b1

23 Mar 22:19
e9d5bfb
Compare
Choose a tag to compare
dbt-spark 1.1.0b1 Pre-release
Pre-release

dbt-spark 1.1.0b1 (March 23, 2022)

Features

  • Adds new integration test to check against new ability to allow unique_key to be a list. (#282), #291)

Fixes

  • Closes the connection properly (#280, #285)

Under the hood

  • get_response -> AdapterResponse (#265)
  • Adding stale Actions workflow (#275)
  • Update plugin author name (fishtown-analyticsdbt-labs) in ODBC user agent (#288)
  • Configure insert_overwrite models to use parquet (#301)

Contributors

dbt-spark v1.0.0

03 Dec 21:44
7c66a2d
Compare
Choose a tag to compare

Tracking dbt-core v1.0.0.

$ pip install dbt-spark==1.0.0
# or
$ pip install "dbt-spark[ODBC]==1.0.0"
# or
$ pip install "dbt-spark[PyHive]==1.0.0"