Skip to content

Commit

Permalink
Merge pull request starburstdata#11 from starburstdata/przemek/bump-v…
Browse files Browse the repository at this point in the history
…ersion-0.21.0

Bump version to 0.21.0
  • Loading branch information
hovaesco authored Oct 7, 2021
2 parents 56d24e9 + 47f24c8 commit 26b0bd0
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .bumpversion-dbt.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.20.2
current_version = 0.21.0
parse = (?P<major>\d+)
\.(?P<minor>\d+)
\.(?P<patch>\d+)
Expand Down
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.20.2
current_version = 0.21.0
parse = (?P<major>\d+)
\.(?P<minor>\d+)
\.(?P<patch>\d+)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This repository represents a fork of the [dbt-presto](https://github.com/dbt-lab

### Compatibility

This dbt plugin has been tested against `trino` version `362`.
This dbt plugin has been tested against `trino` version `363`.

### Installation

Expand Down
2 changes: 1 addition & 1 deletion dbt/adapters/trino/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '0.20.2'
version = '0.21.0'
7 changes: 1 addition & 6 deletions dbt/include/trino/macros/adapters.sql
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
{%- endmacro %}


{# On Trino, 'cascade' isn't supported so we have to manually cascade. #}
{# On Trino, 'cascade' is not supported so we have to manually cascade. #}
{% macro trino__drop_schema(relation) -%}
{% for row in list_relations_without_caching(relation) %}
{% set rel_db = row[0] %}
Expand All @@ -151,11 +151,6 @@
{% endmacro %}


{% macro trino__load_csv_rows(model, agate_table) %}
{{ return(basic_load_csv_rows(model, 1000, agate_table)) }}
{% endmacro %}


{% macro trino__list_schemas(database) -%}
{% call statement('list_schemas', fetch_result=True, auto_begin=False) %}
select distinct schema_name
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
trino:
ports:
- "8080:8080"
image: "trinodb/trino:362"
image: "trinodb/trino:363"
volumes:
- ./docker/trino/etc:/usr/lib/trino/etc:ro
- ./docker/trino/catalog:/etc/trino/catalog
Expand Down
2 changes: 1 addition & 1 deletion docker/dbt/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM fishtownanalytics/dbt:0.20.2
FROM fishtownanalytics/dbt:0.21.0
USER root

ENV DBT_DIR /opt/dbt-trino
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dbt-core==0.20.2
dbt-core==0.21.0
trino==0.306.0
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def _dbt_trino_version():
package_version = _dbt_trino_version()
description = """The trino adapter plugin for dbt (data build tool)"""

dbt_version = '0.20.2'
dbt_version = '0.21.0'
# the package version should be the dbt version, with maybe some things on the
# ends of it. (0.19.1 vs 0.19.1a1, 0.19.1.1, ...)
if not package_version.startswith(dbt_version):
Expand All @@ -50,7 +50,7 @@ def _dbt_trino_version():

author='findinpath',
author_email='findinpath@gmail.com',
url='https://github.com/findinpath/dbt-trino',
url='https://github.com/starburstdata/dbt-trino',

packages=find_namespace_packages(include=['dbt', 'dbt.*']),
package_data={
Expand Down

0 comments on commit 26b0bd0

Please sign in to comment.