Skip to content

Commit 84566a9

Browse files
committed
Prepare 1.0.4
1 parent 9b4c174 commit 84566a9

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Diff for: CHANGELOG.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
## [Unreleased]
22

3+
## [1.0.4] - 2022-04-02
4+
35
### Add
4-
- Support 1.0.1 dbt
6+
- Support 1.0.4 dbt
57

68
### Fix
79
- New logger
@@ -95,7 +97,8 @@
9597

9698
Init relaase
9799

98-
[Unreleased]: https://github.com/silentsokolov/dbt-clickhouse/compare/v1.0.1...HEAD
100+
[Unreleased]: https://github.com/silentsokolov/dbt-clickhouse/compare/v1.0.4...HEAD
101+
[1.0.4]: https://github.com/silentsokolov/dbt-clickhouse/compare/v1.0.1...v1.0.4
99102
[1.0.1]: https://github.com/silentsokolov/dbt-clickhouse/compare/v1.0.0...v1.0.1
100103
[1.0.0]: https://github.com/silentsokolov/dbt-clickhouse/compare/v0.21.1...v1.0.0
101104
[0.21.1]: https://github.com/silentsokolov/dbt-clickhouse/compare/v0.21.0...v0.21.1

Diff for: dbt/adapters/clickhouse/impl.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def get_relation(self, database: str, schema: str, identifier: str):
112112
return super().get_relation(database, schema, identifier)
113113

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

@@ -124,7 +124,7 @@ def parse_clickhouse_columns(
124124
for column in rows
125125
]
126126

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

130130
return self.parse_clickhouse_columns(relation, rows)

0 commit comments

Comments
 (0)