Skip to content

Commit

Permalink
Prepare 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
silentsokolov committed Apr 2, 2022
1 parent 9b4c174 commit 84566a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
## [Unreleased]

## [1.0.4] - 2022-04-02

### Add
- Support 1.0.1 dbt
- Support 1.0.4 dbt

### Fix
- New logger
Expand Down Expand Up @@ -95,7 +97,8 @@

Init relaase

[Unreleased]: https://github.com/silentsokolov/dbt-clickhouse/compare/v1.0.1...HEAD
[Unreleased]: https://github.com/silentsokolov/dbt-clickhouse/compare/v1.0.4...HEAD
[1.0.4]: https://github.com/silentsokolov/dbt-clickhouse/compare/v1.0.1...v1.0.4
[1.0.1]: https://github.com/silentsokolov/dbt-clickhouse/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/silentsokolov/dbt-clickhouse/compare/v0.21.1...v1.0.0
[0.21.1]: https://github.com/silentsokolov/dbt-clickhouse/compare/v0.21.0...v0.21.1
Expand Down
4 changes: 2 additions & 2 deletions dbt/adapters/clickhouse/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def get_relation(self, database: str, schema: str, identifier: str):
return super().get_relation(database, schema, identifier)

def parse_clickhouse_columns(
self, relation: Relation, raw_rows: List[agate.Row]
self, relation: ClickhouseRelation, raw_rows: List[agate.Row]
) -> List[ClickhouseColumn]:
rows = [dict(zip(row._keys, row._values)) for row in raw_rows]

Expand All @@ -124,7 +124,7 @@ def parse_clickhouse_columns(
for column in rows
]

def get_columns_in_relation(self, relation: Relation) -> List[ClickhouseColumn]:
def get_columns_in_relation(self, relation: ClickhouseRelation) -> List[ClickhouseColumn]:
rows: List[agate.Row] = super().get_columns_in_relation(relation)

return self.parse_clickhouse_columns(relation, rows)
Expand Down

0 comments on commit 84566a9

Please sign in to comment.